-
Notifications
You must be signed in to change notification settings - Fork 43
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
Expose the software service through the HTTP/JSON API #1069
Merged
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
e75dcf8
rust: add a software service
imobachgs d424b68
rust: add support to select a product via HTTP
imobachgs 57cac7f
rust: emit product changes
imobachgs fc3e12a
rust: move software config to a separate resource
imobachgs 2b5be30
rust: share the SoftwareProductProxy
imobachgs 5edea12
rust: use the software client in the web API
imobachgs 9c65f85
rust: add patterns support to the HTTP API
imobachgs 0cbb436
rust: emit patterns selection changes
imobachgs 35ffb0e
rust: emit stream events in a single place
imobachgs 6340803
doc: update the OpenAPI documentation
imobachgs 0e0b0e3
rust: refactor the CLI arguments handling
imobachgs 6e9d476
rust: fix service tests
imobachgs 602a6f8
rust: remove unneeded lifetime annotations
imobachgs 4417e43
software web functions return an result
imobachgs 4679589
rust: add an endpoint /software/proposal
imobachgs 4896fb2
rust: add an endpoint to start the software probing
imobachgs 6d6ee2d
rust: PatternsChanged includes the list of patterns
imobachgs ab55a05
rust: document used_disk_space
imobachgs c1b2853
rust: merge PatternStatus and SelectedBy
imobachgs 0a57873
rust: handle errors when creating the service router
imobachgs 9551eae
rust: fix service tests
imobachgs 6a6cf06
rust: add missing elements to the OpenAPI documentation
imobachgs 7cbe2b7
rust: improve SoftwareError description
imobachgs 4c0cb3b
rust: handle invalid pattern selection reasons
imobachgs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
now, I am confused, why is not there
2 => Ok(Self::None)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because it is not expected to get a
2
from the API (it does not exist).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, ok.