From 6140bdb1768134828d68d02c392c0cade6739d3b Mon Sep 17 00:00:00 2001 From: MichaelMorris Date: Thu, 5 May 2022 18:07:31 +0100 Subject: Fix additional_types file being deleted Signed-off-by: MichaelMorris Issue-ID: SDC-3989 Change-Id: I6b22be3890d1e80b564ec66ab08ea7fe5f36bbe6 --- .../org/openecomp/sdc/be/model/operations/impl/ModelOperation.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'catalog-model/src/main/java/org') diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/operations/impl/ModelOperation.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/operations/impl/ModelOperation.java index 8118eb3619..01e5cdcd40 100644 --- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/operations/impl/ModelOperation.java +++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/operations/impl/ModelOperation.java @@ -18,6 +18,8 @@ */ package org.openecomp.sdc.be.model.operations.impl; +import static org.openecomp.sdc.common.api.Constants.ADDITIONAL_TYPE_DEFINITIONS; + import fj.data.Either; import java.nio.charset.StandardCharsets; import java.nio.file.Path; @@ -65,7 +67,7 @@ import org.yaml.snakeyaml.Yaml; public class ModelOperation { private static final Logger log = Logger.getLogger(ModelOperation.class); - static final Path ADDITIONAL_TYPE_DEFINITIONS_PATH = Path.of("additional_type_definitions.yaml"); + static final Path ADDITIONAL_TYPE_DEFINITIONS_PATH = Path.of(ADDITIONAL_TYPE_DEFINITIONS); private final JanusGraphGenericDao janusGraphGenericDao; private final JanusGraphDao janusGraphDao; -- cgit 1.2.3-korg