diff options
author | Eric Multanen <eric.w.multanen@intel.com> | 2019-12-13 15:28:14 -0800 |
---|---|---|
committer | Eric Multanen <eric.w.multanen@intel.com> | 2019-12-13 15:28:14 -0800 |
commit | 0f0175254dc2ea1d3e995f7abe00552f36d7bf53 (patch) | |
tree | ed91e9f653406006dbc860139d4dbc161b746382 /artifactbroker/plugins/forwarding-plugins/src/main | |
parent | 2ce0d6fc05dc109df71b87ca8350628dabaa7a6b (diff) |
Save k8s definition using vfmodule model ids
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>
Diffstat (limited to 'artifactbroker/plugins/forwarding-plugins/src/main')
-rw-r--r-- | artifactbroker/plugins/forwarding-plugins/src/main/java/org/onap/policy/distribution/forwarding/k8s/K8sArtifactForwarder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/artifactbroker/plugins/forwarding-plugins/src/main/java/org/onap/policy/distribution/forwarding/k8s/K8sArtifactForwarder.java b/artifactbroker/plugins/forwarding-plugins/src/main/java/org/onap/policy/distribution/forwarding/k8s/K8sArtifactForwarder.java index 894f0c1..52c0617 100644 --- a/artifactbroker/plugins/forwarding-plugins/src/main/java/org/onap/policy/distribution/forwarding/k8s/K8sArtifactForwarder.java +++ b/artifactbroker/plugins/forwarding-plugins/src/main/java/org/onap/policy/distribution/forwarding/k8s/K8sArtifactForwarder.java @@ -111,8 +111,8 @@ public class K8sArtifactForwarder implements ArtifactForwarder { .create(); Map<String, Object> map = new LinkedHashMap<String, Object>(); - map.put("rb-name", vfModule.getVfModuleModelName()); - map.put("rb-version", vfModule.getVfModuleModelVersion()); + map.put("rb-name", vfModule.getVfModuleModelInvariantUUID()); + map.put("rb-version", vfModule.getVfModuleModelUUID()); map.put("descritpion",vfModule.getVfModuleModelDescription()); Map<String, String> labelMap = new LinkedHashMap<String, String>(); labelMap.put("vnf_customization_uuid",vfModule.getVfModuleModelCustomizationUUID()); |