summaryrefslogtreecommitdiffstats
path: root/asdcApi/provider/src/main/java
diff options
context:
space:
mode:
authorSRINIVAS V <srinivasa.mohan@huawei.com>2018-01-04 11:47:12 +0530
committerSRINIVAS V <srinivasa.mohan@huawei.com>2018-01-04 06:19:21 +0000
commitd3216a55d2f85b850e692781d9243320da85e8c0 (patch)
tree4df013ea2338c530bd5af10efa870b9226e49463 /asdcApi/provider/src/main/java
parentdf299c18dc8c00878dccdf3086556a08ca202896 (diff)
Fixed as per Java Code Conventions
*Changed to svcOperation rather than svc_OPERATION Change-Id: I3e5f704368ba5d0de8af92a84e298aab5008742b Issue-ID: CCSDK-151 Signed-off-by: SRINIVAS V <srinivasa.mohan@huawei.com>
Diffstat (limited to 'asdcApi/provider/src/main/java')
-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";
}
}