xlab-steampunk / redfish-client-ruby

Ruby client for Redfish API
Apache License 2.0
1 stars 6 forks source link

Use this Redfish client without sessions #7

Closed neomilium closed 3 months ago

neomilium commented 5 months ago

Depending on your needs, it may be interesting to only call directly the target endpoint, instead of starting with a login (ie. Redfish sessions creation), call only one endpoint then logout to prevent from leaving sessions opened.

I would like to use this Redfish client without sessions in Foreman.

To reach my goal, I used a trick to force Root to consider only basic auth as option.

See https://github.com/theforeman/smart-proxy/pull/895/files

Is there is someone in maintainers interested by this feature?

matejart commented 5 months ago

Thank you for this suggestion, @neomilium.

Unfortunately at this time, we are not taking feature requests. However, we'll be happy to review and merge any PRs that improve functionality and are of sufficient quality.

ekohl commented 4 months ago

@matejart I opened https://github.com/xlab-steampunk/redfish-client-ruby/pull/8 a while back. Could you please review it?