-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
agent/multi-source: Implementation of multi-source model in the agent
This commit is a breaking-change. It implementing the multi-source model into agent. The agent is nolonger bound to a specific sourceID. The sourceID is computed from vCenter ID. The agents sends requests to two endpoints: `/agents/status` and `/sources/status`. The agent endpoint is used to send the status of the agent which is actually the status of the source in the old model. The `source` endpoint is used to send the inventory of the source only when the inventory is up-to-date. The flow is: - agent starts up and is waiting for credentials. It sends a request to /agents endpoint with the new state. - user enters the credentials and if agent obtained the inventory, it sends it to /source endpoint. Signed-off-by: Cosmin Tupangiu <[email protected]>
- Loading branch information
Showing
19 changed files
with
737 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.