From cd5da806dad48bfabd2de5ae56018483dab6106f Mon Sep 17 00:00:00 2001 From: Piotr Darosz Date: Mon, 8 Apr 2019 14:35:40 +0200 Subject: Refactor hardcoded column config Move hardcoded GAB columns configuration to configuration.yaml file Change-Id: Ie70a1d44c9a04a37c3ba0d3b5f64ad2989b11166 Issue-ID: SDC-2225 Signed-off-by: Piotr Darosz --- .../src/main/java/org/openecomp/sdc/be/servlets/ElementServlet.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'catalog-be/src/main/java') diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/servlets/ElementServlet.java b/catalog-be/src/main/java/org/openecomp/sdc/be/servlets/ElementServlet.java index eda9a61883..081c9cad1a 100644 --- a/catalog-be/src/main/java/org/openecomp/sdc/be/servlets/ElementServlet.java +++ b/catalog-be/src/main/java/org/openecomp/sdc/be/servlets/ElementServlet.java @@ -455,6 +455,8 @@ public class ElementServlet extends BeGenericServlet { configuration.put("roles", elementBL.getAllSupportedRoles()); configuration.put("resourceTypes", resourceTypesMap.left().value()); configuration.put("environmentContext", ConfigurationManager.getConfigurationManager().getConfiguration().getEnvironmentContext()); + configuration.put("gab", ConfigurationManager.getConfigurationManager().getConfiguration().getGabConfig()); + return buildOkResponse(getComponentsUtils().getResponseFormat(ActionStatus.OK), configuration); } -- cgit 1.2.3-korg