-
Notifications
You must be signed in to change notification settings - Fork 79
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
fix: Use the dynamic client in the InventoryClient #515
fix: Use the dynamic client in the InventoryClient #515
Conversation
6ea9c66
to
ceef78a
Compare
ceef78a
to
aebd70b
Compare
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.
This looks good to me. I'll let others have a look. If there are no objections we'll merge this in two days.
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.
/lgtm
aebd70b
to
8325b7f
Compare
/retest |
1 similar comment
/retest |
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ash2k, mortent, seans3 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This updates the InventoryClient implementation to use the dynamic client, rather than the builder and info functionality. It means we don't have to use the
resource.Info
types, which removes the need for theInfoHelper
in the InventoryClient. The dynamic client is also easier to work with and comes with aFakeDynamicClient
implementation that is easier to use than stubbing out the REST api through the TestFactory.