summaryrefslogtreecommitdiffstats
path: root/catalog-be/src
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-be/src')
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/servlets/ElementServlet.java2
-rw-r--r--catalog-be/src/main/resources/config/configuration.yaml16
2 files changed, 18 insertions, 0 deletions
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);
}
diff --git a/catalog-be/src/main/resources/config/configuration.yaml b/catalog-be/src/main/resources/config/configuration.yaml
index 1d9a51e6b3..d23f87eb96 100644
--- a/catalog-be/src/main/resources/config/configuration.yaml
+++ b/catalog-be/src/main/resources/config/configuration.yaml
@@ -737,6 +737,22 @@ environmentContext:
- Useful_Non-Revenue
- General_Non-Revenue
+gabConfig:
+ - artifactType: 'VES_EVENTS'
+ pathsandnames:
+ -
+ friendlyName: "Action"
+ path: "event.action[2]"
+ searchable: "true"
+ -
+ friendlyName: "Comment"
+ path: "event.comment"
+ searchable: "true"
+ -
+ friendlyName: "Alarm Additional Information"
+ path: "event.structure.faultFields.structure.alarmAdditionalInformation.comment"
+ searchable: "true"
+
dmaapConsumerConfiguration:
active: true
hosts: olsd004.wnsnet.ws.com:3905