summaryrefslogtreecommitdiffstats
path: root/artifactbroker
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-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-03Fix the artifact parent issueliboNet1-4/+5
. 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-20 add submodule support in frameworkliboNet2-0/+49
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>