diff options
author | pwielebs <piotr.wielebski@nokia.com> | 2018-09-25 15:16:23 +0200 |
---|---|---|
committer | pwielebs <piotr.wielebski@nokia.com> | 2018-09-28 10:21:01 +0200 |
commit | e23e0182650a654e1f32bfb164a95e8b63219ee5 (patch) | |
tree | 3b0074c0dbe8401e26740f64bc58ed4b09790949 /datafile-app-server/src/test | |
parent | 263d1a481bd5378e59b804425bc8a9bdc9bebb9a (diff) |
Fixing Sonar issues
Change-Id: I67360cd501630adad8166c9278e9955c6be7758f
Issue-ID: DCAEGEN2-835
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
Diffstat (limited to 'datafile-app-server/src/test')
-rw-r--r-- | datafile-app-server/src/test/java/org/onap/dcaegen2/collectors/datafile/configuration/CloudConfigParserTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/datafile-app-server/src/test/java/org/onap/dcaegen2/collectors/datafile/configuration/CloudConfigParserTest.java b/datafile-app-server/src/test/java/org/onap/dcaegen2/collectors/datafile/configuration/CloudConfigParserTest.java index a4f098be..60968c05 100644 --- a/datafile-app-server/src/test/java/org/onap/dcaegen2/collectors/datafile/configuration/CloudConfigParserTest.java +++ b/datafile-app-server/src/test/java/org/onap/dcaegen2/collectors/datafile/configuration/CloudConfigParserTest.java @@ -31,7 +31,7 @@ import org.onap.dcaegen2.collectors.datafile.config.ImmutableDmaapPublisherConfi class CloudConfigParserTest { - private static final String correctJson = + private static final String CORRECT_JSON = "{\"dmaap.dmaapProducerConfiguration.dmaapTopicName\": \"/events/unauthenticated.VES_NOTIFICATION_OUTPUT\", " + "\"dmaap.dmaapConsumerConfiguration.timeoutMS\": -1," + " \"dmaap.dmaapConsumerConfiguration.dmaapHostName\": \"message-router.onap.svc.cluster.local\"," @@ -78,7 +78,7 @@ class CloudConfigParserTest { .build(); private CloudConfigParser cloudConfigParser = new CloudConfigParser( - new Gson().fromJson(correctJson, JsonObject.class)); + new Gson().fromJson(CORRECT_JSON, JsonObject.class)); @Test |