aboutsummaryrefslogtreecommitdiffstats
path: root/common-app-api/src/main/java/org/openecomp
diff options
context:
space:
mode:
authorMichaelMorris <michael.morris@est.tech>2020-04-06 15:44:56 +0100
committerOfir Sonsino <ofir.sonsino@intl.att.com>2020-05-07 08:14:26 +0000
commitf8bc4f94da584d5861827df7ee2107c33f514a55 (patch)
tree4f16ccc40d1ecfce5b6d1e85ce731f9f1eb3d45d /common-app-api/src/main/java/org/openecomp
parenta36531c38fe1a9234b8dbeaed5505cf3ca48de26 (diff)
Support configuring of tosca type for categories
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-2877 Change-Id: I3160c5089979757628f31a44b01836236563b770
Diffstat (limited to 'common-app-api/src/main/java/org/openecomp')
-rw-r--r--common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java18
1 files changed, 18 insertions, 0 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 f9f4bc14ae..b574f67644 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
@@ -131,6 +131,8 @@ public class Configuration extends BasicConfiguration {
private Map<String, VfModuleProperty> vfModuleProperties;
private Map<String, String> genericAssetNodeTypes;
+ private Map<String, String> serviceNodeTypes;
+ private Map<String, Map<String, String>> resourceNodeTypes;
private String appVersion;
private String artifactGeneratorConfig;
@@ -255,6 +257,22 @@ 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;
+ }
public SwitchoverDetectorConfig getSwitchoverDetector() {
return switchoverDetector;