aboutsummaryrefslogtreecommitdiffstats
path: root/common-app-api/src/main/java/org
diff options
context:
space:
mode:
authorJvD_Ericsson <jeff.van.dam@est.tech>2023-04-06 12:59:17 +0100
committerMichael Morris <michael.morris@est.tech>2023-04-26 15:39:45 +0000
commit7c6e28c7023753678f7048aeecf8122eebcf92a9 (patch)
treee49851d42f3bef9a89afaef46df8f85a9afc9f8a /common-app-api/src/main/java/org
parent6c9da5ab227fa535249e8bb56c7cef01a74c6fb1 (diff)
Support definition of custom tosca function names through configuration
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ifc3e19350c0b2b2b6092e93b6d269d95a8e06ba3 Issue-ID: SDC-4469
Diffstat (limited to 'common-app-api/src/main/java/org')
-rw-r--r--common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java11
1 files changed, 11 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 f2bad701df..b73396352c 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
@@ -17,6 +17,7 @@
* limitations under the License.
* ============LICENSE_END=========================================================
*/
+
package org.openecomp.sdc.be.config;
import static java.lang.String.format;
@@ -99,6 +100,7 @@ public class Configuration extends BasicConfiguration {
private List<String> licenseTypes;
private List<String> definedResourceNamespace;
private List<String> directives;
+ private List<CustomToscaFunction> defaultCustomToscaFunctions;
private Integer additionalInformationMaxNumberOfKeys;
private HeatDeploymentArtifactTimeout heatArtifactDeploymentTimeout;
private BeMonitoringConfig systemMonitoring;
@@ -528,4 +530,13 @@ public class Configuration extends BasicConfiguration {
private String defaultFormat;
}
+ @Getter
+ @Setter
+ @NoArgsConstructor
+ public static class CustomToscaFunction {
+
+ private String name;
+ private String type;
+ }
+
}