Remove the cache of insight agent id in node server.
Pass insight agent id to front-end to indicate that the agent exists, and then the front-end can use the agent id in its next request directly to retrieve insight.
Detect insight agent id twice to remove the cache:
First in summary request to detect whether insight agent exists
Second in insight request to get the insight agent id for execution agent.
There will be an potential issue that different requests could be sent to different nodes server and cause error if depending on the cache of insight agent id.
Issues Resolved
Check List
[ ] New functionality includes testing.
[x] All tests pass, including unit test, integration test.
[ ] New functionality has user manual doc added.
[x] Commits are signed per the DCO using --signoff.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.
Description
Remove the cache of insight agent id in node server.
Pass insight agent id to front-end to indicate that the agent exists, and then the front-end can use the agent id in its next request directly to retrieve insight.Detect insight agent id twice to remove the cache:
There will be an potential issue that different requests could be sent to different nodes server and cause error if depending on the cache of insight agent id.
Issues Resolved
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.