#
-# Copyright 2016 [ZTE] and others.
+# Copyright 2016 ZTE Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
server:
type: simple
- rootPath: '/openoapi/ztesdncdriver/v1/*'
+ rootPath: '/api/ztesdncdriver/v1/*'
applicationContextPath: /
adminContextPath: /admin
connector:
@REM
-@REM Copyright 2016 [ZTE] and others.
+@REM Copyright 2016 ZTE Corporation.
@REM
@REM Licensed under the Apache License, Version 2.0 (the "License");
@REM you may not use this file except in compliance with the License.
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
-@Path("/openoapi/microservices/v1/services")
+@Path("/api/microservices/v1/services")
public interface MsbService {
@Path("")
@POST
public static final int HTTP_OK = 200;
public static final int HTTP_POST_OK = 204;
public static final String SERVICE_NAME = "ztesdncdriver";
- public static final String SERVICE_URL="/openoapi/ztesdncdriver/v1";
+ public static final String SERVICE_URL="/api/ztesdncdriver/v1";
}
entity.setServiceName(SfcConst.SERVICE_NAME);
entity.setVersion("v1");
//entity.setUrl(SfcConst.SERVICE_URL);
- entity.setUrl("/openoapi/ztesdncdriver/v1");
+ entity.setUrl("/api/ztesdncdriver/v1");
entity.setProtocol("REST");
entity.setVisualRange("1");
ArrayList<NodeEntity> nodes = new ArrayList<NodeEntity>();