Update gvnfm-driver .gitreview file
[vfc/nfvo/driver/vnfm/gvnfm.git] / juju / juju-vnfmadapter / Juju-vnfmadapterService / service / src / main / java / org / openo / nfvo / jujuvnfmadapter / service / constant / UrlConstant.java
1 /*
2  * Copyright 2016 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.openo.nfvo.jujuvnfmadapter.service.constant;
18
19 /**
20  * Url constant class.<br>
21  * <p>
22  * </p>
23  * 
24  * @author
25  * @version NFVO 0.5 Sep 10, 2016
26  */
27 public class UrlConstant {
28
29     public static final String REST_DRIVERMGR_REGISTER = "/openoapi/drivermgr/v1/drivers";
30
31     public static final String REST_MSB_REGISTER = "/api/microservices/v1/services";
32
33     public static final String REST_ESRINFO_GET = "/openoapi/extsys/v1/vnfms/%s";
34
35     public static final String REST_VNFDINFO_GET =
36             "/openoapi/catalog/v1/csars/%s/files?relativePath=%s&relativePath=%s";
37
38     public static final String REST_MSB_UNREGISTER = "/openoapi/microservices/v1/services/%s/version/%s/nodes/%s/%s";
39
40     public static final String REST_JUJU_CLIENT_DEPLOY = "/openoapi/jujuvnfm/v1/vnfms/deploy";
41
42     public static final String REST_JUJU_CLIENT_DESTORY = "/openoapi/jujuvnfm/v1/vnfms/destroy";
43
44     public static final String REST_JUJU_CLIENT_GET = "/openoapi/jujuvnfm/v1/vnfms/status?modelName=%s";
45
46     public static final String RES_VNF = "/openoapi/nslcm/v1/ns/grantvnf";
47     public static final String REST_JUJU_VNFM_GRANT_URL = "/openoapi/jujuvnfm/v1/instances/%s/grant";
48
49     public static final String REST_CSARINFO_GET = "/openoapi/catalog/v1/csars/%s";
50
51     private UrlConstant() {
52         // Constructor
53     }
54 }