summaryrefslogtreecommitdiffstats
path: root/pomba/network-discovery/src
diff options
context:
space:
mode:
Diffstat (limited to 'pomba/network-discovery/src')
-rw-r--r--pomba/network-discovery/src/main/java/org/onap/sdnc/apps/pomba/networkdiscovery/EnricherConfiguration.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/pomba/network-discovery/src/main/java/org/onap/sdnc/apps/pomba/networkdiscovery/EnricherConfiguration.java b/pomba/network-discovery/src/main/java/org/onap/sdnc/apps/pomba/networkdiscovery/EnricherConfiguration.java
index 0257687..9d28322 100644
--- a/pomba/network-discovery/src/main/java/org/onap/sdnc/apps/pomba/networkdiscovery/EnricherConfiguration.java
+++ b/pomba/network-discovery/src/main/java/org/onap/sdnc/apps/pomba/networkdiscovery/EnricherConfiguration.java
@@ -48,6 +48,9 @@ public class EnricherConfiguration {
@Value("${enricher.readTimeout:60000}")
private int readTimeout;
+ @Value("${enricher.attributeNameMappingList}")
+ private String enricherAttributeNameMappingList;
+
@Bean(name = "enricherClient")
public RestClient restClient() {
return new RestClient().validateServerHostname(false)
@@ -83,9 +86,6 @@ public class EnricherConfiguration {
return result;
}
- @Value("${enricher.attributeNameMappingList}")
- private String enricherAttributeNameMappingList;
-
@Bean(name = "enricherAttributeNameMapping")
public Map<String, String> getAttributeNameMap() {
String noWhiteSpaceString = enricherAttributeNameMappingList.replaceAll("\\s", "");