summaryrefslogtreecommitdiffstats
path: root/artifactbroker/model/src/main/java
diff options
context:
space:
mode:
authorEric Multanen <eric.w.multanen@intel.com>2019-12-13 15:28:14 -0800
committerEric Multanen <eric.w.multanen@intel.com>2019-12-13 15:28:14 -0800
commit0f0175254dc2ea1d3e995f7abe00552f36d7bf53 (patch)
treeed91e9f653406006dbc860139d4dbc161b746382 /artifactbroker/model/src/main/java
parent2ce0d6fc05dc109df71b87ca8350628dabaa7a6b (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/model/src/main/java')
-rw-r--r--artifactbroker/model/src/main/java/org/onap/policy/distribution/model/VfModuleModel.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/artifactbroker/model/src/main/java/org/onap/policy/distribution/model/VfModuleModel.java b/artifactbroker/model/src/main/java/org/onap/policy/distribution/model/VfModuleModel.java
index 220dc57..1f0762c 100644
--- a/artifactbroker/model/src/main/java/org/onap/policy/distribution/model/VfModuleModel.java
+++ b/artifactbroker/model/src/main/java/org/onap/policy/distribution/model/VfModuleModel.java
@@ -50,6 +50,14 @@ public class VfModuleModel {
return vfModuleModelVersion;
}
+ public String getVfModuleModelInvariantUUID() {
+ return vfModuleModelInvariantUUID;
+ }
+
+ public String getVfModuleModelUUID() {
+ return vfModuleModelUUID;
+ }
+
public String getVfModuleModelCustomizationUUID() {
return vfModuleModelCustomizationUUID;
}