23f750a8bd5c3d85e02f2adb81ca319968ae0acd
[vfc/nfvo/driver/vnfm/svnfm.git] / huawei / vnfmadapter / VnfmadapterService / service / src / main / java / org / onap / vfc / nfvo / vnfm / svnfm / vnfmadapter / service / constant / UrlConstant.java
1 /*
2  * Copyright 2016-2017 Huawei Technologies Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 package org.onap.vfc.nfvo.vnfm.svnfm.vnfmadapter.service.constant;
18
19 /**
20  * URL constant
21  * 
22  * @author
23  * @version VFC 1.0 Sep 6, 2016
24  */
25 public class UrlConstant {
26
27     public static final String REST_MSB_REGISTER = "/api/microservices/v1/services";
28
29     public static final String REST_DRIVERMGR_REGISTER = "/api/drivermgr/v1/drivers";
30
31     public static final String REST_CSARINFO_GET = "/api/catalog/v1/csars/%s";
32
33     public static final String REST_VNFMINFO_GET = "/api/extsys/v1/vnfms/%s";
34
35     public static final String URL_ALLCLOUD_GET = "/rest/vnfm/vnfmvim/v2/computeservice/getAllCloud";
36
37     public static final String URL_ALLCLOUD_NEW_GET = "/v2/vnfm/vims";
38
39     public static final String URL_VNFPACKAGE_POST = "/v2/vapps/templates";
40
41     public static final String URL_VNFDINFO_GET = "/v2/vapps/templates/%s";
42
43     public static final String URL_VNFDPLANINFO_GET = "/v2/vapps/templates/%s/plans";
44
45     public static final String PORT_COMMON = "31943";
46
47     public static final String PORT_UPLOADVNFPKG = "30001";
48
49     private UrlConstant() {
50         // Constructor
51     }
52
53 }