fixed constants imports
This commit is contained in:
parent
09b821df2f
commit
021d53ad83
|
@ -45,7 +45,7 @@ public class SDI {
|
||||||
|
|
||||||
@GET
|
@GET
|
||||||
@Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
|
@Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
|
||||||
@Path("status")
|
@Path(ServiceConstants.SDI.STATUS_PATH)
|
||||||
public HealthReport getReport() {
|
public HealthReport getReport() {
|
||||||
try{
|
try{
|
||||||
return sdiManager.getHealthReport();
|
return sdiManager.getHealthReport();
|
||||||
|
@ -59,9 +59,9 @@ public class SDI {
|
||||||
|
|
||||||
@GET
|
@GET
|
||||||
@Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
|
@Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
|
||||||
@Path("profile/{"+SERVICE_CLASS_PARAM+"}/{"+SERVICE_NAME_PARAM+"}")
|
@Path(ServiceConstants.SDI.PROFILES_PATH+"/{"+ServiceConstants.SDI.SERVICE_CLASS_PARAM+"}/{"+ServiceConstants.SDI.SERVICE_NAME_PARAM+"}")
|
||||||
public ApplicationProfile getProfile(@PathParam(SERVICE_CLASS_PARAM) String serviceClass,
|
public ApplicationProfile getProfile(@PathParam(ServiceConstants.SDI.SERVICE_CLASS_PARAM) String serviceClass,
|
||||||
@PathParam(SERVICE_NAME_PARAM) String serviceName) {
|
@PathParam(ServiceConstants.SDI.SERVICE_NAME_PARAM) String serviceName) {
|
||||||
try {
|
try {
|
||||||
log.debug("Looking for Application Profile [SC :{} SN : {}]",serviceClass,serviceName);
|
log.debug("Looking for Application Profile [SC :{} SN : {}]",serviceClass,serviceName);
|
||||||
throw new RuntimeException("Feature not yet available");
|
throw new RuntimeException("Feature not yet available");
|
||||||
|
|
Loading…
Reference in New Issue