[progress Communities] [progress Openedge Abl] Forum Post: Re: Progetstack Equivalent For...

  • Thread starter Thread starter Irfan
  • Start date Start date
Status
Not open for further replies.
I

Irfan

Guest
Hi Mark, progetstack does not work for MS-Agent, instead one can look at each sessions stack using our REST API's. You can perform use the below URL pattern with GET method to get the session stack information. http(s)://host_name:port/oemanager/applications/ /agents/ /sessions/ /stacks. If you would like to reload your new code, then instead of terminating agents you can terminate IDLE sessions(if you are not running anything on the agent). This will terminate all the sessions which are IDLE and will start new sessions once you get incoming requests. To invoke it from a client like cURL, here is the syntax curl -X DELETE -v -u username:password " host_name:port/.../sessions" Also, if you would like to reset your sessions(persistent procedures etc) after executing you business logic then you can do that by using ABL Statement "QUIT" operation at the end of your business logic or in sessionDeactivateProcedure.

Continue reading...
 
Status
Not open for further replies.
Back
Top