multicloud/framework.git
4 years agoFix copy-resource issue of artifactbroker 05/95105/1
Liang Ding [Fri, 6 Sep 2019 05:37:40 +0000 (22:37 -0700)]
Fix copy-resource issue of artifactbroker

  -- fix docker generation issue

Change-Id: Ic312109c1f706b2b817bf11230f49e4196ce4f47
Issue-ID: MULTICLOUD-806
Signed-off-by: Liang Ding <liang.ding@intel.com>
4 years agoFix copy-resource issue of artifactbroker 77/95077/3
Liang Ding [Thu, 5 Sep 2019 18:20:20 +0000 (11:20 -0700)]
Fix copy-resource issue of artifactbroker

  - Change to install phase to make avail of artifacts
  - change binaryfilter for zip files
  - Build docker image with local artifact

Change-Id: Icf975056e4afeb0708385828189e96f660f86e03
Issue-ID: MULTICLOUD-806
Signed-off-by: Liang Ding <liang.ding@intel.com>
4 years agoResolve clm job issue 04/94004/1
Bin Yang [Wed, 21 Aug 2019 04:15:42 +0000 (04:15 +0000)]
Resolve clm job issue

Change-Id: I88e1e900199c250d4e1505a7b50f570fb2960491
Issue-ID: MULTICLOUD-767
Signed-off-by: Bin Yang <bin.yang@windriver.com>
4 years agoFix copy-resource issue 40/93740/1
Bin Yang [Mon, 19 Aug 2019 03:16:01 +0000 (03:16 +0000)]
Fix copy-resource issue

change binaryfilter for zip files

Change-Id: Ib000ecb8dcabe473730a9fb2034097d14e3ef905
Issue-ID: MULTICLOUD-767
Signed-off-by: Bin Yang <bin.yang@windriver.com>
4 years agoFix copy-resource issue 78/93678/1
Bin Yang [Fri, 16 Aug 2019 10:28:34 +0000 (10:28 +0000)]
Fix copy-resource issue

Change to install phase to make avail of artifacts

Change-Id: I9060061b656bb6845b9054b1ac72b29b100a4702
Issue-ID: MULTICLOUD-767
Signed-off-by: Bin Yang <bin.yang@windriver.com>
4 years agoFix artifact name issue 73/93673/1
Bin Yang [Fri, 16 Aug 2019 09:48:35 +0000 (09:48 +0000)]
Fix artifact name issue

Change-Id: I691632b27576fb5806d918f6322e60e705b5c414
Issue-ID: MULTICLOUD-767
Signed-off-by: Bin Yang <bin.yang@windriver.com>
4 years agoFix docker build issue 62/93662/1
Bin Yang [Fri, 16 Aug 2019 08:08:35 +0000 (08:08 +0000)]
Fix docker build issue

Build docker image with local artifact

Change-Id: I12eaafa7b93effe24479dd998aa7218d60920417
Issue-ID: MULTICLOUD-767
Signed-off-by: Bin Yang <bin.yang@windriver.com>
4 years agoRebase framework to py36 98/93398/4
Bin Yang [Tue, 13 Aug 2019 11:02:43 +0000 (11:02 +0000)]
Rebase framework to py36

Change-Id: Icb45d3eea21b119688a5591b582d96ae72e1e81d
Issue-ID: MULTICLOUD-770
Signed-off-by: Bin Yang <bin.yang@windriver.com>
4 years agoFix Dockerfile building issue 76/93276/1
Bin Yang [Mon, 12 Aug 2019 04:05:22 +0000 (04:05 +0000)]
Fix Dockerfile building issue

Rely on staging artifact instead of snapshots

Change-Id: Ib680ee1416169cf47936808700efffd47cd7cce7
Issue-ID: MULTICLOUD-767
Signed-off-by: Bin Yang <bin.yang@windriver.com>
4 years agofix for MultiCloud-Architecture 65/93165/1
anjali.walsatwar [Fri, 9 Aug 2019 09:08:42 +0000 (14:38 +0530)]
fix for MultiCloud-Architecture

document spelling mistakes and grammatical error

Issue-ID: MULTICLOUD-766

Signed-off-by: anjali.walsatwar <anjali.walsatwar@huawei.com>
Change-Id: I36ceac1944edf1769c033fd6cc64ccd38a253fe7

4 years agofix for MultiCloud-Administrator-Guide 48/93148/1
anjali.walsatwar [Fri, 9 Aug 2019 05:34:12 +0000 (11:04 +0530)]
fix for MultiCloud-Administrator-Guide

document spelling mistakes and grammatical error

Issue-ID: MULTICLOUD-766

Signed-off-by: anjali.walsatwar <anjali.walsatwar@huawei.com>
Change-Id: I95ba5b28aca95997a141764ab0fa0ff43aa15e14

4 years agofix an issue of profile in artifactbroker pom.xml 45/93145/1
Liang Ding [Fri, 9 Aug 2019 03:44:04 +0000 (20:44 -0700)]
fix an issue of profile in artifactbroker pom.xml

Change-Id: Ia377c321eb11da1bafcb4575bcf5953934aad6ab
Issue-ID: MULTICLOUD-765
Signed-off-by: Liang Ding <liang.ding@intel.com>
4 years agogenerate the 1.4.0 docker image for artifactbroker 42/93142/1
Liang Ding [Thu, 8 Aug 2019 08:50:26 +0000 (01:50 -0700)]
generate the 1.4.0 docker image for artifactbroker

Change-Id: I3d6b3c2be5e30ecbbc6d461f09fea392f6507037
Issue-ID: MULTICLOUD-764
Signed-off-by: Liang Ding <liang.ding@intel.com>
4 years agoUpdate committers info 52/92752/3
Bin Yang [Tue, 6 Aug 2019 07:21:12 +0000 (07:21 +0000)]
Update committers info

Change-Id: Ibc848cc52f5a2c3789593fe59a371036db1f5cee
Issue-ID: MULTICLOUD-751
Signed-off-by: Bin Yang <bin.yang@windriver.com>
4 years agoMerge "Migrate docker job for multivimbroker"
Xiaohua Zhang [Mon, 15 Jul 2019 09:40:50 +0000 (09:40 +0000)]
Merge "Migrate docker job for multivimbroker"

4 years agoMigrate docker job for multivimbroker 38/91438/1
Bin Yang [Mon, 15 Jul 2019 10:48:31 +0000 (10:48 +0000)]
Migrate docker job for multivimbroker

Change-Id: Ie13ca858acbd608b9592268598e9c3f3ee03e599
Issue-ID: MULTICLOUD-704
Signed-off-by: Bin Yang <bin.yang@windriver.com>
4 years agoAdd more detail to the debug messages 89/91289/1
Kiran Kamineni [Thu, 11 Jul 2019 19:04:19 +0000 (12:04 -0700)]
Add more detail to the debug messages

Adding some more detail to the logs
in artifactbroker.
This prints the URI, the body and the exception message if any.

Issue-ID: MULTICLOUD-703
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Change-Id: I99d5ad32cd4e259c5781bca1e3f5b13859ffe5b1

4 years agoFix the pom parent issue, should use the same one as multivimbroker uses 23/91223/1
liboNet [Thu, 11 Jul 2019 22:14:44 +0000 (06:14 +0800)]
Fix the pom parent issue, should use the same one as multivimbroker uses

Change-Id: I7153334afdd1d3483bb2d73df1dde5ac23e6665a
Issue-ID: MULTICLOUD-701
Signed-off-by: liboNet <libo.zhu@intel.com>
4 years agoFix version property error 16/91216/1
Bin Yang [Thu, 11 Jul 2019 06:50:32 +0000 (06:50 +0000)]
Fix version property error

Change-Id: I98ebad80f0228e04fcd1e8541677254b74d9d05d
Issue-ID: MULTICLOUD-701
Signed-off-by: Bin Yang <bin.yang@windriver.com>
4 years agoBump version for E release 14/91214/1
Bin Yang [Thu, 11 Jul 2019 05:24:54 +0000 (05:24 +0000)]
Bump version for E release

from 1.3.4 to 1.4.0

Change-Id: I51e1eced5c683deb4986213a6667b34893a1b8e1
Issue-ID: MULTICLOUD-701
Signed-off-by: Bin Yang <bin.yang@windriver.com>
4 years agoUpdate oparent version 12/91212/1
Bin Yang [Thu, 11 Jul 2019 04:44:30 +0000 (04:44 +0000)]
Update oparent version

Change-Id: Ia25e71a0e2181020510127968a512e0cc5d704b1
Issue-ID: MULTICLOUD-698
Signed-off-by: Bin Yang <bin.yang@windriver.com>
4 years agoDocument OJSI-149 vulnerability 65/89465/3
Krzysztof Opasiak [Thu, 6 Jun 2019 00:26:50 +0000 (02:26 +0200)]
Document OJSI-149 vulnerability

Issue-ID: OJSI-149
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: Icdae6c291330acb2ec0c795cfa1df38cc703a062

4 years agoDocument fixed OJSI-153 vulnerability 64/89464/2
Krzysztof Opasiak [Thu, 6 Jun 2019 00:26:09 +0000 (02:26 +0200)]
Document fixed OJSI-153 vulnerability

Issue-ID: OJSI-153
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: I9ece2b23d8db1cece144a8a4331fb5b4a4e469e5

4 years agoDocument fixed OJSI-151 vulnerability 63/89463/2
Krzysztof Opasiak [Thu, 6 Jun 2019 00:25:42 +0000 (02:25 +0200)]
Document fixed OJSI-151 vulnerability

Issue-ID: OJSI-151
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: I7197285720683260881738bb34f12ff6932e9422

4 years agoDocument fixed OJSI-150 vulnerability 62/89462/2
Krzysztof Opasiak [Thu, 6 Jun 2019 00:25:09 +0000 (02:25 +0200)]
Document fixed OJSI-150 vulnerability

Issue-ID: OJSI-150
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: Ie201f563617805e32004445c45c569e7f29f0593

4 years agoDocument fixed OJSI-148 vulnerability 61/89461/2
Krzysztof Opasiak [Thu, 6 Jun 2019 00:24:43 +0000 (02:24 +0200)]
Document fixed OJSI-148 vulnerability

Issue-ID: OJSI-148
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: I92445c93dbf63d233859d4678137440cda45ec5e

4 years agoDocument fixed OJSI-130 vulnerability 60/89460/2
Krzysztof Opasiak [Thu, 6 Jun 2019 00:24:14 +0000 (02:24 +0200)]
Document fixed OJSI-130 vulnerability

Issue-ID: OJSI-130
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: I8bb5634375c15ce2e90d281b33decd21cfe2cf8c

4 years agoImprove security release notes 59/89459/2
Krzysztof Opasiak [Thu, 6 Jun 2019 00:19:55 +0000 (02:19 +0200)]
Improve security release notes

In order to provide users with more details of project's state in
terms of security let's divide the security release notes into three
sections:

- Fixed Security Issues
  Contains a list of security fixes merged during this
  release (especially those reported via OJSI tickets).

- Known Security Issues
  Contains a list of vulnerabilities detected in project during
  release which have not been fixed yet and thus should be mitigated
  by the user.

- Known Vulnerabilities in Used Modules
  Contains information about NexusIQ scan results

Issue-ID: SECCOM-238
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: I1949a66f894ab3765228d0d210812c875fd59bce

4 years agoRelease Note for MultiCloud in Dublin 07/89207/3
Bin Yang [Tue, 4 Jun 2019 05:14:41 +0000 (05:14 +0000)]
Release Note for MultiCloud in Dublin

Change-Id: I40282c7e8a3e7796287c0cb5f9bd602dcbb16495
Issue-ID: MULTICLOUD-671
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
4 years agoFix data incomplete and not json format 64/88464/1
liboNet [Fri, 24 May 2019 23:57:55 +0000 (07:57 +0800)]
Fix data incomplete and not json format

the user needs to know the resource information
and need to get the json format

Change-Id: Id17be27016082bd7c42f8aa6f7a8aa25017e2c8b
Issue-ID: MULTICLOUD-651
Signed-off-by: liboNet <libo.zhu@intel.com>
4 years agoUpgrade to 1.3.4 46/88446/1
liboNet [Fri, 24 May 2019 23:56:02 +0000 (07:56 +0800)]
Upgrade to 1.3.4

This should be done once 1.3.3 artifacts are released

Change-Id: I5699ae11007c6b2427fa94113345377cb24fcf34
Issue-ID: MULTICLOUD-652
Signed-off-by: liboNet <libo.zhu@intel.com>
4 years agoFix port mismatch and return value judgement issue 42/88442/1
liboNet [Fri, 24 May 2019 21:32:49 +0000 (05:32 +0800)]
Fix port mismatch and return value judgement issue

. the port of k8s plugin has changed from 8081 to 9015
. the value from 200 to 300 is acceptable from k8s plugin

Change-Id: I85c61d2275c7913f8c8dbeee0751349552bec29d
Issue-ID: MULTICLOUD-650
Signed-off-by: liboNet <libo.zhu@intel.com>
4 years agoUpgrade to 1.3.3 20/88320/2 1.3.3
liboNet [Thu, 23 May 2019 19:19:25 +0000 (03:19 +0800)]
Upgrade to 1.3.3

This is to workaround that 1.3.2 releasing failure

Change-Id: I70804a0bb2e5fa358fcf4a33cab937a718d84b34
Issue-ID: MULTICLOUD-648
Signed-off-by: liboNet <libo.zhu@intel.com>
4 years agoFix the Gson parse issue while deals with List of IVfModuledata 36/88236/1
liboNet [Thu, 23 May 2019 02:35:53 +0000 (10:35 +0800)]
Fix the Gson parse issue while deals with List of IVfModuledata

use generic method to deal with list of IVfModuledata
send back deploy ok back to SDC once done
add more debug info

Change-Id: Ifed3b50b6bd04888479653b100a713ef8162eab7
Issue-ID: MULTICLOUD-643
Signed-off-by: liboNet <libo.zhu@intel.com>
4 years agoUpdate infra_workload API spec 32/87932/3
Bin Yang [Fri, 17 May 2019 03:45:35 +0000 (03:45 +0000)]
Update infra_workload API spec

Change-Id: Ie5350c60dbcb932cf9dc18fd97aaf5360064c86c
Issue-ID: MULTICLOUD-633
Signed-off-by: Bin Yang <bin.yang@windriver.com>
4 years agoFix rst format issue 25/87825/2
Bin Yang [Thu, 16 May 2019 01:30:11 +0000 (01:30 +0000)]
Fix rst format issue

Change-Id: Ia912bed69d2eb853166caba3b9973f943d2b7c54
Issue-ID: MULTICLOUD-283
Signed-off-by: Bin Yang <bin.yang@windriver.com>
4 years agoAdd Proxied OpenStack API 51/87751/2
Bin Yang [Wed, 15 May 2019 08:38:04 +0000 (08:38 +0000)]
Add Proxied OpenStack API

Add token API description

Change-Id: Ide1978cd41d611c25de6d3a2d44bc274e9b19949
Issue-ID: MULTICLOUD-283
Signed-off-by: Bin Yang <bin.yang@windriver.com>
4 years agoLink to swagger json file 45/87745/1
Bin Yang [Wed, 15 May 2019 07:20:00 +0000 (07:20 +0000)]
Link to swagger json file

Change-Id: I3ca5de0ce16902fa01565b06e5d7d7e5348f21ee
Issue-ID: MULTICLOUD-430
Signed-off-by: Bin Yang <bin.yang@windriver.com>
4 years agoRevert "Update oparent version" 67/87267/1
Jessica Wagantall [Wed, 8 May 2019 18:13:39 +0000 (18:13 +0000)]
Revert "Update oparent version"

This reverts commit 791aec095e4d0662d23641143b8e684d14ed6dbb.

Issue-ID: CIMAN-234
Change-Id: Ideae1bed75980e1d8c3fa49968c9a9e6fd22fcc0
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 years agoUpdate oparent version 75/86875/1
Jessica Wagantall [Thu, 2 May 2019 23:25:24 +0000 (16:25 -0700)]
Update oparent version

Update oparent version to 2.0.0 which supports
global-jjb maven-stage job.

Change-Id: Id884892faa845222920bff589f53c7558531d9f9
Issue-ID: CIMAN-234
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 years agoUpgrade to 1.3.2 49/86349/2
Bin Yang [Fri, 26 Apr 2019 07:02:21 +0000 (07:02 +0000)]
Upgrade to 1.3.2

This should be done once 1.3.1 artifacts are released

Change-Id: I81cf1ec9150db5fca84257d77116ad48c4278dd0
Issue-ID: MULTICLOUD-590
Signed-off-by: Bin Yang <bin.yang@windriver.com>
4 years agomove Dummy forwarder to main package 66/86466/1 1.3.1
liboNet [Sun, 28 Apr 2019 22:18:54 +0000 (06:18 +0800)]
move Dummy forwarder to main package

enable another plugins except k8s to use dummy artifactFowarder
so that need put these Dummy files into main package

Change-Id: Iaf6ec1c11d4eac155010b7dfbf5736884d1a2929
Issue-ID: MULTICLOUD-576
Signed-off-by: liboNet <libo.zhu@intel.com>
4 years agoFix link address of artifact broker package 57/86357/1
liboNet [Fri, 26 Apr 2019 22:31:47 +0000 (06:31 +0800)]
Fix link address of artifact broker package

Change-Id: Id47f4374c201c0a0936e234a428a3a12a2ee843e
Issue-ID: MULTICLOUD-576
Signed-off-by: liboNet <libo.zhu@intel.com>
4 years agoUpgrade version to 1.3.1 43/86343/1
Bin Yang [Fri, 26 Apr 2019 04:43:35 +0000 (04:43 +0000)]
Upgrade version to 1.3.1

1.3.0 was used by integration team for validation

Change-Id: I90147a31d451b4288836242cc3112a1a82357b46
Issue-ID: MULTICLOUD-589
Signed-off-by: Bin Yang <bin.yang@windriver.com>
4 years agoMerge "Fix group id of broker package"
Bin Yang [Fri, 26 Apr 2019 02:00:55 +0000 (02:00 +0000)]
Merge "Fix group id of broker package"

4 years agoFix group id of broker package 37/86337/1
Xiaohua Zhang [Fri, 26 Apr 2019 03:07:33 +0000 (03:07 +0000)]
Fix group id of broker package

Change-Id: I4c4afa865aa841c516b099b6ebcf5f1f85299d61
Issue-ID: MULTICLOUD-588
Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
4 years agoUpdate info.yaml to add new committer 45/85945/5
Bin Yang [Mon, 22 Apr 2019 10:02:02 +0000 (10:02 +0000)]
Update info.yaml to add new committer

Change-Id: I64b3e7e2c0ee4f624281beaea2d4b0c9a4ce909e
Issue-ID: MULTICLOUD-580
Signed-off-by: Bin Yang <bin.yang@windriver.com>
4 years agoMerge "enable merge sdc client part into Distribution release image" 1.3.0
Bin Yang [Fri, 19 Apr 2019 09:04:26 +0000 (09:04 +0000)]
Merge "enable merge sdc client part into Distribution release image"

4 years agoAdd IDE files to gitignore list 43/85743/1
Gaurav Agrawal [Fri, 19 Apr 2019 05:22:54 +0000 (10:52 +0530)]
Add IDE files to gitignore list

Added IDE related files to gitignore list

Change-Id: Ic5cdabed57f600f9252e09026d877e96c6242d33
Issue-ID: MULTICLOUD-569
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
5 years agoenable merge sdc client part into Distribution release image 47/85647/1
liboNet [Thu, 18 Apr 2019 18:10:02 +0000 (02:10 +0800)]
enable merge sdc client part into Distribution release image

. update the defaultConfig.json file to include sdc client configuration
. update the DistriubtionActivator to enable parse sdc client and k8s plugin
. rename xacml pdp to k8s
. fix distribution run-time issue

Change-Id: If267f5c256b19ebdbe7b7b2869afcf2f570e4b24
Issue-ID: MULTICLOUD-576
Signed-off-by: liboNet <libo.zhu@intel.com>
5 years agoMerge "Fix the sonar issue and clm issue"
Bin Yang [Tue, 16 Apr 2019 06:33:04 +0000 (06:33 +0000)]
Merge "Fix the sonar issue and clm issue"

5 years agoFix the sonar issue and clm issue 14/85414/2
liboNet [Tue, 16 Apr 2019 21:25:58 +0000 (05:25 +0800)]
Fix the sonar issue and clm issue

. Fix the bugs by using try-with-resources method
. Add unit test for GsonUtil
. Fix the org.springframework : spring-web issue by removing
  the dependency in forwarding plugin

Change-Id: I01f6461ea2a0f0363247dd3571dd56dcf68a7f90
Issue-ID: MULTICLOUD-569
Signed-off-by: liboNet <libo.zhu@intel.com>
5 years agoadd testcase to improve test coverage 91/85291/1
liboNet [Tue, 16 Apr 2019 00:19:04 +0000 (08:19 +0800)]
add testcase to improve test coverage

. add distribution parameter test case
. remove unused FileSystem plugin
. fix pom.xml of package to include forwarding plugin

Change-Id: I531169dd4cb498ae50e4f2ef93fe3a3eecd33263
Issue-ID: MULTICLOUD-569
Signed-off-by: liboNet <libo.zhu@intel.com>
5 years agoMerge "add testcase to improve test coverage"
Bin Yang [Mon, 15 Apr 2019 08:43:41 +0000 (08:43 +0000)]
Merge "add testcase to improve test coverage"

5 years agoRebase to alpine 66/85166/1
Xiaohua Zhang [Fri, 12 Apr 2019 08:47:03 +0000 (08:47 +0000)]
Rebase to alpine

Change-Id: Icd0a0026dd8562f2eb4679f3d595932a2bb56161
Issue-ID: MULTICLOUD-505
Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
5 years agoadd support to generate docker image for artifactbroker 92/84992/1
liboNet [Thu, 11 Apr 2019 18:41:04 +0000 (02:41 +0800)]
add support to generate docker image for artifactbroker

. add Dockerfile to describe the docker image steps
. add build_image.sh to wrap the generation of image
. Use Alpine as base docker image in distribution to make
  it small

Change-Id: I8a2c8321be176d549063e6ab296adcacb46b9ad3
Issue-ID: MULTICLOUD-548
Signed-off-by: liboNet <libo.zhu@intel.com>
5 years agoMerge "Fix sonar issue of artifactbroker"
Bin Yang [Wed, 10 Apr 2019 12:57:25 +0000 (12:57 +0000)]
Merge "Fix sonar issue of artifactbroker"

5 years agoFix sonar issue of artifactbroker 64/84864/1
liboNet [Thu, 11 Apr 2019 04:23:56 +0000 (12:23 +0800)]
Fix sonar issue of artifactbroker

add try and catch in the filewriter
improve code style

Change-Id: I6352815c75726969325aea4474ffca303846b90f
Issue-ID: MULTICLOUD-569
Signed-off-by: liboNet <libo.zhu@intel.com>
5 years agoAdd UT for apiV1 capcity_check 94/84594/2
Xiaohua Zhang [Tue, 9 Apr 2019 05:03:14 +0000 (05:03 +0000)]
Add UT for apiV1 capcity_check

Change-Id: If5ea7521fd613083e82a83506370e37a6f49e02c
Issue-ID: MULTICLOUD-563
Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
5 years agoAdd multi-tenant support for capacity_check API 61/84461/3
Xiaohua Zhang [Mon, 8 Apr 2019 04:46:18 +0000 (04:46 +0000)]
Add multi-tenant support for capacity_check API

Change-Id: Id7f33327f88d1d687dfe8e2646a43f6d0b51b605
Issue-ID: MULTICLOUD-568
Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
5 years agoMerge "add subplug for k8s to invoke Artifact forward support"
Bin Yang [Thu, 4 Apr 2019 09:24:37 +0000 (09:24 +0000)]
Merge "add subplug for k8s to invoke Artifact forward support"

5 years agoadd subplug for k8s to invoke Artifact forward support 15/84215/1
liboNet [Fri, 5 Apr 2019 00:59:41 +0000 (08:59 +0800)]
add subplug for k8s to invoke Artifact forward support

. add forward plugin to forward Artifact
. add test case to cover basic httpPost action
. fix the misuse of List and ArrayList to avoid Null Pointer

Change-Id: I18ead2ba6251a93fddff4657f3945d635a450276
Issue-ID: MULTICLOUD-514
Signed-off-by: liboNet <libo.zhu@intel.com>
5 years agoUpdate capacity_check API in broker 65/84065/2
Bin Yang [Wed, 3 Apr 2019 09:46:55 +0000 (09:46 +0000)]
Update capacity_check API in broker

Return the AZinfo list

Change-Id: I439381d0012cac422dd8781698a594f980eddad6
Issue-ID: MULTICLOUD-563
Signed-off-by: Bin Yang <bin.yang@windriver.com>
5 years agoPass headers for multi-tenant support 56/84056/2
Bin Yang [Wed, 3 Apr 2019 09:06:30 +0000 (09:06 +0000)]
Pass headers for multi-tenant support

Change-Id: Ibe8aa3818a73d17df30e79ae24cb5d696c47403b
Issue-ID: MULTICLOUD-527
Signed-off-by: Bin Yang <bin.yang@windriver.com>
5 years agoFix the artifact parent issue 85/83985/1
liboNet [Wed, 3 Apr 2019 07:50:50 +0000 (15:50 +0800)]
Fix the artifact parent issue

. the parent should point to org.onap.oparent:oparent:1.2.0
. the groupId for both should be set to org.onap.multicloud.framework

Change-Id: I5e821c8382b8f2297276a0ca508093fccd4c9620
Issue-ID: MULTICLOUD-514
Signed-off-by: liboNet <libo.zhu@intel.com>
5 years agoadd subplugin field support and new Cloud Artifact class 17/83917/1
liboNet [Tue, 2 Apr 2019 18:26:05 +0000 (02:26 +0800)]
add subplugin field support and new Cloud Artifact class

. add subplugin field to integrate with Distribution framework
. add new Cloud Artifact which is to be used by subplugin like k8s
. update test .json file to include reception and forward fields
. add dummy test class to ensure the flow works as expected
. fix typos

Change-Id: I9d69d88e448a18247e19b3b7a6062b20814b5f8c
Issue-ID: MULTICLOUD-512
Signed-off-by: liboNet <libo.zhu@intel.com>
5 years agoadd support to store all the artifacts into locally 92/83792/1
liboNet [Sun, 31 Mar 2019 04:20:26 +0000 (12:20 +0800)]
add support to store all the artifacts into locally

. deal with VFs and store all the artifacts locally
. store all artifacts under artifact_list
. store vfmodule-meta.json file into /data/"VfModuleModelCustomizationUUID"
. store the service info to service-meta.json file
. add subplug invoke flow too

Change-Id: Idca012955c704ed312ae81aa87b35e22af0a4c89
Issue-ID: MULTICLOUD-513
Signed-off-by: liboNet <libo.zhu@intel.com>
5 years agoAdd model to represent VfModuleModel and Artifact management 59/83559/3
liboNet [Thu, 28 Mar 2019 23:29:51 +0000 (07:29 +0800)]
Add model to represent VfModuleModel and Artifact management

. add VfModuleModel to represent content of VfModule
. add Gsonutil to support List which is the content of Vf
  Module meta json
. add CloudArtifact to deal with Artifact for subplug action
. Fix pom.xml typo

Change-Id: Ic459118323bf50939493b0f0feff7ba96dd9a64d
Issue-ID: MULTICLOUD-511
Signed-off-by: liboNet <libo.zhu@intel.com>
5 years agofix the clm issue 36/83436/1
liboNet [Wed, 27 Mar 2019 23:08:06 +0000 (07:08 +0800)]
fix the clm issue

fix the org.json:json issue and
fix the jackson.core issue by excluding them from policy-endpoints
remove the unused sdc-tosca package

Change-Id: I1eb96d95f9acade1b3d1203aa0ccff0aacd083de
Issue-ID: MULTICLOUD-514
Signed-off-by: liboNet <libo.zhu@intel.com>
5 years agoMerge "add SDC client and reception handle"
Bin Yang [Tue, 26 Mar 2019 13:11:38 +0000 (13:11 +0000)]
Merge "add SDC client and reception handle"

5 years agoadd SDC client and reception handle 79/83279/3
liboNet [Tue, 26 Mar 2019 16:49:32 +0000 (00:49 +0800)]
add SDC client and reception handle

. add reception framework wraps handle and subplug interface
. add plugins include sdc handler now.
. add forward acts the post interface for specified item like artifact
. add model acts for the sepcifeid item like CSAR
. update pom.xml and package/pom.xml to includes all submodules
. Fix the compile issue by typo and change groupid to framework

Change-Id: Idbff0ca612045c6ee52ba23cd305f2764c9600f8
Issue-ID: MULTICLOUD-514
Signed-off-by: liboNet <libo.zhu@intel.com>
5 years agoFix pom format error 36/83136/1
Xiaohua Zhang [Mon, 25 Mar 2019 07:29:20 +0000 (07:29 +0000)]
Fix pom format error

Change-Id: Ie333cbf9e65241310222bb87dcc6bd4c9fb87112
Issue-ID: MULTICLOUD-546
Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
5 years agorename the assembly setting 97/82997/1
liboNet [Fri, 22 Mar 2019 19:10:37 +0000 (03:10 +0800)]
rename the assembly setting

To fix the packing assembly  issue.
there should be a zip file generated

Change-Id: I82bc9fc87be1bcf8b87e75e9f8f5870efa9ea7cf
Issue-ID: MULTICLOUD-546
Signed-off-by: liboNet <libo.zhu@intel.com>
5 years agoadd packages support for artifact broker 76/82876/2
liboNet [Thu, 21 Mar 2019 18:35:16 +0000 (02:35 +0800)]
add packages support for artifact broker

add a submodule of packages to generate a .zip file.
update related pom.xml to make it friendly readable.
use the 9014 as healthcheck targetPort

Change-Id: I98ed96639bbf6ecfeb87f1bffe2e55e7a62ac062
Issue-ID: MULTICLOUD-546
Signed-off-by: liboNet <libo.zhu@intel.com>
5 years agoadd rest serve and distribution framework 73/82773/1
liboNet [Thu, 21 Mar 2019 00:01:55 +0000 (08:01 +0800)]
add rest serve and distribution framework

. update the pom.xml to include a submodule main
. add all common necessnary package into pom.xml
. add rest server and test case
. port the distribution framework
. which supports both http and https

Change-Id: I5ccc712342fc8929d11e553f3e09f36e93a80935
Issue-ID: MULTICLOUD-546
Signed-off-by: liboNet <libo.zhu@intel.com>
5 years agoFix the sonar scirpt issue under multivimbroker 63/82763/1
liboNet [Wed, 20 Mar 2019 23:13:32 +0000 (07:13 +0800)]
Fix the sonar scirpt issue under multivimbroker

move the sonar related setting to submodule

Change-Id: I64ce83a0c7f362f49e68c2f9ae8c77e0d0a376a2
Issue-ID: MULTICLOUD-532
Signed-off-by: liboNet <libo.zhu@intel.com>
5 years ago add submodule support in framework 21/82621/1
liboNet [Tue, 19 Mar 2019 19:10:03 +0000 (03:10 +0800)]
add submodule support in framework

    support multi broker and fix sonar.sh issue
    . add a new module of artifact broker
    . update framework pom.xml to support submodules
    . update the multivim broker to align with the case
      like subplugins under openstack
    . remove the duplicated sonar.sh

Change-Id: Ie41dc07aed9e015208e79aadff204747269af638
Issue-ID: MULTICLOUD-532
Signed-off-by: liboNet <libo.zhu@intel.com>
5 years agoMerge "Add create of workload update in AAI"
Bin Yang [Tue, 19 Mar 2019 02:58:32 +0000 (02:58 +0000)]
Merge "Add create of workload update in AAI"

5 years agoProposal on SDC Client Design 51/75851/18
liboNet [Wed, 16 Jan 2019 22:52:08 +0000 (06:52 +0800)]
Proposal on SDC Client Design

some ideas about how to implmenent it useable for
both k8s and openstack/windRiver
. implement it as an artifact management include a
sdc client and add subplugin configuration
. align with Eric's proposal on SO-to-Multicloud API
enhancements
. add and update the example about downloaded files layout

Change-Id: Ia5a22482fa3c1c11ba1195fa7b8be4dcd67fe662
Issue-ID: MULTICLOUD-436
Signed-off-by: liboNet <libo.zhu@intel.com>
5 years agoAdd create of workload update in AAI 83/82183/1
Eric Multanen [Thu, 14 Mar 2019 05:49:38 +0000 (22:49 -0700)]
Add create of workload update in AAI

Add call to multicloud to update AAI with workload
detailed information (aka Heatbridge for OpenStack).
Add AAI update status responses to the workload
query call.

Change-Id: I6f9ab74e0090f0fbf170b1f0e0c40c65fd928b70
Issue-ID: MULTICLOUD-486
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
5 years agoUpdate API spec to support multi-tenants 85/82085/2
Bin Yang [Wed, 13 Mar 2019 07:28:27 +0000 (15:28 +0800)]
Update API spec to support multi-tenants

Enable multicloud to support multi-tenants
of a cloud region while being backward compatible
which support the default tenant

Change-Id: I0b82e9dfb1e279c5adf780c06d26e2278f7d47d7
Issue-ID: MULTICLOUD-528
Signed-off-by: Bin Yang <bin.yang@windriver.com>
5 years agoSet Highest cipher for https 12/81912/1
Xiaohua Zhang [Mon, 11 Mar 2019 08:38:37 +0000 (08:38 +0000)]
Set Highest cipher for https

Change-Id: I66dca8548e88b9c006ee3bee257a4dc07dba50f6
Issue-ID: MULTICLOUD-522
Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
5 years agoAdd https support for multicloud broker 29/81829/1
Xiaohua Zhang [Fri, 8 Mar 2019 06:08:47 +0000 (06:08 +0000)]
Add https support for multicloud broker

The https endpoint can be enabled by setting env: SSL_ENABLED=true

Change-Id: I69d1301df24492df11b782f19ae3ef36c25f1d94
Issue-ID: MULTICLOUD-522
Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
5 years agoUpgrade to 1.3.0 for dublin 18/81818/1
Xiaohua Zhang [Fri, 8 Mar 2019 02:06:19 +0000 (02:06 +0000)]
Upgrade to 1.3.0 for dublin

Change-Id: Iae553e1c960571d99faf6b5aba39c70edf0f867e
Issue-ID: MULTICLOUD-432
Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
5 years agoOptimize Docker image footprint 82/79582/6
Bin Yang [Mon, 4 Mar 2019 04:30:40 +0000 (04:30 +0000)]
Optimize Docker image footprint

Rebase to python:2-slim
Remove unused pip packages

Change-Id: Idc9dfdc11d4792a63c7c144587c13705e87bb4bc
Issue-ID: MULTICLOUD-505
Signed-off-by: Bin Yang <bin.yang@windriver.com>
5 years agoAdd vsphere type 37/79437/1
Ethan Lynn [Fri, 1 Mar 2019 08:56:35 +0000 (16:56 +0800)]
Add vsphere type

Add vsphere type and point to multicloud-vio

Change-Id: I6eab1b61892a9caa999d09cdc5e5dda174f3561b
Issue-ID: MULTICLOUD-488
Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
5 years agoupgrade onappylog version 31/79431/1
liangke [Fri, 1 Mar 2019 07:27:26 +0000 (15:27 +0800)]
upgrade onappylog version

Change-Id: I0e0bcd43cfd3ad815d7e059b0abb5aaf43afcbfb
Issue-ID: MULTICLOUD-481
Signed-off-by: liangke <lokyse@163.com>
5 years agoMerge "Draft the enhancement of capacity_check API"
Huang Haibin [Mon, 25 Feb 2019 05:20:32 +0000 (05:20 +0000)]
Merge "Draft the enhancement of capacity_check API"

5 years agoRun multicloud broker service as non root user 92/78892/2
Bin Yang [Thu, 21 Feb 2019 03:59:31 +0000 (03:59 +0000)]
Run multicloud broker service as non root user

Change-Id: Ib9e2d1647a3b18a6916e672bb6017bdd01908749
Issue-ID: MULTICLOUD-495
Signed-off-by: Bin Yang <bin.yang@windriver.com>
5 years agoDraft the enhancement of capacity_check API 34/78634/5
Bin Yang [Mon, 18 Feb 2019 09:31:49 +0000 (09:31 +0000)]
Draft the enhancement of capacity_check API

To support F-GPS at AZ level

Change-Id: Idc89afaaa1e649ec5735ce5b537dc37cca71a5a7
Issue-ID: MULTICLOUD-485
Signed-off-by: Bin Yang <bin.yang@windriver.com>
5 years agoMerge "Fix infraworkload forwarder"
Bin Yang [Tue, 19 Feb 2019 02:15:28 +0000 (02:15 +0000)]
Merge "Fix infraworkload forwarder"

5 years agoUpdate committer INFO 25/78625/2
Bin Yang [Mon, 18 Feb 2019 06:19:11 +0000 (06:19 +0000)]
Update committer INFO

Remove those committers who decided to step down as a committer

Change-Id: If12e3f3cbc16582e81fab7265d7584e29bf3f688
Issue-ID: MULTICLOUD-484
Signed-off-by: Bin Yang <bin.yang@windriver.com>
5 years agoFix infraworkload forwarder 57/78357/2
Ethan Lynn [Wed, 13 Feb 2019 03:41:10 +0000 (11:41 +0800)]
Fix infraworkload forwarder

Check content_Type, if is multipart, then use multipart handler,
otherwise use normal forwarder.

Change-Id: Ia84b859168d3301390c4ec28be850800ae4677ed
Issue-ID: MULTICLOUD-476
Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
5 years agoUpdate the fixed bug list 01/77701/3
Bin Yang [Fri, 1 Feb 2019 09:18:52 +0000 (09:18 +0000)]
Update the fixed bug list

Change-Id: Icca79092aebf5e5554b01c90569dc9d5a9db2859
Issue-ID: MULTICLOUD-453
Signed-off-by: Bin Yang <bin.yang@windriver.com>
5 years agoMerge "RN for Casablanca Maintenance Release"
Huang Haibin [Wed, 30 Jan 2019 01:56:33 +0000 (01:56 +0000)]
Merge "RN for Casablanca Maintenance Release"

5 years agoRN for Casablanca Maintenance Release 03/76103/3
Bin Yang [Tue, 22 Jan 2019 09:36:56 +0000 (09:36 +0000)]
RN for Casablanca Maintenance Release

Change-Id: I6b4c9279652960827104d8cf6c49fc23a1bb8831
Issue-ID: MULTICLOUD-453
Signed-off-by: Bin Yang <bin.yang@windriver.com>
5 years agoAdd starlingx for framework 13/75913/1
Haibin Huang [Thu, 17 Jan 2019 05:43:35 +0000 (13:43 +0800)]
Add starlingx for framework

Add starlingx support which make we can call the plugin by framework.

Change-Id: Ib84bc6c3d4ad4d38646fd50913efe3baa2fdd900
Issue-ID: MULTICLOUD-428
Signed-off-by: Haibin Huang <haibin.huang@intel.com>
5 years agoMerge "Add links to Security Vulnerability"
Bin Yang [Thu, 29 Nov 2018 03:41:04 +0000 (03:41 +0000)]
Merge "Add links to Security Vulnerability"

5 years agoAdd links to Security Vulnerability 63/73863/1
Gildas Lanilis [Thu, 29 Nov 2018 00:33:39 +0000 (16:33 -0800)]
Add links to Security Vulnerability

Update RN by adding links to Security Vulnerability

Change-Id: If91b6c4ec80f9bbe0fb032e10025e99082940ab9
Issue-ID: DOC-333
Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.com>
Signed-off-by: Bin Yang <bin.yang@windriver.com>
5 years agoRefactor the rst 59/73859/1
Bin Yang [Wed, 28 Nov 2018 07:23:15 +0000 (07:23 +0000)]
Refactor the rst

Specify release version which support vCPE TOSCA VNF use case

Change-Id: I8663fcb8e8fd1c943fc8254e9a30bca91fdccead
Issue-ID: MULTICLOUD-422
Signed-off-by: Bin Yang <bin.yang@windriver.com>
(cherry picked from commit e455c741c34660dacaa1643ef0a660e7b3efac90)