summaryrefslogtreecommitdiffstats
path: root/common-app-api
diff options
context:
space:
mode:
Diffstat (limited to 'common-app-api')
-rw-r--r--common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java18
1 files changed, 14 insertions, 4 deletions
diff --git a/common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java b/common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java
index b70a16193c..ddc941de68 100644
--- a/common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java
+++ b/common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java
@@ -159,6 +159,7 @@ public class Configuration extends BasicConfiguration {
private List<GabConfig> gabConfig;
private EcompPortalConfig ecompPortal;
private List<ArtifactConfiguration> artifacts;
+ private Map<String, Map<String, List<String>>> componentAllowedInstanceTypes;
public List<ArtifactConfiguration> getArtifacts() {
return artifacts;
@@ -168,6 +169,15 @@ public class Configuration extends BasicConfiguration {
this.artifacts = artifacts;
}
+ public Map<String, Map<String, List<String>>> getComponentAllowedInstanceTypes() {
+ return componentAllowedInstanceTypes;
+ }
+
+ public void setComponentAllowedInstanceTypes(
+ final Map<String, Map<String, List<String>>> componentAllowedInstanceTypes) {
+ this.componentAllowedInstanceTypes = componentAllowedInstanceTypes;
+ }
+
public String getAutoHealingOwner() {
return autoHealingOwner;
}
@@ -258,19 +268,19 @@ public class Configuration extends BasicConfiguration {
public void setGenericAssetNodeTypes(Map<String, String> genericAssetNodeTypes) {
this.genericAssetNodeTypes = genericAssetNodeTypes;
}
-
+
public Map<String, String> getServiceNodeTypes(){
return serviceNodeTypes ;
}
-
+
public void setServiceNodeTypes(Map<String, String> serviceNodeTypes){
this.serviceNodeTypes = serviceNodeTypes;
}
-
+
public Map<String, Map<String, String>> getResourceNodeTypes(){
return resourceNodeTypes;
}
-
+
public void setResourceNodeTypes(Map<String, Map<String, String>> resourceNodeTypes){
this.resourceNodeTypes = resourceNodeTypes;
}