diff options
author | Serhii Siabruk <Serhii_Siabruk@jabil.com> | 2018-09-12 16:24:40 +0300 |
---|---|---|
committer | Serhii Siabruk <Serhii_Siabruk@jabil.com> | 2018-09-12 16:26:18 +0300 |
commit | 940b4b29e875133cabdb4a805a1ac72ec29a9e8d (patch) | |
tree | d3c4d2fdb96bb243990d22d89a9446ad087b7a35 /pomba | |
parent | aed7a3708a987dc7132229ecac1ee7f42b49ee16 (diff) |
Move this variable to comply with JCC
Change-Id: I1b62a48e39e4dd6cbab49d9c17a94142d7bf02b0
Issue-ID: SDNC-1
Signed-off-by: Serhii Siabruk <Serhii_Siabruk@jabil.com>
Diffstat (limited to 'pomba')
-rw-r--r-- | pomba/network-discovery/src/main/java/org/onap/sdnc/apps/pomba/networkdiscovery/EnricherConfiguration.java | 6 |
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", ""); |