Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
root
Creator II
Creator II

Manage RESTFUL Services

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?

Thanks

Labels (3)
4 Replies
vapukov
Master II
Master II

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

  

root
Creator II
Creator II
Author

Hello @vapukov: Can you share some more details on option 2? I think that may be easy to implement. Any sample job/ screenshot will be appreciated. Thank you.
vapukov
Master II
Master II

first step - define variable (as result of check DB):

0683p000009Lskc.png

0683p000009Lskr.png

 

all other RuIf triggers - check this Status (and other), and fire only if Status = 1

if not - final response:

0683p000009LrVs.png

it return to Client JSON,with Status == "EXO operation disabled""

 

 

root
Creator II
Creator II
Author

@vapukov: Thanks. This is helpful.