diff options
author | 2021-09-21 17:29:04 +0100 | |
---|---|---|
committer | 2021-09-21 17:31:26 +0100 | |
commit | 8f254ba0f91be28ffdba801d03a7493d94bdc0b8 (patch) | |
tree | 75a6a89d5690a71fdcf4ce81d3b372a52e1dbc29 /cps-ncmp-service/src | |
parent | 2ee46351129de73cf2cf2f0579e73b1ef8abdafc (diff) |
Address Sonar Qube issues
- Add missing lombok.config to exclude lombok generated code in some modules
- Increased Coverage treshold where possible
Issue-ID: CPS-475
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I4974aa1abec47980e15c2da10afc7288c2cc7c54
Diffstat (limited to 'cps-ncmp-service/src')
-rwxr-xr-x | cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImpl.java b/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImpl.java index dc5dc7733..08370ab89 100755 --- a/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImpl.java +++ b/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImpl.java @@ -459,7 +459,7 @@ public class NetworkCmProxyDataServiceImpl implements NetworkCmProxyDataService private static ModuleReference toModuleReference(final JsonObject moduleReferenceAsJson) { final var moduleReference = new ModuleReference(); moduleReference.setModuleName(moduleReferenceAsJson.get("moduleName").getAsString()); - moduleReference.setRevision(moduleReferenceAsJson.get("revision").getAsString()); + moduleReference.setRevision(moduleReferenceAsJson.get(REVISION).getAsString()); return moduleReference; } } |