Victor Morales [Tue, 14 Nov 2017 20:24:57 +0000 (12:24 -0800)]
Separate test modules from requirements.txt
The modules required for unit tests can be included in another file,
this helps during the packaging process to avoid the addition of
non-required dependencies.
Change-Id: I3d1dc0c265a26e22be66d261f2de2ae939a1d6f8
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-Id: MULTICLOUD-83
Bin Yang [Fri, 3 Nov 2017 09:51:08 +0000 (09:51 +0000)]
Merge "add bind9 options for designate"
Guo Ruijing [Tue, 31 Oct 2017 14:59:23 +0000 (07:59 -0700)]
add bind9 options for designate
Change-Id: I3dbc4ea6a49e01850918cbe8662fed78269da5af
Issue-Id: MULTICLOUD-95
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Bin Yang [Tue, 31 Oct 2017 09:23:21 +0000 (09:23 +0000)]
Merge "Update tests to make use of abstracted test_base"
Bin Yang [Tue, 31 Oct 2017 05:14:50 +0000 (13:14 +0800)]
Workaround for keystone url without version
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>
Bin Yang [Fri, 27 Oct 2017 13:38:47 +0000 (21:38 +0800)]
Workaround APPC dependency on compute v2 API
Change-Id: Ia33e6b2b02e8d7d74b781527dd5e0376ce27aa38
Issue-Id: MULTICLOUD-106
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Shashank Kumar Shankar [Tue, 24 Oct 2017 23:01:39 +0000 (16:01 -0700)]
Update tests to make use of abstracted test_base
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>
Bin Yang [Thu, 26 Oct 2017 10:14:52 +0000 (18:14 +0800)]
Set the default auth url to be v2.0
Change-Id: I34afca5b5388299d5fe6a0962fb4e850275dfefa
Issue-Id: MULTICLOUD-119
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Wed, 25 Oct 2017 07:37:11 +0000 (15:37 +0800)]
Add health check by API of GET keystone url
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>
Bin Yang [Wed, 25 Oct 2017 07:10:15 +0000 (15:10 +0800)]
Update identity conversion for API v2.0
support parameter tenantId
Change-Id: I11d94db0c6fc4d7ea40d66110bb90d2976cd6f3e
Issue-Id: MULTICLOUD-119
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Mon, 23 Oct 2017 17:14:07 +0000 (01:14 +0800)]
Fix bug of keystone v2.0 API
Change-Id: I3683a867efc5c836b1d842dcdcd8240f4829f9f3
Issue-Id: MULTICLOUD-118
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Mon, 23 Oct 2017 11:34:54 +0000 (19:34 +0800)]
Add DNSaaS delegate
for ocata and windriver plugins
Change-Id: I3f06c85a98347153b7a8acb6347805025359cfb0
Issue-Id: MULTICLOUD-106
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Mon, 23 Oct 2017 11:23:25 +0000 (11:23 +0000)]
Merge "Add Unit Test Abstract Base in test_base"
Bin Yang [Mon, 23 Oct 2017 09:33:20 +0000 (17:33 +0800)]
Add DNSaaS delegate service
Change-Id: Ifec8958a07a30b58602e242c1769ba4ece5677cd
Issue-Id: MULTICLOUD-106
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Thu, 19 Oct 2017 01:52:51 +0000 (09:52 +0800)]
Add a UT threshold
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>
Shashank Kumar Shankar [Mon, 16 Oct 2017 22:59:22 +0000 (15:59 -0700)]
Add Unit Test Abstract Base in test_base
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>
Bin Yang [Mon, 16 Oct 2017 10:00:09 +0000 (18:00 +0800)]
Fix error of registration
Change-Id: Ia8cf83a84dc8484e4e02d6372ff4646049b9234b
Issue-Id: MULTICLOUD-111
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Fri, 13 Oct 2017 06:42:56 +0000 (14:42 +0800)]
Fix openstack plugin identity error
Change-Id: I358d32cdbb12698aa4e6fa3517c2465888bf68de
Issue-Id: MULTICLOUD-115
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Wed, 11 Oct 2017 09:47:54 +0000 (17:47 +0800)]
Fix registration error
Change-Id: I6d4cd20fbd913eb21a78247434e79d4d50276dda
Issue-Id: MULTICLOUD-111
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Wed, 11 Oct 2017 08:19:45 +0000 (16:19 +0800)]
Add staging docker images for OpenStack plugins
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>
Bin Yang [Tue, 10 Oct 2017 10:26:18 +0000 (18:26 +0800)]
Fix bug of OpenStack Proxy
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>
Bin Yang [Mon, 9 Oct 2017 09:42:08 +0000 (17:42 +0800)]
Fix bug in identity v2.0 proxy
Change-Id: I9e25a1b6438f602e38c13cc1282daa9b10118388
Issue-Id: MULTICLOUD-109
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Sun, 1 Oct 2017 06:02:31 +0000 (14:02 +0800)]
Add UT for ocata and WindRiver plugin
Add registration test
Change-Id: I262233bbfd4d963981ab2e93d29ee31fbc3f99ba
Issue-Id: MULTICLOUD-83
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Fri, 29 Sep 2017 16:02:32 +0000 (00:02 +0800)]
Add UT for ocata and windriver
Change-Id: I6b921443cdd1181e1953962afeb11a706329c5e9
Issue-Id: MULTICLOUD-83
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Fri, 29 Sep 2017 09:08:24 +0000 (09:08 +0000)]
Merge "Add UTs for requests/hosts and limits"
Bin Yang [Fri, 29 Sep 2017 09:08:00 +0000 (09:08 +0000)]
Merge "Adding UT for vport.py"
Shashank Kumar Shankar [Thu, 28 Sep 2017 23:00:33 +0000 (16:00 -0700)]
Add UTs for requests/hosts and limits
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>
Kiran [Thu, 28 Sep 2017 18:21:15 +0000 (11:21 -0700)]
Adding UT for vport.py
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
Bin Yang [Thu, 28 Sep 2017 21:41:47 +0000 (21:41 +0000)]
Merge "Create UTs for Tenants APIView"
Victor Morales [Thu, 28 Sep 2017 20:49:14 +0000 (13:49 -0700)]
Create UTs for Tenants APIView
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
Victor Morales [Thu, 28 Sep 2017 17:50:03 +0000 (10:50 -0700)]
Create UTs for Registry APIView
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
Bin Yang [Thu, 28 Sep 2017 02:10:13 +0000 (02:10 +0000)]
Merge "Refactor flavor UTs"
Bin Yang [Thu, 28 Sep 2017 02:09:57 +0000 (02:09 +0000)]
Merge "Update UTs for requests/image and network"
Bin Yang [Thu, 28 Sep 2017 02:09:42 +0000 (02:09 +0000)]
Merge "Add UTs for requests/subnets"
Shashank Kumar Shankar [Wed, 27 Sep 2017 21:31:48 +0000 (14:31 -0700)]
Update UTs for requests/image and network
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>
Shashank Kumar Shankar [Wed, 27 Sep 2017 18:46:00 +0000 (11:46 -0700)]
Add UTs for requests/subnets
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>
Kiran [Tue, 26 Sep 2017 18:01:39 +0000 (11:01 -0700)]
Adding Unit Tests for requests/volumes
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
Victor Morales [Wed, 27 Sep 2017 18:21:07 +0000 (11:21 -0700)]
Refactor flavor UTs
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
Bin Yang [Wed, 27 Sep 2017 06:34:26 +0000 (06:34 +0000)]
Merge "build docker from local maven for function test"
Guo Ruijing [Wed, 27 Sep 2017 10:44:45 +0000 (03:44 -0700)]
build docker from local maven for function test
Change-Id: I4bbb437e3563833edef7ce020b158e8332d545e3
Issue-Id: MULTICLOUD-95
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Victor Morales [Tue, 26 Sep 2017 23:00:54 +0000 (16:00 -0700)]
Improve get_mock_session method
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
Bin Yang [Tue, 26 Sep 2017 17:39:31 +0000 (17:39 +0000)]
Merge "Create UTs for Server APIView"
Victor Morales [Tue, 26 Sep 2017 04:41:56 +0000 (21:41 -0700)]
Create UTs for Server APIView
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
Bin Yang [Mon, 25 Sep 2017 23:25:38 +0000 (23:25 +0000)]
Merge "Add UTs for requests/images"
Shashank Kumar Shankar [Mon, 25 Sep 2017 23:09:55 +0000 (16:09 -0700)]
Add UTs for requests/images
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>
Bin Yang [Mon, 25 Sep 2017 22:54:35 +0000 (22:54 +0000)]
Merge "Create UTs for newton.pubs module"
Shashank Kumar Shankar [Mon, 25 Sep 2017 18:38:08 +0000 (11:38 -0700)]
Add UTs for requests/flavors
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>
zhang ab [Sat, 23 Sep 2017 08:13:27 +0000 (08:13 +0000)]
Merge "Add backward support for identity v2.0 API"
Bin Yang [Fri, 22 Sep 2017 17:20:11 +0000 (01:20 +0800)]
Add backward support for identity v2.0 API
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>
Victor Morales [Thu, 21 Sep 2017 18:46:58 +0000 (11:46 -0700)]
Create UTs for newton.pubs module
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
Shashank Kumar Shankar [Wed, 20 Sep 2017 22:50:00 +0000 (15:50 -0700)]
Add UTs for requests/networks
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>
Bin Yang [Thu, 21 Sep 2017 09:09:03 +0000 (17:09 +0800)]
Fix url pattern error
Change-Id: Ic7aa3c1791482be38ee9debcedb52bbf57add96e
Issue-Id: MULTICLOUD-89
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Guo Ruijing [Thu, 21 Sep 2017 10:11:27 +0000 (03:11 -0700)]
remove docker build workaroud in function test
Change-Id: I4167b423319a1b6c66f232951c5084b7f854d577
Issue-Id: MULTICLOUD-95
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Guo Ruijing [Wed, 20 Sep 2017 15:48:09 +0000 (15:48 +0000)]
fix docker push issue
Change-Id: I3b742cb43ea05175fbf4d68dc75c6ed7125a9d63
Issue-Id: MULTICLOUD-95
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Guo Ruijing [Wed, 20 Sep 2017 12:45:52 +0000 (05:45 -0700)]
update port from 9004 to 9006
Change-Id: Ic2ad8eda3b21b6c11cabf89d65f5a72956262750
Issue-Id: MULTICLOUD-95
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Bin Yang [Wed, 20 Sep 2017 05:41:36 +0000 (05:41 +0000)]
Merge "add function test cases"
Guo Ruijing [Wed, 20 Sep 2017 12:00:13 +0000 (05:00 -0700)]
add function test cases
Change-Id: Ic0c5eecdcbb3d5ab460c79235f4e0df4b4932f7b
Issue-Id: MULTICLOUD-95
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Bin Yang [Wed, 20 Sep 2017 03:18:35 +0000 (11:18 +0800)]
Add windriver plugin
Change-Id: Icd27d7af12d6920810d7cbb163e8be70db49f121
Issue-Id: MULTICLOUD-89
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Wed, 20 Sep 2017 01:23:32 +0000 (01:23 +0000)]
Merge "Create UTs for Extension Views"
Bin Yang [Wed, 20 Sep 2017 01:22:44 +0000 (01:22 +0000)]
Merge "Refactor Service UTs"
Victor Morales [Tue, 19 Sep 2017 18:56:43 +0000 (11:56 -0700)]
Create UTs for Extension Views
This change add a Unit tests for EpaCaps and Extensions ApiView
Classes.
Change-Id: I8913b63260e4fc884d7c22f376f7a9380a67d999
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-Id: MULTICLOUD-83
Guo Ruijing [Tue, 19 Sep 2017 09:29:04 +0000 (02:29 -0700)]
add proxy test cases
Change-Id: Icc3595eb960c377479fd8f567cd371f013565778
Issue-Id: MULTICLOUD-95
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Victor Morales [Mon, 18 Sep 2017 16:55:52 +0000 (09:55 -0700)]
Refactor Service UTs
The Unit tests that covers the get function of Service resource was
generic, this change pretends to translate it to use cases.
Change-Id: Iaec6d0751b5501612aebb240423da750bd56abff
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-Id: MULTICLOUD-83
Bin Yang [Fri, 15 Sep 2017 09:32:41 +0000 (17:32 +0800)]
Add swagger for identity proxy
Change-Id: Ia77b99c9ffc68f897948e2ab7d6e68ca3affba82
Issue-Id: MULTICLOUD-89
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Fri, 15 Sep 2017 08:35:18 +0000 (08:35 +0000)]
Merge "setup function test framework"
Guo Ruijing [Fri, 15 Sep 2017 14:11:31 +0000 (07:11 -0700)]
setup function test framework
this patch is to add designate features in openstack
Change-Id: Ifb0cd9b45476ef12df6dd767706d639bf64c0752
Issue-Id: MULTICLOUD-92
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Guo Ruijing [Fri, 15 Sep 2017 10:41:06 +0000 (03:41 -0700)]
setup function test framework
this patch is to update test1 case in multicloud function test
Change-Id: Ied3ccd5105f9186f0a014768c1529ec4f19f4a94
Issue-Id: MULTICLOUD-92
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Guo Ruijing [Thu, 14 Sep 2017 15:50:10 +0000 (08:50 -0700)]
setup function test framework
this patch is to fix issue to setup function test framwork for multicloud
Change-Id: I48f9b750d36fe797abdf12bebf9f9650e0da0f51
Issue-Id: MULTICLOUD-92
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Bin Yang [Fri, 15 Sep 2017 04:58:17 +0000 (12:58 +0800)]
Fix build docker jjb issue
Add version.properties file
Change-Id: Id05eb4fdfaef3f4429a589375135e5253a75ea84
Issue-Id: MULTICLOUD-58
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Guo Ruijing [Thu, 14 Sep 2017 14:54:53 +0000 (22:54 +0800)]
setup function test framework
this patch is to setup function test framwork for multicloud
Change-Id: I372ca4a11878b25fd9b5f4b7ed199e0d8748e11d
Issue-Id: MULTICLOUD-92
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Bin Yang [Wed, 13 Sep 2017 09:57:00 +0000 (17:57 +0800)]
Refactor newton and ocato proxy
refactor code and fix bugs to update proxy prefix
Change-Id: I4a02b0570759f087581e875cc683d4475bd2121b
Issue-Id: MULTICLOUD-89
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Wed, 13 Sep 2017 00:54:03 +0000 (08:54 +0800)]
Add plugin for OpenStack Ocata
add plugin for openstack ocata, reuse most of
source code from plugin for newton.
Change-Id: I444a4e6dd80e34d06d35e0e711de426f10d8db35
Issue-Id: MULTICLOUD-89
Signed-off-by: Bin Yang <bin.yang@windriver.com>
xinhuili [Mon, 11 Sep 2017 16:46:34 +0000 (16:46 +0000)]
Merge "Cleanup project's name in Sonar"
Bin Yang [Mon, 11 Sep 2017 06:49:30 +0000 (14:49 +0800)]
Fix bug in service proxy
fix bug in service proxy, along with unittests
Change-Id: I946af21f4b8384ae920c322245741bf990515f1a
Issue-Id: MULTICLOUD-58
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Mon, 11 Sep 2017 03:25:12 +0000 (11:25 +0800)]
Fix bugs in restcall
fix bug and update dockerfile
Change-Id: I5e6e2eeae85d9bfaabd190d8f9baaca8cca7aeb5
Issue-Id: MULTICLOUD-58
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Jessica Wagantall [Fri, 8 Sep 2017 20:43:37 +0000 (13:43 -0700)]
Cleanup project's name in Sonar
The name parameter in the root pom.xml should
match the project name in gerrit to reflect consistency
in Sonar.
Change-Id: I582aa1cbdc15c145ce82e29be82b6507ce003908
Issue-id: CIMAN-65
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Bin Yang [Fri, 8 Sep 2017 07:50:05 +0000 (15:50 +0800)]
Add docker build file
add docker build file to generate container image
Change-Id: I08e289dea8caf01b9690d80c2c21355d0f121a6b
Issue-Id: MULTICLOUD-58
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Fri, 8 Sep 2017 05:43:00 +0000 (13:43 +0800)]
Populate EPA Capabilities info into AAI
parse and discover EPA CAPs and populate them into AAI
fix API call to query ESR
Change-Id: I8b5e0429d3fbc9e17390b9c4df9cd12c1f0a42b4
Issue-Id: MULTICLOUD-58
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Thu, 7 Sep 2017 10:05:39 +0000 (18:05 +0800)]
Populate Infra info into AAI
Populate NFVI resource info into AAI:pserver,etc.
Change-Id: I6a4c4d3204cbf7d62076a3bec780c45f422dcc09
Issue-Id: MULTICLOUD-58
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Thu, 7 Sep 2017 01:54:06 +0000 (09:54 +0800)]
Populate cloud resources into AAI
populate tenants,flavors,images info into AAI
Change-Id: Ifa9701916168fd61814659622233b1129412b189
Issue-Id: MULTICLOUD-58
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Wed, 6 Sep 2017 09:38:30 +0000 (17:38 +0800)]
Implement registration API
Add SBI to discover resources, but not populated
into AAI yet
Change-Id: I16024d4256bd70e15597bc34c54cde84d91b36cd
Issue-Id: MULTICLOUD-58
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Wed, 6 Sep 2017 07:30:42 +0000 (15:30 +0800)]
Refactor proxy API
refactor logger and auth method
fix identity proxy bug
Change-Id: Ie26c01c2fbf0869dcc77b8c182b775bce90b8d69
Issue-Id: MULTICLOUD-58
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Mon, 4 Sep 2017 13:37:57 +0000 (21:37 +0800)]
Fix restcall to AAI
fix restcall to AAI, and fix extension API response
Change-Id: I0d786135de5c4d96d447a51af99adfe04178765e
Issue-Id: MULTICLOUD-58
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Victor Morales [Thu, 31 Aug 2017 20:22:18 +0000 (15:22 -0500)]
Clean up *pass* instructions
The *pass* python instruction is required in some circunstances.
Change-Id: I00acab2bad03a97eba7a7e0a3298f2685f21c298
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-Id: MULTICLOUD-83
Bin Yang [Fri, 1 Sep 2017 02:24:31 +0000 (10:24 +0800)]
Add unittests for openstack newton service proxy
Add unittest and fix delete op to service proxy
Change-Id: I17e39add9892cbbf9b4c24cb7ac071f06538be0c
Issue-Id: MULTICLOUD-83
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Victor Morales [Thu, 31 Aug 2017 17:03:23 +0000 (12:03 -0500)]
Add Python 3.5 support
Python 2.7 will be supported until 2020[1]. This changes helps to
prepares the transition to the transition to Python 3.x and those
systems which not support other versions.
[1] https://hg.python.org/peps/rev/
76d43e52d978
Change-Id: Ic2847e907e29d565c89b0448135393f923de20e3
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-Id: MULTICLOUD-83
Bin Yang [Wed, 30 Aug 2017 03:44:14 +0000 (11:44 +0800)]
Update newton pom setting
change the parent pom to oparent
Change-Id: I9cec5dfa5f23c109691226a31421692e3515f188
Issue-Id: MULTICLOUD-58
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Wed, 30 Aug 2017 02:58:42 +0000 (10:58 +0800)]
Fix pom setting for newton
fix the parent setting of newton subproject which results
in failure of multicloud-openstack-master-merge-java
Change-Id: Iee70d4d642186d633ad8fcdf12529d0e79e3eaa4
Issue-Id: MULTICLOUD-58
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Tue, 29 Aug 2017 08:18:45 +0000 (16:18 +0800)]
Add OpenStack proxy for newton
refactor seed code for newton
add proxy for identiy,service, add registration, extension
management
Issue-Id: MULTICLOUD-58
Change-Id: I6a7a21427af4c88b7f060470c1176009c13fc19e
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Xinhui Li [Tue, 1 Aug 2017 13:57:21 +0000 (21:57 +0800)]
Set parent POM
This patch is to set the parent POM in pom.xml
Signed-off-by: lxinhui@vmware.com
Change-Id: I0104755b04f5661e0d3b02a1a6ccc74c83ba0369
Bin Yang [Wed, 19 Apr 2017 14:39:51 +0000 (22:39 +0800)]
Fix bug with regarding to region_name filter
Change-Id: Icbf6418ca0b25ca39e47b572a0793b559d57ea81
Issue-Id: MULTIVIM-62
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Fri, 31 Mar 2017 05:54:16 +0000 (13:54 +0800)]
Fix issue to delete flavor API
delete extra-specs of flavor might fail, but does not impact
the deletion of flavor, so leave it alone
Change-Id: I0352cf4e3eb2894b0868b7dc8ab62acfbc060778
Issue-Id: MULTIVIM-61
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Wed, 29 Mar 2017 05:35:13 +0000 (13:35 +0800)]
Fix bug in server API
add nicArray to server information model
Change-Id: I58940d2d18a233b5c01bf930acc6c98d68b803ca
Issue-Id: MULTIVIM-59
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Wed, 29 Mar 2017 04:04:55 +0000 (12:04 +0800)]
Fix bug in server API
fix bug resulting in failing to attach volume to server
Change-Id: I9e9be9632c36967d29f983fbd082e4a6ed87ce3c
Issue-Id: MULTIVIM-59
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Tue, 28 Mar 2017 06:54:38 +0000 (14:54 +0800)]
Expose detail information upon API call failure
Change-Id: I6e42cebeb7e1c5edd3f77b8c0c6c091d04fcb364
Issue-Id: MULTIVIM-58
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Tue, 28 Mar 2017 02:54:27 +0000 (10:54 +0800)]
Fix issue of server API
Add name field in response
Change-Id: I5b9c9b37b6760962667bd136e1a9b48974048f0d
Issue-Id: MULTIVIM-57
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Mon, 27 Mar 2017 05:53:37 +0000 (13:53 +0800)]
Add traceback to all APIs
fix a bug in vport API as well.
Change-Id: I2e4db0b1576a3208285df59db8a238315dd48f91
Issue-Id: MULTIVIM-55
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Mon, 27 Mar 2017 02:56:38 +0000 (10:56 +0800)]
Fix limit API bug
Change-Id: I1d88ea7e2a7b7ffbeab6a39afc8920a820df3586
Issue-Id: MULTIVIM-54
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Wed, 15 Mar 2017 05:36:23 +0000 (13:36 +0800)]
Fix errors in swagger.json
Change-Id: Ie9e10b22e61dbef34f9fcf71edd452b5b1ceca9d
Issue-Id: MULTIVIM-18
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Tue, 14 Mar 2017 05:42:44 +0000 (13:42 +0800)]
Fix tenants API issue for keystone v3
Change-Id: I68db478cebdd036982000298ad36f128dba618a2
Issue-Id: MULTIVIM-22
Signed-off-by: Bin Yang <bin.yang@windriver.com>