diff options
author | luxin <luxin7@huawei.com> | 2017-08-31 19:07:08 +0800 |
---|---|---|
committer | luxin <luxin7@huawei.com> | 2017-08-31 19:18:53 +0800 |
commit | c255daf224674d785c40d7e442cec558f3693475 (patch) | |
tree | 2c4de584b42733f3e2e3149199e7be64154731e7 /huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/constant/ParamConstants.java | |
parent | 51493c18d4bc89d0117d5a5b17ce906996bb6b32 (diff) |
Add request interface
Add request interface and param to huawei vnfmdriver
Change-Id: Id0c30c5d195fe64b59b0dfbfb1350fe19967e39e
Issue-Id:VFC-204
Signed-off-by: luxin <luxin7@huawei.com>
Diffstat (limited to 'huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/constant/ParamConstants.java')
-rw-r--r-- | huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/constant/ParamConstants.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/constant/ParamConstants.java b/huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/constant/ParamConstants.java index 1f932d7b..af486093 100644 --- a/huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/constant/ParamConstants.java +++ b/huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/constant/ParamConstants.java @@ -17,9 +17,7 @@ package org.onap.vfc.nfvo.vnfm.svnfm.vnfmadapter.service.constant; /** - * * @author - * * @version NFVO 0.5 Sep 6, 2016 */ public class ParamConstants { @@ -29,9 +27,9 @@ public class ParamConstants { public static final String GET_TOKENS_V2 = "{\"auth\":{\"identity\": {\"methods\": [\"password\"],\"password\": {\"user\": {\"name\": \"%s\",\"password\": \"%s\"}}}}}"; - public static final String GET_IAM_TOKENS = + public static final String GET_TOKENS_V3 = "{\"auth\": {\"identity\": {\"methods\": [\"password\"],\"password\": {\"user\": {\"name\": " - + "\"%s\",\"password\": \"%s\",\"domain\": {\"name\": \"%s\"}}}},\"scope\": {\"domain\": {\"name\": \"%s\"}}}}"; + + "\"%s\",\"password\": \"%s\",\"domain\": {\"name\": \"%s\"}}}}}}"; public static final String GET_TOKEN_SUC_RESP = "{\"token\": {\"methods\": [\"password\"],\"expires_at\": \"\",\"user\": {\"id\": \"%s\"," @@ -45,7 +43,9 @@ public class ParamConstants { public static final String REST_3RD_HANDSHAKE = "/rest/plat/ssm/v1/sessions/verify"; - public static final String IAM_AUTH = "/v3/auth/tokens"; + public static final String CSM_AUTH_CONNECT_SOUTH = "/v3/auth/tokens"; + + public static final String CSM_AUTH_CONNECT_SOUTH_DISCONNECT = "/v3/auth/tokens/%s"; public static final String CSM_AUTH_CONNECT = "/v2/auth/tokens"; @@ -65,7 +65,6 @@ public class ParamConstants { public static final String VNFMGR_INSTANCE = "/vnfmgr/v1/instances"; - public static final String VNFD_FLAVOR = "/vnfdmgr/v1/flavor"; public static final String UPDATE_RESOURCE = "/rest/v1/resmanage/resuse/updateres"; @@ -106,7 +105,6 @@ public class ParamConstants { public static final String VNF_GET_VMINFO = "/v2/vapps/instances/%s/vm"; - public static final String MSB_REGISTER_URL = "/openoapi/microservices/v1/services"; public static final String MSB_UNREGISTER_URL = "/openoapi/microservices/v1/services/hw-vnfm"; @@ -117,6 +115,8 @@ public class ParamConstants { public static final String GRANT_RES_URL = "/openoapi/resmgr/v1/resource/grant"; + public static final String HEAL_VNF = "/v2/vapps/instances/vm/%s/action"; + private ParamConstants() { // private contstructor } |