summaryrefslogtreecommitdiffstats
path: root/adapters
diff options
context:
space:
mode:
authorhetengjiao <hetengjiao@chinamobile.com>2020-09-03 15:28:17 +0800
committerhetengjiao <hetengjiao@chinamobile.com>2020-09-04 17:35:29 +0800
commitb0b7e90de5d8eaf1d1b8102f9737960d730cb1cb (patch)
tree96dc5f5843c42539c529d21957dca28f2f0edb7c /adapters
parent43b5a2bbbe54e131981fdb96d831efc9169ddf3f (diff)
modify the actionType of querySubnetCapability
Issue-ID: SO-2963 Signed-off-by: hetengjiao <hetengjiao@chinamobile.com> Change-Id: I050634b503f1f4ad6eb33d474be83dab7ed44650
Diffstat (limited to 'adapters')
-rw-r--r--adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/service/impl/NssmfManagerServiceImpl.java6
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();
}