summaryrefslogtreecommitdiffstats
path: root/asdcApi
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2018-01-04 12:35:31 +0000
committerGerrit Code Review <gerrit@onap.org>2018-01-04 12:35:31 +0000
commitb59b5eeb201ea7c68aa1b9e182c3691b4202b5dc (patch)
treefe4878626806a4ab96247f99edae15c9907a752e /asdcApi
parentd6c32fe37ae44925863d552a931b0a5bc4636a65 (diff)
parentd3216a55d2f85b850e692781d9243320da85e8c0 (diff)
Merge "Fixed as per Java Code Conventions"
Diffstat (limited to 'asdcApi')
-rw-r--r--asdcApi/provider/src/main/java/org/onap/ccsdk/sli/northbound/asdcapi/AsdcApiProvider.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/asdcApi/provider/src/main/java/org/onap/ccsdk/sli/northbound/asdcapi/AsdcApiProvider.java b/asdcApi/provider/src/main/java/org/onap/ccsdk/sli/northbound/asdcapi/AsdcApiProvider.java
index ea5740967..7f830bcc8 100644
--- a/asdcApi/provider/src/main/java/org/onap/ccsdk/sli/northbound/asdcapi/AsdcApiProvider.java
+++ b/asdcApi/provider/src/main/java/org/onap/ccsdk/sli/northbound/asdcapi/AsdcApiProvider.java
@@ -289,14 +289,14 @@ public class AsdcApiProvider implements AutoCloseable, ASDCAPIService {
@Override
public Future<RpcResult<VfLicenseModelUpdateOutput>> vfLicenseModelUpdate(VfLicenseModelUpdateInput input) {
- final String SVC_OPERATION = "vf-license-model-update";
+ final String svcOperation = "vf-license-model-update";
Properties parms = new Properties();
- LOG.info( SVC_OPERATION +" called." );
+ LOG.info( svcOperation +" called." );
if(input == null ) {
- LOG.debug("exiting " +SVC_OPERATION+ " because of invalid input");
+ LOG.debug("exiting " +svcOperation+ " because of invalid input");
return null;
}
@@ -313,7 +313,7 @@ public Future<RpcResult<VfLicenseModelUpdateOutput>> vfLicenseModelUpdate(VfLice
errorMessage = "Artifact version already exists";
} else {
// Translate input object into SLI-consumable properties
- LOG.info("Adding INPUT data for "+SVC_OPERATION+" input: " + inputVfLic);
+ LOG.info("Adding INPUT data for "+svcOperation+" input: " + inputVfLic);
AsdcApiUtil.toProperties(parms, inputVfLic);
@@ -321,19 +321,19 @@ public Future<RpcResult<VfLicenseModelUpdateOutput>> vfLicenseModelUpdate(VfLice
Properties respProps = null;
try
{
- if (asdcApiSliClient.hasGraph("ASDC-API", SVC_OPERATION , null, "sync"))
+ if (asdcApiSliClient.hasGraph("ASDC-API", svcOperation , null, "sync"))
{
try
{
- respProps = asdcApiSliClient.execute("ASDC-API", SVC_OPERATION, null, "sync", parms);
+ respProps = asdcApiSliClient.execute("ASDC-API", svcOperation, null, "sync", parms);
}
catch (Exception e)
{
- LOG.error("Caught exception executing service logic for "+ SVC_OPERATION, e);
+ LOG.error("Caught exception executing service logic for "+ svcOperation, e);
}
} else {
- errorMessage = "No service logic active for ASDC-API: '" + SVC_OPERATION + "'";
+ errorMessage = "No service logic active for ASDC-API: '" + svcOperation + "'";
errorCode = "503";
}
}