Unable to create a new alert definition using REST API due to "503 Service Unavailable" error
Issue
- When I try to POST an alert definition JBoss ON returns 503 Service Unavailable and nothing shows up in the logs;
- Unable to create a new alert definition using REST API due to 503 Service Unavailable error;
Environment
- Red Hat JBoss Operations Network (JON) 3.2.2;
- REST API for JBoss ON 3.2.2;
-
Created a REST Client:
import org.apache.cxf.jaxrs.client.WebClient; ... WebClient client = WebClient.create(...); ... -
Requested an alert with the following GET:
client.accept("application/json").type("application/json").path("/alert/definition/11377").get(String.class) -
Set a new alert definition using POST command:
client.accept("application/json").type("application/json").path("/alert/definitions").query("groupId","10838").post(request);
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
