summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-11-03Merge "add bind9 options for designate"Bin Yang4-8/+12
2017-11-01add bind9 options for designateGuo Ruijing4-8/+12
Change-Id: I3dbc4ea6a49e01850918cbe8662fed78269da5af Issue-Id: MULTICLOUD-95 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-10-31Merge "Update tests to make use of abstracted test_base"Bin Yang8-677/+295
2017-10-31Workaround for keystone url without versionBin Yang1-2/+4
Append v3 to end of keystone url if version is missing Change-Id: Ic0d2ad254b4cf542b5040fed189ad85fe5176e84 Issue-Id: MULTICLOUD-123 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-27Workaround APPC dependency on compute v2 APIBin Yang1-0/+6
Change-Id: Ia33e6b2b02e8d7d74b781527dd5e0376ce27aa38 Issue-Id: MULTICLOUD-106 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-26Update tests to make use of abstracted test_baseShashank Kumar Shankar8-677/+295
This patch updates various tests to make use of the abstracted test_base. Issue-Id: MULTICLOUD-83 Change-Id: I85573f1086e0ce19db48ae70827d27f3b9a1a4ca Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-10-26Set the default auth url to be v2.0Bin Yang4-10/+34
Change-Id: I34afca5b5388299d5fe6a0962fb4e850275dfefa Issue-Id: MULTICLOUD-119 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-25Add health check by API of GET keystone urlBin Yang2-0/+4
make it easy for DCAE to check MC health state Change-Id: I99766e309f8ddff11a0fa82ea648ec1b8a7ee75a Issue-Id: MULTICLOUD-106 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-25Update identity conversion for API v2.0Bin Yang3-4/+34
support parameter tenantId Change-Id: I11d94db0c6fc4d7ea40d66110bb90d2976cd6f3e Issue-Id: MULTICLOUD-119 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-24Fix bug of keystone v2.0 APIBin Yang2-4/+11
Change-Id: I3683a867efc5c836b1d842dcdcd8240f4829f9f3 Issue-Id: MULTICLOUD-118 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-23Add DNSaaS delegateBin Yang2-0/+6
for ocata and windriver plugins Change-Id: I3f06c85a98347153b7a8acb6347805025359cfb0 Issue-Id: MULTICLOUD-106 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-23Merge "Add Unit Test Abstract Base in test_base"Bin Yang2-160/+227
2017-10-23Add DNSaaS delegate serviceBin Yang5-6/+253
Change-Id: Ifec8958a07a30b58602e242c1769ba4ece5677cd Issue-Id: MULTICLOUD-106 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-19Add a UT thresholdBin Yang4-8/+10
This change helps to monitor and detect changes that reduce the porcentage of the Unit test coverage. Change-Id: I289f4c2f9d13b5531b8d7580f62a3a7ba5f3ee5f Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-18Add Unit Test Abstract Base in test_baseShashank Kumar Shankar2-160/+227
This patch adds an Abstract Test class so that all common type of test functions are in this class and they can be resused without having to be repeated in each test case. This patch also updates test_image to make use of the abstracted test_base Issue-Id: MULTICLOUD-83 Change-Id: If11ce71627f018a614e04e90d3353a4fc2fb3cfe Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-10-16Fix error of registrationBin Yang4-217/+360
Change-Id: Ia8cf83a84dc8484e4e02d6372ff4646049b9234b Issue-Id: MULTICLOUD-111 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-13Fix openstack plugin identity errorBin Yang1-4/+4
Change-Id: I358d32cdbb12698aa4e6fa3517c2465888bf68de Issue-Id: MULTICLOUD-115 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-11Fix registration errorBin Yang3-15/+40
Change-Id: I6d4cd20fbd913eb21a78247434e79d4d50276dda Issue-Id: MULTICLOUD-111 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-11Add staging docker images for OpenStack pluginsBin Yang9-7/+48
Add staging docker images and enable logger of submodules Change-Id: Ib64f30ab50002dca67c6835866ffc46fc83d7934 Issue-Id: MULTICLOUD-110 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-10Fix bug of OpenStack ProxyBin Yang1-5/+22
Add query back to SBI, add header to claim formats Change-Id: Ie507c98e7e5c1aa5c97cf451a945621192367c99 Issue-Id: MULTICLOUD-109 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-09Fix bug in identity v2.0 proxyBin Yang10-51/+131
Change-Id: I9e25a1b6438f602e38c13cc1282daa9b10118388 Issue-Id: MULTICLOUD-109 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-01Add UT for ocata and WindRiver pluginBin Yang4-0/+388
Add registration test Change-Id: I262233bbfd4d963981ab2e93d29ee31fbc3f99ba Issue-Id: MULTICLOUD-83 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-30Add UT for ocata and windriverBin Yang13-0/+3030
Change-Id: I6b921443cdd1181e1953962afeb11a706329c5e9 Issue-Id: MULTICLOUD-83 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-29Merge "Add UTs for requests/hosts and limits"Bin Yang2-0/+200
2017-09-29Merge "Adding UT for vport.py"Bin Yang1-0/+190
2017-09-28Add UTs for requests/hosts and limitsShashank Kumar Shankar2-0/+200
This patch adds unit tests for requests/hosts and requests/limits Change-Id: I1d8d3009fd2ee70770f3e20cb4aa5a0adb38dbfa Issue-Id: MULTICLOUD-83 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-09-28Adding UT for vport.pyKiran1-0/+190
This change contains unit tests for vport.py using the latest test_base wrapper. Removed unused imports Used status constant instead of numbers for status_code Change-Id: Ic7f5b793c2432a819fde0cfd1576046f08b8013d Signed-off-by: Kiran <kiran.k.kamineni@intel.com> Issue-Id: MULTICLOUD-83
2017-09-28Merge "Create UTs for Tenants APIView"Bin Yang3-24/+99
2017-09-28Create UTs for Tenants APIViewVictor Morales3-24/+99
The Tenants APIView class didn't have Unit Tests that validates its functionality. This change creates UTs for two specific scenarios * Retrieving tenants/projects information * Retrieving tenants/projects information thru a querystring Change-Id: Ibeaf8af991ae3c3d926867f04285449f41f050c9 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83
2017-09-28Create UTs for Registry APIViewVictor Morales6-392/+388
This change creates unit tests for the Registry APIView class and refactors its code to simplify it and reuse some functionality Change-Id: I33a01e750e80d4acbae12bbd873484bbb423f1cf Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83
2017-09-28Merge "Refactor flavor UTs"Bin Yang2-275/+228
2017-09-28Merge "Update UTs for requests/image and network"Bin Yang2-183/+81
2017-09-28Merge "Add UTs for requests/subnets"Bin Yang1-0/+188
2017-09-27Update UTs for requests/image and networkShashank Kumar Shankar2-183/+81
This patch updates unit tests for requests/image and network to make use of new get_mock_session method. Change-Id: Ic207094b8c2bd7fae09cf718bca41d64b17f1b13 Issue-Id: MULTICLOUD-83 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-09-27Add UTs for requests/subnetsShashank Kumar Shankar1-0/+188
This patch adds unit tests for requests/subnets. Change-Id: Icc363b190867504af3125d8a8b5ca090c3691d6f Issue-Id: MULTICLOUD-83 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-09-27Adding Unit Tests for requests/volumesKiran1-0/+188
Updated with test_base usage Incorporated review feedback Updated with consolidated url variable used in all calls Change-Id: Id0898ac4bda7e1ac8c21e017234a4f5856d1c61e Signed-off-by: Kiran <kiran.k.kamineni@intel.com> Issue-Id: MULTICLOUD-83
2017-09-27Refactor flavor UTsVictor Morales2-275/+228
The creation of base class helps to reduce code and improve existing Unit Tests. This changes uses the latest improvements. Change-Id: Ib0fa298c72df73761320ab415c22d6eabbc8caea Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83
2017-09-27Merge "build docker from local maven for function test"Bin Yang2-6/+33
2017-09-27build docker from local maven for function testGuo Ruijing2-6/+33
Change-Id: I4bbb437e3563833edef7ce020b158e8332d545e3 Issue-Id: MULTICLOUD-95 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-26Improve get_mock_session methodVictor Morales3-80/+49
The previous implementation of get_mock_session method didn't accept other responses for different actions. This change makes it more flexible Change-Id: I68ceda07b1011cce4b81e22cf429393dfcbf73b1 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83
2017-09-26Merge "Create UTs for Server APIView"Bin Yang3-45/+404
2017-09-25Create UTs for Server APIViewVictor Morales3-45/+404
It was created the Unit tests that covers some of the functions exposed by the API of Servers. Change-Id: I60f9045dab133c59c62755d8564bdad2b6a02f26 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83
2017-09-25Merge "Add UTs for requests/images"Bin Yang1-0/+271
2017-09-25Add UTs for requests/imagesShashank Kumar Shankar1-0/+271
This patch adds unit tests for requests/images. Change-Id: I214314ba8b9e78374e140803a25e5d64d78fd548 Issue-Id: MULTICLOUD-83 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-09-25Merge "Create UTs for newton.pubs module"Bin Yang5-43/+251
2017-09-25Add UTs for requests/flavorsShashank Kumar Shankar4-557/+858
This patch adds unit tests for requests/flavors and moves the common mock info to a seperate file to avoid multiple copies in each test file. Change-Id: Iacd37742d5c32dc60cbeece00e5c30b983f99881 Issue-Id: MULTICLOUD-83 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-09-23Merge "Add backward support for identity v2.0 API"zhang ab9-17/+113
2017-09-23Add backward support for identity v2.0 APIBin Yang9-17/+113
Add NBI v2.0/tokens and convert to SBI v3/auth/tokens Change-Id: I5734e18f78844f15847b3a0a2d906b70e75fd260 Issue-Id: INT-225 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-21Create UTs for newton.pubs moduleVictor Morales5-43/+251
This commit creates Unit Tests for covering function defined in newton/pubs folder. It also makes a refactoring of the functions cleaning unused code. Change-Id: I5931871a1bbb3732b7c68cc8a245899283b6fd99 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83
2017-09-21Add UTs for requests/networksShashank Kumar Shankar2-1/+796
This patch adds unit tests for requests/networks. Change-Id: Ia756693796d752ab1716aef177560c69220e7904 Issue-Id: MULTICLOUD-83 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>