summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-04-29move Dummy forwarder to main package1.3.1liboNet4-0/+0
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>
2019-04-27Fix link address of artifact broker packageliboNet2-3/+2
Change-Id: Id47f4374c201c0a0936e234a428a3a12a2ee843e Issue-ID: MULTICLOUD-576 Signed-off-by: liboNet <libo.zhu@intel.com>
2019-04-26Upgrade version to 1.3.1Bin Yang17-21/+21
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>
2019-04-26Merge "Fix group id of broker package"Bin Yang1-1/+1
2019-04-26Fix group id of broker packageXiaohua Zhang1-1/+1
Change-Id: I4c4afa865aa841c516b099b6ebcf5f1f85299d61 Issue-ID: MULTICLOUD-588 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-24Update info.yaml to add new committerBin Yang1-42/+53
Change-Id: I64b3e7e2c0ee4f624281beaea2d4b0c9a4ce909e Issue-ID: MULTICLOUD-580 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-19Merge "enable merge sdc client part into Distribution release image"1.3.0Bin Yang9-51/+171
2019-04-19Add IDE files to gitignore listGaurav Agrawal1-3/+12
Added IDE related files to gitignore list Change-Id: Ic5cdabed57f600f9252e09026d877e96c6242d33 Issue-ID: MULTICLOUD-569 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2019-04-19enable merge sdc client part into Distribution release imageliboNet9-51/+171
. 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>
2019-04-16Merge "Fix the sonar issue and clm issue"Bin Yang8-177/+157
2019-04-17Fix the sonar issue and clm issueliboNet8-177/+157
. 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>
2019-04-16add testcase to improve test coverageliboNet25-258/+1676
. 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>
2019-04-15Merge "add testcase to improve test coverage"Bin Yang25-258/+1676
2019-04-12Rebase to alpineXiaohua Zhang3-9/+8
Change-Id: Icd0a0026dd8562f2eb4679f3d595932a2bb56161 Issue-ID: MULTICLOUD-505 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-12add support to generate docker image for artifactbrokerliboNet3-0/+129
. 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>
2019-04-10Merge "Fix sonar issue of artifactbroker"Bin Yang3-27/+33
2019-04-11Fix sonar issue of artifactbrokerliboNet3-27/+33
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>
2019-04-09Add UT for apiV1 capcity_checkXiaohua Zhang1-0/+103
Change-Id: If5ea7521fd613083e82a83506370e37a6f49e02c Issue-ID: MULTICLOUD-563 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-08Add multi-tenant support for capacity_check APIXiaohua Zhang2-2/+8
Change-Id: Id7f33327f88d1d687dfe8e2646a43f6d0b51b605 Issue-ID: MULTICLOUD-568 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-04Merge "add subplug for k8s to invoke Artifact forward support"Bin Yang14-13/+1188
2019-04-05add subplug for k8s to invoke Artifact forward supportliboNet14-13/+1188
. 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>
2019-04-03Update capacity_check API in brokerBin Yang1-0/+2
Return the AZinfo list Change-Id: I439381d0012cac422dd8781698a594f980eddad6 Issue-ID: MULTICLOUD-563 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-03Pass headers for multi-tenant supportBin Yang1-0/+8
Change-Id: Ibe8aa3818a73d17df30e79ae24cb5d696c47403b Issue-ID: MULTICLOUD-527 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-03Fix the artifact parent issueliboNet2-8/+10
. 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>
2019-04-03add subplugin field support and new Cloud Artifact classliboNet27-59/+764
. 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>
2019-03-31add support to store all the artifacts into locallyliboNet1-16/+135
. 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>
2019-03-29Add model to represent VfModuleModel and Artifact managementliboNet4-19/+168
. 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>
2019-03-28fix the clm issueliboNet2-6/+23
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>
2019-03-26Merge "add SDC client and reception handle"Bin Yang63-5/+4707
2019-03-27add SDC client and reception handleliboNet63-5/+4707
. 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>
2019-03-25Fix pom format errorXiaohua Zhang1-1/+0
Change-Id: Ie333cbf9e65241310222bb87dcc6bd4c9fb87112 Issue-ID: MULTICLOUD-546 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-03-23rename the assembly settingliboNet2-7/+8
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>
2019-03-22add packages support for artifact brokerliboNet9-1/+441
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>
2019-03-21add rest serve and distribution frameworkliboNet24-2/+2194
. 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>
2019-03-21Fix the sonar scirpt issue under multivimbrokerliboNet2-10/+7
move the sonar related setting to submodule Change-Id: I64ce83a0c7f362f49e68c2f9ae8c77e0d0a376a2 Issue-ID: MULTICLOUD-532 Signed-off-by: liboNet <libo.zhu@intel.com>
2019-03-20 add submodule support in frameworkliboNet6-155/+124
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>
2019-03-19Merge "Add create of workload update in AAI"Bin Yang1-1/+46
2019-03-20Proposal on SDC Client DesignliboNet2-1/+192
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>
2019-03-13Add create of workload update in AAIEric Multanen1-1/+46
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>
2019-03-14Update API spec to support multi-tenantsBin Yang2-0/+52
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>
2019-03-11Set Highest cipher for httpsXiaohua Zhang1-1/+1
Change-Id: I66dca8548e88b9c006ee3bee257a4dc07dba50f6 Issue-ID: MULTICLOUD-522 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-03-08Add https support for multicloud brokerXiaohua Zhang5-3/+61
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>
2019-03-08Upgrade to 1.3.0 for dublinXiaohua Zhang6-9/+9
Change-Id: Iae553e1c960571d99faf6b5aba39c70edf0f867e Issue-ID: MULTICLOUD-432 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-03-05Optimize Docker image footprintBin Yang8-20/+71
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>
2019-03-01Add vsphere typeEthan Lynn3-2/+14
Add vsphere type and point to multicloud-vio Change-Id: I6eab1b61892a9caa999d09cdc5e5dda174f3561b Issue-ID: MULTICLOUD-488 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2019-03-01upgrade onappylog versionliangke1-1/+1
Change-Id: I0e0bcd43cfd3ad815d7e059b0abb5aaf43afcbfb Issue-ID: MULTICLOUD-481 Signed-off-by: liangke <lokyse@163.com>
2019-02-25Merge "Draft the enhancement of capacity_check API"Huang Haibin1-3/+51
2019-02-21Run multicloud broker service as non root userBin Yang1-2/+7
Change-Id: Ib9e2d1647a3b18a6916e672bb6017bdd01908749 Issue-ID: MULTICLOUD-495 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-02-21Draft the enhancement of capacity_check APIBin Yang1-3/+51
To support F-GPS at AZ level Change-Id: Idc89afaaa1e649ec5735ce5b537dc37cca71a5a7 Issue-ID: MULTICLOUD-485 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-02-19Merge "Fix infraworkload forwarder"Bin Yang2-14/+15