multicloud/openstack.git
7 years agoAdd a UT threshold 89/19389/2
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>
7 years agoFix error of registration 35/19035/1
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>
7 years agoFix openstack plugin identity error 15/18715/1
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>
7 years agoFix registration error 31/18231/2
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>
7 years agoAdd staging docker images for OpenStack plugins 99/18199/2
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>
7 years agoFix bug of OpenStack Proxy 23/17823/2
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>
7 years agoFix bug in identity v2.0 proxy 91/17591/2
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>
7 years agoAdd UT for ocata and WindRiver plugin 53/16753/1
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>
7 years agoAdd UT for ocata and windriver 53/16653/1
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>
7 years agoMerge "Add UTs for requests/hosts and limits"
Bin Yang [Fri, 29 Sep 2017 09:08:24 +0000 (09:08 +0000)]
Merge "Add UTs for requests/hosts and limits"

7 years agoMerge "Adding UT for vport.py"
Bin Yang [Fri, 29 Sep 2017 09:08:00 +0000 (09:08 +0000)]
Merge "Adding UT for vport.py"

7 years agoAdd UTs for requests/hosts and limits 33/16533/1
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>
7 years agoAdding UT for vport.py 87/16487/3
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

7 years agoMerge "Create UTs for Tenants APIView"
Bin Yang [Thu, 28 Sep 2017 21:41:47 +0000 (21:41 +0000)]
Merge "Create UTs for Tenants APIView"

7 years agoCreate UTs for Tenants APIView 13/16513/1
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

7 years agoCreate UTs for Registry APIView 81/16481/1
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

7 years agoMerge "Refactor flavor UTs"
Bin Yang [Thu, 28 Sep 2017 02:10:13 +0000 (02:10 +0000)]
Merge "Refactor flavor UTs"

7 years agoMerge "Update UTs for requests/image and network"
Bin Yang [Thu, 28 Sep 2017 02:09:57 +0000 (02:09 +0000)]
Merge "Update UTs for requests/image and network"

7 years agoMerge "Add UTs for requests/subnets"
Bin Yang [Thu, 28 Sep 2017 02:09:42 +0000 (02:09 +0000)]
Merge "Add UTs for requests/subnets"

7 years agoUpdate UTs for requests/image and network 13/16113/2
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>
7 years agoAdd UTs for requests/subnets 71/16071/2
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>
7 years agoAdding Unit Tests for requests/volumes 65/15665/3
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

7 years agoRefactor flavor UTs 59/16059/1
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

7 years agoMerge "build docker from local maven for function test"
Bin Yang [Wed, 27 Sep 2017 06:34:26 +0000 (06:34 +0000)]
Merge "build docker from local maven for function test"

7 years agobuild docker from local maven for function test 59/14159/3
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>
7 years agoImprove get_mock_session method 41/15741/3
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

7 years agoMerge "Create UTs for Server APIView"
Bin Yang [Tue, 26 Sep 2017 17:39:31 +0000 (17:39 +0000)]
Merge "Create UTs for Server APIView"

7 years agoCreate UTs for Server APIView 17/15317/1
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

7 years agoMerge "Add UTs for requests/images"
Bin Yang [Mon, 25 Sep 2017 23:25:38 +0000 (23:25 +0000)]
Merge "Add UTs for requests/images"

7 years agoAdd UTs for requests/images 43/15243/1
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>
7 years agoMerge "Create UTs for newton.pubs module"
Bin Yang [Mon, 25 Sep 2017 22:54:35 +0000 (22:54 +0000)]
Merge "Create UTs for newton.pubs module"

7 years agoAdd UTs for requests/flavors 71/15171/1
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>
7 years agoMerge "Add backward support for identity v2.0 API"
zhang ab [Sat, 23 Sep 2017 08:13:27 +0000 (08:13 +0000)]
Merge "Add backward support for identity v2.0 API"

7 years agoAdd backward support for identity v2.0 API 29/14529/2
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>
7 years agoCreate UTs for newton.pubs module 37/14337/2
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

7 years agoAdd UTs for requests/networks 93/13993/2
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>
7 years agoFix url pattern error 75/14175/1
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>
7 years agoremove docker build workaroud in function test 55/14055/1
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>
7 years agofix docker push issue 81/13781/1
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>
7 years agoupdate port from 9004 to 9006 09/13709/1
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>
7 years agoMerge "add function test cases"
Bin Yang [Wed, 20 Sep 2017 05:41:36 +0000 (05:41 +0000)]
Merge "add function test cases"

7 years agoadd function test cases 67/13667/2
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>
7 years agoAdd windriver plugin 53/12953/4
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>
7 years agoMerge "Create UTs for Extension Views"
Bin Yang [Wed, 20 Sep 2017 01:23:32 +0000 (01:23 +0000)]
Merge "Create UTs for Extension Views"

7 years agoMerge "Refactor Service UTs"
Bin Yang [Wed, 20 Sep 2017 01:22:44 +0000 (01:22 +0000)]
Merge "Refactor Service UTs"

7 years agoCreate UTs for Extension Views 73/13573/1
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

7 years agoadd proxy test cases 73/13273/2
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>
7 years agoRefactor Service UTs 87/13187/2
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

7 years agoAdd swagger for identity proxy 89/12689/2
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>
7 years agoMerge "setup function test framework"
Bin Yang [Fri, 15 Sep 2017 08:35:18 +0000 (08:35 +0000)]
Merge "setup function test framework"

7 years agosetup function test framework 79/12679/2
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>
7 years agosetup function test framework 23/12623/1
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>
7 years agosetup function test framework 01/12601/1
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>
7 years agoFix build docker jjb issue 09/12609/3
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>
7 years agosetup function test framework 69/12369/1
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>
7 years agoRefactor newton and ocato proxy 49/12149/1
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>
7 years agoAdd plugin for OpenStack Ocata 55/12055/2
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>
7 years agoMerge "Cleanup project's name in Sonar"
xinhuili [Mon, 11 Sep 2017 16:46:34 +0000 (16:46 +0000)]
Merge "Cleanup project's name in Sonar"

7 years agoFix bug in service proxy 73/11573/1
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>
7 years agoFix bugs in restcall 35/11535/1
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>
7 years agoCleanup project's name in Sonar 37/11337/1
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>
7 years agoAdd docker build file 41/11041/1
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>
7 years agoPopulate EPA Capabilities info into AAI 95/10995/2
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>
7 years agoPopulate Infra info into AAI 89/10789/1
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>
7 years agoPopulate cloud resources into AAI 67/10667/1
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>
7 years agoImplement registration API 35/10535/2
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>
7 years agoRefactor proxy API 13/10513/1
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>
7 years agoFix restcall to AAI 27/10227/1
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>
7 years agoClean up *pass* instructions 53/9753/2
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

7 years agoAdd unittests for openstack newton service proxy 07/9807/1
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>
7 years agoAdd Python 3.5 support 23/9723/3
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

7 years agoUpdate newton pom setting 85/9285/1
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>
7 years agoFix pom setting for newton 79/9279/1
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>
7 years agoAdd OpenStack proxy for newton 43/8543/4
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>
7 years agoSet parent POM 83/6483/1
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

8 years agoFix bug with regarding to region_name filter release/mercury v2.0.0
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>
8 years agoFix issue to delete flavor API
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>
8 years agoFix bug in server API
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>
8 years agoFix bug in server API
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>
8 years agoExpose detail information upon API call failure
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>
8 years agoFix issue of server API
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>
8 years agoAdd traceback to all APIs
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>
8 years agoFix limit API bug
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>
8 years agoFix errors in swagger.json
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>
8 years agoFix tenants API issue for keystone v3
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>
8 years agoRemove redundant debug messages
Bin Yang [Thu, 9 Mar 2017 10:01:32 +0000 (18:01 +0800)]
Remove redundant debug messages

Change-Id: Ida0fe5187265b4e84f2c96eac93400cad68b8cff
Issue-Id: MULTIVIM-18
Signed-off-by: Bin Yang <bin.yang@windriver.com>
8 years agoRefactor Networks API for newton
Bin Yang [Wed, 8 Mar 2017 02:27:53 +0000 (10:27 +0800)]
Refactor Networks API for newton

Change-Id: I407f2488f00307a864d78083167df54776b02808
Issue-Id: MULTIVIM-22
Signed-off-by: Bin Yang <bin.yang@windriver.com>
8 years agoFix issue in servers APIs for Kilo
Bin Yang [Wed, 8 Mar 2017 02:19:28 +0000 (10:19 +0800)]
Fix issue in servers APIs for Kilo

Change-Id: Id6a478b62f9e713ef64877f5eec93b84801d0b15
Issue-Id: MULTIVIM-25
Signed-off-by: Bin Yang <bin.yang@windriver.com>
8 years agoImplement APIs for Kilo
Bin Yang [Tue, 7 Mar 2017 13:03:10 +0000 (21:03 +0800)]
Implement APIs for Kilo

Change-Id: I04680afe10c47e61f44c283a42d2ceeb7d3134af
Issue-Id: MULTIVIM-24, MULTIVIM-25
Signed-off-by: Bin Yang <bin.yang@windriver.com>
8 years agoFix errors in swagger.json
Bin Yang [Tue, 7 Mar 2017 08:00:12 +0000 (16:00 +0800)]
Fix errors in swagger.json

Change-Id: Id60869b666cbf45e3e5888ce3ac0a2bbcae8d8c2
Issue-Id: MULTIVIM-18
Signed-off-by: Bin Yang <bin.yang@windriver.com>
8 years agoImplement servers API for newton
Bin Yang [Mon, 6 Mar 2017 12:14:31 +0000 (20:14 +0800)]
Implement servers API for newton

Change-Id: Iad72f45cf0d7696e277c03347e2bf0bf7de50e6c
Issue-Id: MULTIVIM-22
Signed-off-by: Bin Yang <bin.yang@windriver.com>
8 years agoImplement volumes API for newton
Bin Yang [Mon, 6 Mar 2017 09:04:04 +0000 (17:04 +0800)]
Implement volumes API for newton

Change-Id: If354e41f0bac0cc1f95ddafb83b82edce3eaf135
Issue-Id: MULTIVIM-22
Signed-off-by: Bin Yang <bin.yang@windriver.com>
8 years agoImplement images API for newton
Bin Yang [Mon, 6 Mar 2017 07:42:56 +0000 (15:42 +0800)]
Implement images API for newton

Change-Id: Icf18a9906bd09b12c46c65e2c73262e7f449fac2
Issue-Id: MULTIVIM-22
Signed-off-by: Bin Yang <bin.yang@windriver.com>
8 years agoRefactor subnets API for newton
Bin Yang [Mon, 6 Mar 2017 02:00:56 +0000 (10:00 +0800)]
Refactor subnets API for newton

Change-Id: Ib302b832f85f6ddeaad42ec7f9d1586329b3a940
Issue-Id: MULTIVIM-22
Signed-off-by: Bin Yang <bin.yang@windriver.com>
8 years agoRefactor Networks API for newton
Bin Yang [Fri, 3 Mar 2017 09:24:37 +0000 (17:24 +0800)]
Refactor Networks API for newton

Change-Id: I8bfee93e796dc14311ea38c97a0cc6ba7dd89515
Issue-Id: MULTIVIM-22
Signed-off-by: Bin Yang <bin.yang@windriver.com>
8 years agoRefactor subnets API for newton
Bin Yang [Fri, 3 Mar 2017 09:14:24 +0000 (17:14 +0800)]
Refactor subnets API for newton

Change-Id: I48ec354d18c93a1dc39d11acbaa390fe063d0be7
Issue-Id: MULTIVIM-22
Signed-off-by: Bin Yang <bin.yang@windriver.com>
8 years agoRefactor flavors API for newton
Bin Yang [Fri, 3 Mar 2017 08:39:25 +0000 (16:39 +0800)]
Refactor flavors API for newton

Change-Id: I36c579b91be6c5874804b34489d5df1a66c053d5
Issue-Id: MULTIVIM-22
Signed-off-by: Bin Yang <bin.yang@windriver.com>
8 years agoRefactor virtual ports API for newton
Bin Yang [Fri, 3 Mar 2017 08:16:04 +0000 (16:16 +0800)]
Refactor virtual ports API for newton

Change-Id: I314f09c3aa4570d1df6df14e456ba4132af63320
Issue-Id: MULTIVIM-22
Signed-off-by: Bin Yang <bin.yang@windriver.com>
8 years agoFix errors in swagger.json
Bin Yang [Fri, 3 Mar 2017 05:33:08 +0000 (13:33 +0800)]
Fix errors in swagger.json

Change-Id: Ibd27eda41068286a1f73353f7aff533c81b24a97
Issue-Id: MULTIVIM-18
Signed-off-by: Bin Yang <bin.yang@windriver.com>
8 years agoImplement flavors API for newton
Bin Yang [Fri, 3 Mar 2017 02:54:47 +0000 (10:54 +0800)]
Implement flavors API for newton

Change-Id: I1fbf5068f7f166b6d351f29bf5077356367de389
Issue-Id: MULTIVIM-22
Signed-off-by: Bin Yang <bin.yang@windriver.com>