summaryrefslogtreecommitdiffstats
path: root/common-app-api/src
diff options
context:
space:
mode:
authoraribeiro <anderson.ribeiro@est.tech>2020-05-05 14:36:38 +0100
committerOfir Sonsino <ofir.sonsino@intl.att.com>2020-05-28 07:48:07 +0000
commit9f7430db214092bba954fa07fd3e72e333116cfa (patch)
tree0c7f688aa95e5280315a7b5736569a8ed5dbd0fc /common-app-api/src
parent6909f0c827bb46180fafc9d306d500e032ae7e0b (diff)
Allow global types generation
This change allows to configure which global type file will be added to the generated CSAR Issue-ID: SDC-3021 Change-Id: I83c0c3f317c4a4e5e8dbf22cb3dbd47e63562d3a Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Diffstat (limited to 'common-app-api/src')
-rw-r--r--common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java9
1 files changed, 9 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 b574f67644..b70a16193c 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
@@ -79,6 +79,7 @@ public class Configuration extends BasicConfiguration {
private Long uebHealthCheckReadTimeout;
private List<Map<String, Map<String, String>>> defaultImports;
+ private List<String> globalCsarImports;
private List<String> resourceTypes;
private List<String> excludeResourceCategory;
private List<String> excludeResourceType;
@@ -1577,6 +1578,14 @@ public class Configuration extends BasicConfiguration {
this.artifactsIndex = artifactsIndex;
}
+ public List<String> getGlobalCsarImports() {
+ return globalCsarImports;
+ }
+
+ public void setGlobalCsarImports(List<String> globalCsarImports) {
+ this.globalCsarImports = globalCsarImports;
+ }
+
public List<String> getResourceTypes() {
return resourceTypes;
}