Details
-
Feature
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.10
-
None
Description
Current Situation
- The Agent start script provides the operation: ./jobscheduler_agent.sh status
- This operation makes use of Java to send a status request to the Agent and to retrieve the result
- Loading Java for this purpose creates some overhead in time (approx. 3s) and resources (memory)
Desired Behavior
- Use tools with a smaller footprint to retrieve the Agent status, e.g.
- The start script checks if If curl is available and otherwise falls back to using Java
- Any of the web service URLs as stated with
JS-1480can be added to the web service URL for status retrieval, e.g.- ./jobscheduler_agent.sh status command results in the URL http://localhost:4445/jobscheduler/agent/api/command
- ./jobscheduler_agent.sh status task results in the URL http://localhost:4445/jobscheduler/agent/api/task
- This improvement should be applied to Unix systems. The behavior for Windows systems should remain unchanged.