-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional Endpoints for VUI API #2948
Conversation
…gs/filename endpoints and their test to vui_endpoints.
…gs/filename endpoints and their test to vui_endpoints.
…fixes and added documentation for these endpoints.
…forms_agents_running._agent_running()
The agents end point only returns agents that are currently running on the platform.
|
The default value of the sgent-state query parameter is "r unning". To see all installed agents, try: |
beautiful. |
…agents_enabled().
Calling /vui/platforms/{self.name}/agents/{identity} with an identity that doesn't exist, returns a 200 and paths to links that shouldn't exist. Should we instead do a 404 or 405? response code? I think you have this as a pattern for config store entries...but this should be a different pattern. So after the call to /vui/platforms/{self.name}/agents/{identity} I then make a call to the status link and get a 400 error. So I am thinking the agents should return 400. |
the post with an identity that doesn't exist for config store should be ok as well. |
Description
Added:
Fixes # (issue)
eclipse-volttron/volttron-lib-web/issues/11
eclipse-volttron/volttron-lib-web/issues/12
eclipse-volttron/volttron-lib-web/issues/13
eclipse-volttron/volttron-lib-web/issues/14
eclipse-volttron/volttron-lib-web/issues/15
eclipse-volttron/volttron-lib-web/issues/35
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Unit tests in volttrontesting/platform/web/test_vui_endpoints.py.
Test Configuration:
Checklist: