summaryrefslogtreecommitdiffstats
path: root/ResmanagementService/service/src
diff options
context:
space:
mode:
authorDenes Nemeth <denes.nemeth@nokia.com>2018-05-25 10:38:01 +0200
committerDenes Nemeth <denes.nemeth@nokia.com>2018-05-30 22:42:24 +0200
commit06d46b4db5f560e9c54ab6ffa896c923696d8b13 (patch)
treec3c5420b6823dd1bac3b902a806f84843d15f4d8 /ResmanagementService/service/src
parent0cb1b4d3db7dd64e6abb511f9ae3abc9ea830936 (diff)
Fix API change from accessinfo to accessInfov1.1.02.0.0-ONAPbeijing2.0.0-ONAP
Change-Id: If3720aaa67ca46edadc9558cf9cf7967b76353f9 Signed-off-by: Denes Nemeth <denes.nemeth@nokia.com> Issue-ID: VFC-927
Diffstat (limited to 'ResmanagementService/service/src')
-rw-r--r--ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/group/impl/GrantResServiceImpl.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/group/impl/GrantResServiceImpl.java b/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/group/impl/GrantResServiceImpl.java
index 1afbcbb..6efa099 100644
--- a/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/group/impl/GrantResServiceImpl.java
+++ b/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/group/impl/GrantResServiceImpl.java
@@ -61,11 +61,11 @@ public class GrantResServiceImpl implements GrantResService {
String vimId = additionalparam.getString(ParamConstant.PARAM_VIMID);
JSONObject vimJson = VimUtil.getVimById(vimId);
String tenant = vimJson.getString(ParamConstant.PARAM_TENANT);
- JSONObject accessinfo = new JSONObject();
- accessinfo.put(ParamConstant.PARAM_TENANT, tenant);
+ JSONObject accessInfo = new JSONObject();
+ accessInfo.put(ParamConstant.PARAM_TENANT, tenant);
JSONObject vim = new JSONObject();
vim.put(ParamConstant.PARAM_VIMID, vimId);
- vim.put("accessinfo", accessinfo);
+ vim.put("accessInfo", accessInfo);
LOGGER.info("function=grantResource; vim: {}", vim.toString());
JSONObject result = new JSONObject();
result.put("vim", vim);