Skip to content
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

Simplify setting headers for api-clients #47

Open
agrare opened this issue Mar 27, 2019 · 0 comments
Open

Simplify setting headers for api-clients #47

agrare opened this issue Mar 27, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@agrare
Copy link
Contributor

agrare commented Mar 27, 2019

All the api clients need to pass the identity information in the headers when accessing the API servers, this is not simple to do with the default generated clients by OpenAPI (ref https://github.com/ManageIQ/catalog-api/blob/c496425db1ec5b7ac2abdd342526d4627fdcd860/lib/topological_inventory.rb#L31)

We could add an initializer for the API clients that simplifies this task.

@agrare agrare added the enhancement New feature or request label Mar 27, 2019
@agrare agrare changed the title Simplify headers for api-clients Simplify setting headers for api-clients Mar 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant