summaryrefslogtreecommitdiffstats
path: root/artifactbroker
AgeCommit message (Collapse)AuthorFilesLines
2020-03-17Bump up patch version after release 1.5.1Bin Yang10-12/+12
Issue-ID: MULTICLOUD-1032 Signed-off-by: Bin Yang <bin.yang@windriver.com> Change-Id: I0a470b1b8d32aa53f5a5a1e42dd1f576997fbb11
2020-02-25fix sonarcloud coverage rate issue1.5.1Liang Ding1-4/+8
Change-Id: Ice1dedbb3fe2a1aa90e35186774f8b5a37632887 Issue-ID: MULTICLOUD-982 Signed-off-by: Liang Ding <liang.ding@intel.com>
2020-01-28Fix k8s artifact url for uploadEric Multanen1-2/+2
Fix the broker to upload to the correct name based on vfmodule model invariant and version ids. Change-Id: I45e2fe845d3f61d78a5d1499fd0aa5c0b4475a34 Issue-ID: MULTICLOUD-982 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2020-01-23Upgrade patch version to 1.5.1Bin Yang10-12/+12
Change-Id: Ia1dc607761af0aff9cd2118123ede6e6120e8535 Issue-ID: MULTICLOUD-979 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-12-13Save k8s definition using vfmodule model idsEric Multanen2-2/+10
Use the vfmodule model invariant id as the resource bundle definition name and the vfmodule model version as the resource bundle definition version when saving the resource bundle. Change-Id: Iaa3fcbf72f40ea1d4df5c46f7bb6d0c797a9e7e1 Issue-ID: MULTICLOUD-836 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2019-10-25Merge "Create definitions for multiple vf-modules"Bin Yang1-8/+34
2019-10-24Bump up version to 1.5.0Bin Yang10-12/+12
Issue-ID: MULTICLOUD-868 Signed-off-by: Bin Yang <Bin.Yang@windriver.com> Change-Id: I1823f9c01b0b030d4b59690d1097eae8ce488ab9
2019-10-22Create definitions for multiple vf-modulesLukasz Rajewski1-8/+34
This fix does not change distribution when there is one dummy heat and one cloud technology artifact. When there is more than one dummy heat or more than one cloud technology artifact forwarder will try to match them base on the name of the heat file that should match the prefix of the name of cloud artifact. There is no need to change use cases of vFW and EdgeX showcased for Dublin and ElAlto neither their descriptions should be changed. Issue-ID: MULTICLOUD-869 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I4d44ea22b412546806ee7dbcdb7e3c9ed644349a
2019-09-27Bump version after releasing 1.4.1Bin Yang10-12/+12
Issue-ID: MULTICLOUD-808 Signed-off-by: Bin Yang <Bin.Yang@windriver.com> Change-Id: I1de9ee3ab269a6027378b9c661858833af5e22e7
2019-09-06Upgrade version to 1.4.1Bin Yang10-12/+12
Change-Id: If9f6d606bef69c265376aaf6a20e4f213cf76a25 Issue-ID: MULTICLOUD-807 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-09-06Fix copy-resource issue of artifactbrokerLiang Ding5-85/+85
-- modification should be made in packages/pom.xml instead of the one in artifactbroker root Change-Id: Ic2f3209b3a2249f7bbba1f4e6f08f6f20d964dcf Issue-ID: MULTICLOUD-806 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-09-05Fix copy-resource issue of artifactbrokerLiang Ding2-4/+4
-- fix docker generation issue Change-Id: Ic312109c1f706b2b817bf11230f49e4196ce4f47 Issue-ID: MULTICLOUD-806 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-09-05Fix copy-resource issue of artifactbrokerLiang Ding2-2/+15
- 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>
2019-08-08fix an issue of profile in artifactbroker pom.xmlLiang Ding1-5/+5
Change-Id: Ia377c321eb11da1bafcb4575bcf5953934aad6ab Issue-ID: MULTICLOUD-765 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-08-08generate the 1.4.0 docker image for artifactbrokerLiang Ding1-0/+72
Change-Id: I3d6b3c2be5e30ecbbc6d461f09fea392f6507037 Issue-ID: MULTICLOUD-764 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-07-11Add more detail to the debug messagesKiran Kamineni1-18/+18
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
2019-07-12Fix the pom parent issue, should use the same one as multivimbroker usesliboNet1-3/+3
Change-Id: I7153334afdd1d3483bb2d73df1dde5ac23e6665a Issue-ID: MULTICLOUD-701 Signed-off-by: liboNet <libo.zhu@intel.com>
2019-07-11Bump version for E releaseBin Yang11-14/+14
from 1.3.4 to 1.4.0 Change-Id: I51e1eced5c683deb4986213a6667b34893a1b8e1 Issue-ID: MULTICLOUD-701 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-07-11Update oparent versionBin Yang1-2/+1
Change-Id: Ia25e71a0e2181020510127968a512e0cc5d704b1 Issue-ID: MULTICLOUD-698 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-05-25Fix data incomplete and not json formatliboNet1-1/+3
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>
2019-05-25Upgrade to 1.3.4liboNet11-14/+14
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>
2019-05-25Fix port mismatch and return value judgement issueliboNet1-4/+6
. 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>
2019-05-23Upgrade to 1.3.31.3.3liboNet11-14/+14
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>
2019-05-23Fix the Gson parse issue while deals with List of IVfModuledataliboNet1-6/+30
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>
2019-05-08Revert "Update oparent version"Jessica Wagantall1-1/+1
This reverts commit 791aec095e4d0662d23641143b8e684d14ed6dbb. Issue-ID: CIMAN-234 Change-Id: Ideae1bed75980e1d8c3fa49968c9a9e6fd22fcc0 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-05-02Update oparent versionJessica Wagantall1-1/+1
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>
2019-05-01Upgrade to 1.3.2Bin Yang11-14/+14
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>
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 Yang11-14/+14
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-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-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>