diff options
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/group/impl/GrantResServiceImpl.java | 6 |
2 files changed, 8 insertions, 6 deletions
@@ -1,6 +1,8 @@ -/target/ +target .project -.settings/ +.settings .checkstyle .classpath -coverage-report/ +coverage-report +.idea +*.iml 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); |