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

Consider moving path prefix from Managers to Client? #3

Open
jistr opened this issue Jul 11, 2013 · 1 comment
Open

Consider moving path prefix from Managers to Client? #3

jistr opened this issue Jul 11, 2013 · 1 comment

Comments

@jistr
Copy link
Contributor

jistr commented Jul 11, 2013

See #1 (comment)

We have to also consider whether e.g. v2 client will sometimes want to access URLs that are not scoped under /v2/.

@jistr
Copy link
Contributor Author

jistr commented Jul 11, 2013

It's also worth menitoning that user of the Python API should not get affected by this issue. All the URL/port information will be fetched from Keystone, not passed in by the user of tuskarclient. The client creation and workflow should look roughly like this:

from tuskarclient import client
tuskar = client.get_client('v1', **auth_info)
tuskar.racks.list() # etc...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant