diff options
author | Chuanyu Chen <chenchuanyu@huawei.com> | 2020-09-15 09:04:51 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-09-15 09:04:51 +0000 |
commit | 8063e9b9cb1d5ecc3b2bcff37b49655b7f5d8d98 (patch) | |
tree | 55dc607f0ee730a93c66c4550e13255391d129f4 /adapters/mso-nssmf-adapter | |
parent | bd0f2e49249e57f4ffe7fabe257bcf46c376c200 (diff) | |
parent | b0b7e90de5d8eaf1d1b8102f9737960d730cb1cb (diff) |
Merge "modify the actionType of querySubnetCapability"
Diffstat (limited to 'adapters/mso-nssmf-adapter')
-rw-r--r-- | adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/service/impl/NssmfManagerServiceImpl.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/service/impl/NssmfManagerServiceImpl.java b/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/service/impl/NssmfManagerServiceImpl.java index 5f7fe76b72..5b53856f2f 100644 --- a/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/service/impl/NssmfManagerServiceImpl.java +++ b/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/service/impl/NssmfManagerServiceImpl.java @@ -106,7 +106,7 @@ public class NssmfManagerServiceImpl implements NssmfManagerService { public ResponseEntity queryNSSISelectionCapability(NssmfAdapterNBIRequest nbiRequest) { EsrInfo esrInfo = nbiRequest.getEsrInfo(); try { - return buildResponse(buildNssmfManager(esrInfo, ActionType.QUERY_JOB_STATUS, null) + return buildResponse(buildNssmfManager(esrInfo, ActionType.QUERY_NSSI_SELECTION_CAPABILITY, null) .queryNSSISelectionCapability(nbiRequest)); } catch (ApplicationException e) { return e.buildErrorResponse(); @@ -117,8 +117,8 @@ public class NssmfManagerServiceImpl implements NssmfManagerService { public ResponseEntity querySubnetCapability(NssmfAdapterNBIRequest nbiRequest) { EsrInfo esrInfo = nbiRequest.getEsrInfo(); try { - return buildResponse( - buildNssmfManager(esrInfo, ActionType.QUERY_JOB_STATUS, null).querySubnetCapability(nbiRequest)); + return buildResponse(buildNssmfManager(esrInfo, ActionType.QUERY_SUB_NET_CAPABILITY, null) + .querySubnetCapability(nbiRequest)); } catch (ApplicationException e) { return e.buildErrorResponse(); } |