-
Notifications
You must be signed in to change notification settings - Fork 38
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
Redfish refactor #296
Redfish refactor #296
Conversation
585f965
to
39d42a5
Compare
Codecov ReportBase: 43.69% // Head: 46.53% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #296 +/- ##
==========================================
+ Coverage 43.69% 46.53% +2.83%
==========================================
Files 27 27
Lines 2435 2265 -170
==========================================
- Hits 1064 1054 -10
+ Misses 1248 1096 -152
+ Partials 123 115 -8
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@joelrebel Will wait for the rebase, ping when ready. |
This moves the redfish client wrapping outside of the providers/redfish package, these methods always check the redfish session is valid before calling into the wrapped redfish library - gofish. By moving this out, other providers can also import the redfishwrapper.
The redfishwrapper validates the redfish session is active before any calling into the redfish methods. The rest of changes tries to prevents direct interaction with the gofish library methods although the gofish objects are accessed as is.
71105ec
to
8448345
Compare
@chrisdoherty4 good to go now. |
What does this PR implement/change/remove?
This is based on the feedback in #291
This moves the redfish client wrapping outside of the providers/redfish
package, these methods always check the redfish session is valid before
calling into the wrapped redfish library - gofish.
By moving this out, other providers can also import the redfishwrapper.