diff options
author | 2021-02-25 15:24:34 +0100 | |
---|---|---|
committer | 2021-03-02 12:53:02 +0100 | |
commit | 72c2d38329865afa6692454b4fb90ab6f8a70638 (patch) | |
tree | 3aaaddd2d37fee4e2fa41a8c790a6f3ae975ec35 /mod/bpgenerator/common/src/main/java/org/onap/blueprintgenerator/constants/Constants.java | |
parent | 87f19cde0f6532f5138822fa6f188b763a123235 (diff) |
Fix sonar issues
- Use Map instead of LinkedHashMap when possible
- Rename some constants
- Remove some commented lines
- Add logger
- Other minor improvements and refactor
Issue-ID: DCAEGEN2-2636
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
Change-Id: I7a03cee453b3d254c4ff0fdf51c60a0ae4a61c42
Diffstat (limited to 'mod/bpgenerator/common/src/main/java/org/onap/blueprintgenerator/constants/Constants.java')
-rw-r--r-- | mod/bpgenerator/common/src/main/java/org/onap/blueprintgenerator/constants/Constants.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mod/bpgenerator/common/src/main/java/org/onap/blueprintgenerator/constants/Constants.java b/mod/bpgenerator/common/src/main/java/org/onap/blueprintgenerator/constants/Constants.java index e08b28d..87b5fc8 100644 --- a/mod/bpgenerator/common/src/main/java/org/onap/blueprintgenerator/constants/Constants.java +++ b/mod/bpgenerator/common/src/main/java/org/onap/blueprintgenerator/constants/Constants.java @@ -34,8 +34,10 @@ package org.onap.blueprintgenerator.constants; public class Constants { - public static final String _TOPIC = "_topic"; - public static final String _FEED = "_feed"; + private Constants(){} + + public static final String A_TOPIC = "_topic"; + public static final String A_FEED = "_feed"; public static final String DATAROUTER_VALUE = "data router"; public static final String DATA_ROUTER = "data_router"; public static final String MESSAGEROUTER_VALUE = "message router"; @@ -73,7 +75,7 @@ public class Constants { public static final String ONAP_INPUT_CPU_LIMIT = "dcae-ves-collector_cpu_limit"; public static final String ONAP_NODETEMPLATES = "dcae-ves-collector"; public static final String ONAP_NODETEMPLATES_TYPE = "dcae.nodes.ContainerizedServiceComponent"; - public static final String ONAP_DEFAULT250m = "\"250m\""; + public static final String ONAP_DEFAULT250M = "\"250m\""; public static final String ONAP_SERVICE_COMPONENTNAME_OVERRIDE_DEFAULT = "\"\""; public static final String DMAAP_NODETEMPLATES_TYPE = "dcae.nodes.ContainerizedServiceComponentUsingDmaap"; |