@Path(ResourcePathConstants.ConfigResourcePathConstants.DELETE_EVENTING_URI)
@Produces(MediaType.TEXT_PLAIN)
public Response unsetEventingURI() {
AiravataRegistry2 airavataRegistry = RegPoolUtils.acquireRegistry(context);
try {
airavataRegistry.unsetEventingURI();
Response.ResponseBuilder builder = Response.status(Response.Status.OK);
builder.entity("Eventing URI deleted successfully...");
return builder.build();
} catch (Throwable e) {
return WebAppUtil.reportInternalServerError(ResourcePathConstants.ConfigResourcePathConstants.DELETE_EVENTING_URI, e);