From d8f14691952677771e74e688d7a1dc20e14b036b Mon Sep 17 00:00:00 2001 From: "andre.schmid" Date: Mon, 25 May 2020 17:47:47 +0100 Subject: Entry points in ToscaExportHandler for plugin use Open the access for two methods in ToscaExportHandler so they can be called in a CsarEntryGenerator plugin. Change-Id: I0ee1daab348c0fc85db56428369a5ec190cb0101 Issue-ID: SDC-3083 Signed-off-by: andre.schmid --- .../src/main/java/org/openecomp/sdc/be/tosca/ToscaExportHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'catalog-be/src/main/java') diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/tosca/ToscaExportHandler.java b/catalog-be/src/main/java/org/openecomp/sdc/be/tosca/ToscaExportHandler.java index 0a51e5901b..92e9913e65 100644 --- a/catalog-be/src/main/java/org/openecomp/sdc/be/tosca/ToscaExportHandler.java +++ b/catalog-be/src/main/java/org/openecomp/sdc/be/tosca/ToscaExportHandler.java @@ -244,7 +244,7 @@ public class ToscaExportHandler { return Either.left(fillImports.left().value().left); } - private Either convertToToscaTemplate(final Component component) { + public Either convertToToscaTemplate(final Component component) { if (null == DEFAULT_IMPORTS) { log.debug(FAILED_TO_GET_DEFAULT_IMPORTS_CONFIGURATION); return Either.right(ToscaError.GENERAL_ERROR); @@ -660,7 +660,7 @@ public class ToscaExportHandler { return convertInterfaceNodeType(componentsCache, component, toscaNode, nodeTypes, false); } - private Either convertInterfaceNodeType(Map componentsCache, + public Either convertInterfaceNodeType(Map componentsCache, Component component, ToscaTemplate toscaNode, Map nodeTypes, boolean isAssociatedComponent) { -- cgit 1.2.3-korg