Jian Li
Committed by Gerrit Code Review

Change CPMan REST prefix to resolve confliction with core REST API

Change-Id: I46a0aea4720bcb479a005477a16085a777dbf298
......@@ -47,7 +47,7 @@ import static org.onosproject.cpman.ControlResource.Type.NETWORK;
/**
* Query control metrics.
*/
@Path("metrics")
@Path("controlmetrics")
public class ControlMetricsWebResource extends AbstractWebResource {
private final ControlPlaneMonitorService monitorService =
......
......@@ -60,7 +60,7 @@ public class ControlMetricsResourceTest extends ResourceTest {
NodeId nodeId;
ControlLoad mockControlLoad;
private static final String PREFIX = "metrics";
private static final String PREFIX = "controlmetrics";
/**
* Constructs a control metrics resource test instance.
......