fixed constants imports

This commit is contained in:
Fabio Sinibaldi 2021-02-17 16:58:49 +01:00
parent 09b821df2f
commit 021d53ad83
1 changed files with 4 additions and 4 deletions

View File

@ -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");