X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=enrichment-coordinator-service%2Fsrc%2Ftest%2Fjava%2Forg%2Foransc%2Fenrichment%2Fcontroller%2FProducerSimulatorController.java;h=66af67cbab172abf91b8d8c1101bce94dc8e6423;hb=366bc97828bf62e39a41318c1407a2c7c8cb5b74;hp=1c0767b01e759ea3c9ba359c2056fd4eb43daedf;hpb=8fd8e9fc86a24be49d61841e381423120a41296d;p=nonrtric.git diff --git a/enrichment-coordinator-service/src/test/java/org/oransc/enrichment/controller/ProducerSimulatorController.java b/enrichment-coordinator-service/src/test/java/org/oransc/enrichment/controller/ProducerSimulatorController.java index 1c0767b0..66af67cb 100644 --- a/enrichment-coordinator-service/src/test/java/org/oransc/enrichment/controller/ProducerSimulatorController.java +++ b/enrichment-coordinator-service/src/test/java/org/oransc/enrichment/controller/ProducerSimulatorController.java @@ -56,11 +56,11 @@ public class ProducerSimulatorController { private final Logger logger = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass()); - public static final String JOB_URL = "/producer_simulator/info_job"; - public static final String JOB_ERROR_URL = "/producer_simulator/info_job_error"; + public static final String JOB_URL = "/example_dataproducer/info_job"; + public static final String JOB_ERROR_URL = "/example_dataproducer/info_job_error"; - public static final String SUPERVISION_URL = "/producer_simulator/health_check"; - public static final String SUPERVISION_ERROR_URL = "/producer_simulator/health_check_error"; + public static final String SUPERVISION_URL = "/example_dataproducer/health_check"; + public static final String SUPERVISION_ERROR_URL = "/example_dataproducer/health_check_error"; public static class TestResults { @@ -111,7 +111,7 @@ public class ProducerSimulatorController { } } - @DeleteMapping(path = "/producer_simulator/info_job/{infoJobId}", produces = MediaType.APPLICATION_JSON_VALUE) + @DeleteMapping(path = JOB_URL + "/{infoJobId}", produces = MediaType.APPLICATION_JSON_VALUE) @Operation( summary = "Callback for Information Job deletion", description = "The call is invoked to terminate a data subscription. The endpoint is provided by the Information Producer.")