2 * Copyright 2016-2017 Huawei Technologies Co., Ltd.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 package org.onap.vfc.nfvo.vnfm.svnfm.vnfmadapter.service.constant;
23 * @version VFC 1.0 Sep 6, 2016
25 public class UrlConstant {
27 public static final String REST_MSB_REGISTER = "/api/microservices/v1/services";
29 public static final String REST_DRIVERMGR_REGISTER = "/api/drivermgr/v1/drivers";
31 public static final String REST_CSARINFO_GET = "/api/catalog/v1/csars/%s";
33 public static final String REST_VNFMINFO_GET = "/api/extsys/v1/vnfms/%s";
35 public static final String URL_ALLCLOUD_GET = "/rest/vnfm/vnfmvim/v2/computeservice/getAllCloud";
37 public static final String URL_ALLCLOUD_NEW_GET = "/v2/vnfm/vims";
39 public static final String URL_VNFPACKAGE_POST = "/v2/vapps/templates";
41 public static final String URL_VNFDINFO_GET = "/v2/vapps/templates/%s";
43 public static final String URL_VNFDPLANINFO_GET = "/v2/vapps/templates/%s/plans";
45 public static final String PORT_COMMON = "31943";
47 public static final String PORT_UPLOADVNFPKG = "30001";
49 private UrlConstant() {