diff options
author | kurczews <krzysztof.kurczewski@nokia.com> | 2018-01-30 15:29:39 +0100 |
---|---|---|
committer | kurczews <krzysztof.kurczewski@nokia.com> | 2018-02-08 07:56:34 +0100 |
commit | 189470a161b6ac86615595706b32da0760ce3190 (patch) | |
tree | bf49ecffc6335d3dae5c6d413d388031bc2f7548 /appc-config/appc-data-services/provider/src/main/java/org | |
parent | de5e2530e34fae0798ccffb7360618265e62be3e (diff) |
Add coverage for ConfigResourceNode-5
Change-Id: If1f1ad7608563031c5f397a225a5576fdbcf59bd
Issue-ID: APPC-441
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
Diffstat (limited to 'appc-config/appc-data-services/provider/src/main/java/org')
-rw-r--r-- | appc-config/appc-data-services/provider/src/main/java/org/onap/appc/data/services/node/ConfigResourceNode.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/appc-config/appc-data-services/provider/src/main/java/org/onap/appc/data/services/node/ConfigResourceNode.java b/appc-config/appc-data-services/provider/src/main/java/org/onap/appc/data/services/node/ConfigResourceNode.java index 8895a82c0..c0580b43b 100644 --- a/appc-config/appc-data-services/provider/src/main/java/org/onap/appc/data/services/node/ConfigResourceNode.java +++ b/appc-config/appc-data-services/provider/src/main/java/org/onap/appc/data/services/node/ConfigResourceNode.java @@ -79,6 +79,8 @@ public class ConfigResourceNode implements SvcLogicJavaPlugin { static final String UNABLE_TO_SAVE_RELATIONSHIP_STR = "Unable to save prepare_relationship"; + static final String SITE_LOCATION_PARAM = "site-location"; + private static final EELFLogger log = EELFManager.getInstance().getLogger(ConfigResourceNode.class); private final DGGeneralDBService db; @@ -465,7 +467,7 @@ public class ConfigResourceNode implements SvcLogicJavaPlugin { log.info("Received saveStyleSheet call with params : " + inParams); String responsePrefix = inParams.get(AppcDataServiceConstant.INPUT_PARAM_RESPONSE_PREFIX); - String siteLocation = ctx.getAttribute("site-location"); + String siteLocation = ctx.getAttribute(SITE_LOCATION_PARAM); QueryStatus status; |