multicloud/openstack.git
7 years agoAdd sonar coverage for MultiCloud OpenStack 57/34257/1
Yun Huang [Tue, 6 Mar 2018 10:36:48 +0000 (18:36 +0800)]
Add sonar coverage for MultiCloud OpenStack

Change-Id: I6526b56a06cd430bb1b95e7175d2a6d8f48ebc0c
Issue-ID: MULTICLOUD-171
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoUpdate Titanium Cloud license header 87/34087/4
Yun Huang [Tue, 6 Mar 2018 07:20:38 +0000 (15:20 +0800)]
Update Titanium Cloud license header

Change-Id: I70e6b1334711fde23ef5a37f2ed508ea4d574cee
Issue-ID: MULTICLOUD-140
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoUpdate Newton license header 85/34085/4
Yun Huang [Tue, 6 Mar 2018 07:18:16 +0000 (15:18 +0800)]
Update Newton license header

Change-Id: I2ee874ab6a4f13e7a5b2fe32f80ba0225d086a9f
Issue-ID: MULTICLOUD-140
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoUpdate Ocata license header 83/34083/4
Yun Huang [Tue, 6 Mar 2018 06:52:50 +0000 (14:52 +0800)]
Update Ocata license header

Change-Id: I45b6a8b1cbc6571a1c09d375b31e42df70b94cfa
Issue-ID: MULTICLOUD-140
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoUpdate Openstack license header 81/34081/3
Yun Huang [Tue, 6 Mar 2018 06:03:57 +0000 (14:03 +0800)]
Update Openstack license header

Change-Id: I76d3ed20fd2bb2ae24952eeca03b1eee5e56cb77
Issue-ID: MULTICLOUD-163
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agosettings.py replace config.py 27/33427/1
Huang Haibin [Wed, 28 Feb 2018 09:54:28 +0000 (17:54 +0800)]
settings.py replace config.py

the patch refer to https://gerrit.onap.org/r/#/c/23529

Change-Id: Ia42c9be995ef73ea12a4733cb967ffed1ce15101
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoMove extsys from newton to common 53/33353/3
Huang Haibin [Tue, 27 Feb 2018 19:44:35 +0000 (03:44 +0800)]
Move extsys from newton to common

Change-Id: I30ad2ed3a43bcb0ef569bb25d3e51a9ab49ea48a
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoMove pub file from newton to common 13/33313/1
Huang Haibin [Tue, 27 Feb 2018 15:26:26 +0000 (23:26 +0800)]
Move pub file from newton to common

Change-Id: Ib7160619b6fd0b1bada0da685bf4cfaa95a15fff
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoMove swagger from newton to newton_base 87/33287/1
Huang Haibin [Tue, 27 Feb 2018 14:43:10 +0000 (22:43 +0800)]
Move swagger from newton to newton_base

Change-Id: I35ed7b54d89d9c9eb6df94c7aae261eba7cc236d
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoMove openoapi from newton to newton_base 51/33151/1
Huang Haibin [Tue, 27 Feb 2018 14:26:59 +0000 (22:26 +0800)]
Move openoapi from newton to newton_base

Change-Id: I0fb7ed59d0d1f1b289da6112d822e3b42d9bd489
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoMove registration from newton to newton_base 73/33073/1
Huang Haibin [Wed, 7 Feb 2018 22:04:52 +0000 (06:04 +0800)]
Move registration from newton to newton_base

Change-Id: Ia9436fc1e0682bca8ed38193f234f8020ff34ace
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoUpdate License header 65/31565/2
Yun Huang [Mon, 12 Feb 2018 08:05:54 +0000 (16:05 +0800)]
Update License header

Change-Id: Ieedc303238ac11416c4ce640b9a32c3f4d7b86da
Issue-ID: MULTICLOUD-140
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoCentralize settings of UT 63/31663/1
Yun Huang [Wed, 14 Feb 2018 02:25:18 +0000 (10:25 +0800)]
Centralize settings of UT

Change-Id: Ia669d463da422804fca1912a87506b1bacb57512
Issue-ID: MULTICLOUD-83
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoMove epacaps from newton to newton_base 77/30777/1
Huang Haibin [Wed, 7 Feb 2018 20:30:04 +0000 (04:30 +0800)]
Move epacaps from newton to newton_base

Change-Id: Ic22158577045a06af85f3998d4c1ab1c7e8b4bf7
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoMove extensions from newton to newton_base 65/30665/1
Huang Haibin [Wed, 7 Feb 2018 19:58:01 +0000 (03:58 +0800)]
Move extensions from newton to newton_base

Change-Id: Ic29379a4c396871066bcf30474e9370b3aeb0bc0
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoMove identityV3 from newton to newton_base 53/29453/2
Huang Haibin [Mon, 29 Jan 2018 14:41:56 +0000 (22:41 +0800)]
Move identityV3 from newton to newton_base

Change-Id: I5ddcf92359b20937c1b9ef0c3860d671ae79c588
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoMove dnsaasdelegate from newton to newton_base 37/29437/1
Huang Haibin [Mon, 29 Jan 2018 13:44:06 +0000 (21:44 +0800)]
Move dnsaasdelegate from newton to newton_base

Change-Id: I7cb81a290b2fb51592c1eae9ca3ff4d95483e2a3
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoMove proxy util from newton to newton_base 87/28487/5
Huang Haibin [Thu, 18 Jan 2018 14:29:40 +0000 (22:29 +0800)]
Move proxy util from newton to newton_base

Change-Id: Ibbeef804c500720ee7d612e9c3c93df7974c7cda
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoAdd newton base directory 59/28359/4
Huang Haibin [Tue, 16 Jan 2018 22:06:27 +0000 (06:06 +0800)]
Add newton base directory

newton base directory is mainly placed openstack public files, we
will move mainly from the original newton folder.this patch create
newton base framework and move one file to here.

Issue-ID: MULTICLOUD-138
Change-Id: Ie901795a5cf3383217c3585eb6602a4baba6dcd8
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoMerge "Centralize the release version for UTs"
Bin Yang [Sat, 13 Jan 2018 07:37:34 +0000 (07:37 +0000)]
Merge "Centralize the release version for UTs"

7 years agoMerge "Add UTs for VimDriverUtils class"
Bin Yang [Sat, 13 Jan 2018 07:36:39 +0000 (07:36 +0000)]
Merge "Add UTs for VimDriverUtils class"

7 years agoFix interface name issue 91/26491/10
Huang Haibin [Wed, 13 Dec 2017 05:16:32 +0000 (13:16 +0800)]
Fix interface name issue

Fix interface name issue in multicloud test due to
vagrant box bento/ubuntu-16.04 update

Issue-ID: MULTICLOUD-57

Change-Id: If43b2bdcd440149200a413789637e7f8ee51f25b
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoAdd UTs for VimDriverUtils class 59/27759/1
Victor Morales [Tue, 9 Jan 2018 22:52:07 +0000 (14:52 -0800)]
Add UTs for VimDriverUtils class

The VimDriverUtils class contains utility methods for managing
sessions and vim information, as well as others for replacing
keys of a dictionary. This change add Unit Tests that validates
their correct functionality.

Change-Id: Ie569cc995c3e0ebc27f33e4c58652bb0ed34c0a7
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-83

7 years agoFix version dependencies 29/27729/1
Victor Morales [Tue, 9 Jan 2018 16:15:25 +0000 (08:15 -0800)]
Fix version dependencies

The version number used for newton needs to be higher to allow other
to refer it.

Change-Id: Id88c3450f62bb21b8eacc489ef3be58f8ec7e192
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-83

7 years agoCentralize the release version for UTs 71/27571/1
Victor Morales [Sat, 6 Jan 2018 01:32:25 +0000 (17:32 -0800)]
Centralize the release version for UTs

The URL is formed based on the OpenStack release version supported.
Given that OpenStack release cycles are targeting twice a year, it's
necessary mechanism to adopt this changes. This commit centralizes
the release information into a configuration value.

Change-Id: Ie7f0c819472593f706520e7f2563db31b9d42444
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-83

7 years agoAdd pbr as building tool 79/23179/3
Bin Yang [Tue, 19 Dec 2017 07:54:33 +0000 (15:54 +0800)]
Add pbr as building tool

PBR is a library that helps to build python project through configuration files simplifying the deployment for them. This change adds support for it.

Change-Id: I77ac639d9ba2df7122cb6a9cec68ae7551bac89e
Issue-ID: MULTICLOUD-83
Signed-off-by: Victor Morales <victor.morales@intel.com>
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoBump minor version,step 2 29/25529/1
Bin Yang [Tue, 5 Dec 2017 08:52:25 +0000 (16:52 +0800)]
Bump minor version,step 2

Bump minor version in preparation for Amsterdam
branching.

Change-Id: Ib4118178d279a1cdf9094ad875419739a4eed664
Issue-ID: CIMAN-120
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoBump minor version,step 1 17/24617/3
Bin Yang [Tue, 5 Dec 2017 01:56:04 +0000 (09:56 +0800)]
Bump minor version,step 1

Bump minor version in preparation for Amsterdam
branching.

Change-Id: I42c8fe8ffa2c8c3651454567e6045a0fc2aef4a5
Issue-ID: CIMAN-120
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoMerge "Separate test modules from requirements.txt"
Bin Yang [Wed, 22 Nov 2017 06:59:07 +0000 (06:59 +0000)]
Merge "Separate test modules from requirements.txt"

7 years agoUpdate Dependency on oparent 37/23737/1 1.0.0-Amsterdam 1.0.0-ONAP v1.0.0
Bin Yang [Thu, 16 Nov 2017 02:46:54 +0000 (10:46 +0800)]
Update Dependency on oparent

Update POM setting of OpenStack plugins

Change-Id: I92d67244ff24cef00f72278652e33794d73ad53e
Issue-Id: MULTICLOUD-128
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoSeparate test modules from requirements.txt 07/23507/1
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

7 years agoMerge "add bind9 options for designate"
Bin Yang [Fri, 3 Nov 2017 09:51:08 +0000 (09:51 +0000)]
Merge "add bind9 options for designate"

7 years agoadd bind9 options for designate 27/21427/2
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>
7 years agoMerge "Update tests to make use of abstracted test_base"
Bin Yang [Tue, 31 Oct 2017 09:23:21 +0000 (09:23 +0000)]
Merge "Update tests to make use of abstracted test_base"

7 years agoWorkaround for keystone url without version 15/21415/1
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>
7 years agoWorkaround APPC dependency on compute v2 API 13/21013/1
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>
7 years agoUpdate tests to make use of abstracted test_base 57/20457/5
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>
7 years agoSet the default auth url to be v2.0 63/20763/1
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>
7 years agoAdd health check by API of GET keystone url 05/20505/1
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>
7 years agoUpdate identity conversion for API v2.0 91/20491/2
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>
7 years agoFix bug of keystone v2.0 API 61/20161/3
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>
7 years agoAdd DNSaaS delegate 23/20123/1
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>
7 years agoMerge "Add Unit Test Abstract Base in test_base"
Bin Yang [Mon, 23 Oct 2017 11:23:25 +0000 (11:23 +0000)]
Merge "Add Unit Test Abstract Base in test_base"

7 years agoAdd DNSaaS delegate service 95/20095/1
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>
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 agoAdd Unit Test Abstract Base in test_base 43/19143/2
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>
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>