I have multiple RESTFul services running on OpenStudio ESB version Runtime Container.
/services/id/<id> --> GET /services/id/ --> POST /services/all/ --> GET and so on
I have a need where I need to bring down a service for maintenance (not all). Eg. If I need to bring down just the POST service....
What are the options I have?
I not position my self as great expert in ESB part, but what do personally:
1. if You want manage services separate - have it as separate Job, it could make different URI path
2. For some operations (some services) I have in database "maintenance" setting parameter - when it enabled, service just return message - "maintenance mode". No problem add this settings for different URI in same Job
first step - define variable (as result of check DB):
all other RuIf triggers - check this Status (and other), and fire only if Status = 1
if not - final response:
it return to Client JSON,with Status == "EXO operation disabled""