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