diff options
author | Enbo Wang <wangenbo@huawei.com> | 2020-01-07 16:32:30 +0800 |
---|---|---|
committer | Enbo Wang <wangenbo@huawei.com> | 2020-01-08 18:11:47 +0800 |
commit | 259dc1ff083206ea3a8425c8e9f3c6988d20e524 (patch) | |
tree | b1648c543565fda2c583daf492056956a310dbfa /lcm/provider/src/main/java | |
parent | a5f02d8bfcc832d905b480942f61cde6ced57dac (diff) |
Fix action names of DownloadNESw and ActivateNESw
Change-Id: I2a7b5ca9554e52f219afe9248d39732c485ab037
Issue-ID: SDNC-856
Signed-off-by: Enbo Wang <wangenbo@huawei.com>
Diffstat (limited to 'lcm/provider/src/main/java')
-rw-r--r-- | lcm/provider/src/main/java/org/onap/ccsdk/sli/northbound/LcmProvider.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lcm/provider/src/main/java/org/onap/ccsdk/sli/northbound/LcmProvider.java b/lcm/provider/src/main/java/org/onap/ccsdk/sli/northbound/LcmProvider.java index 6fd494360..100496e39 100644 --- a/lcm/provider/src/main/java/org/onap/ccsdk/sli/northbound/LcmProvider.java +++ b/lcm/provider/src/main/java/org/onap/ccsdk/sli/northbound/LcmProvider.java @@ -761,12 +761,12 @@ public class LcmProvider implements AutoCloseable, LCMService { } @Override - public ListenableFuture<RpcResult<DownloadNeSwOutput>> downloadNeSw(DownloadNeSwInput input) { - DownloadNeSwInputBuilder iBuilder = new DownloadNeSwInputBuilder(input); - DownloadNeSwOutputBuilder oBuilder = new DownloadNeSwOutputBuilder(); + public ListenableFuture<RpcResult<DownloadNESwOutput>> downloadNESw(DownloadNESwInput input) { + DownloadNESwInputBuilder iBuilder = new DownloadNESwInputBuilder(input); + DownloadNESwOutputBuilder oBuilder = new DownloadNESwOutputBuilder(); try { - CommonLcmFields retval = callDG("download-ne-sw", iBuilder.build()); + CommonLcmFields retval = callDG("download-n-e-sw", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); if (retval.getPayload() != null) { @@ -778,19 +778,19 @@ public class LcmProvider implements AutoCloseable, LCMService { oBuilder.setStatus(e.getStatus()); } - RpcResult<DownloadNeSwOutput> rpcResult = - RpcResultBuilder.<DownloadNeSwOutput> status(true).withResult(oBuilder.build()).build(); + RpcResult<DownloadNESwOutput> rpcResult = + RpcResultBuilder.<DownloadNESwOutput> status(true).withResult(oBuilder.build()).build(); // return error return Futures.immediateFuture(rpcResult); } @Override - public ListenableFuture<RpcResult<ActivateNeSwOutput>> activateNeSw(ActivateNeSwInput input) { - ActivateNeSwInputBuilder iBuilder = new ActivateNeSwInputBuilder(input); - ActivateNeSwOutputBuilder oBuilder = new ActivateNeSwOutputBuilder(); + public ListenableFuture<RpcResult<ActivateNESwOutput>> activateNESw(ActivateNESwInput input) { + ActivateNESwInputBuilder iBuilder = new ActivateNESwInputBuilder(input); + ActivateNESwOutputBuilder oBuilder = new ActivateNESwOutputBuilder(); try { - CommonLcmFields retval = callDG("activate-ne-sw", iBuilder.build()); + CommonLcmFields retval = callDG("activate-n-e-sw", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); if (retval.getPayload() != null) { @@ -802,8 +802,8 @@ public class LcmProvider implements AutoCloseable, LCMService { oBuilder.setStatus(e.getStatus()); } - RpcResult<ActivateNeSwOutput> rpcResult = - RpcResultBuilder.<ActivateNeSwOutput> status(true).withResult(oBuilder.build()).build(); + RpcResult<ActivateNESwOutput> rpcResult = + RpcResultBuilder.<ActivateNESwOutput> status(true).withResult(oBuilder.build()).build(); // return error return Futures.immediateFuture(rpcResult); } |