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

Support for multi-tenant operations #176

Closed
moolitayer opened this issue Nov 23, 2016 · 6 comments · Fixed by #204
Closed

Support for multi-tenant operations #176

moolitayer opened this issue Nov 23, 2016 · 6 comments · Fixed by #204
Assignees

Comments

@moolitayer
Copy link

moolitayer commented Nov 23, 2016

There are going to be cross tenant apis for alerting e.g get alerts for all tenants.
We would need to have some support for those in clients, currently created with one tenant in mind.

@moolitayer
Copy link
Author

cc @lucasponce

@moolitayer moolitayer changed the title Create client per multiple tenants Client support per multiple tenants Nov 23, 2016
@josejulio
Copy link
Member

Could you elaborate a bit more?

@moolitayer
Copy link
Author

Wow that's quick, just discussed in a meeting with @lucasponce and @rubenvp8510 added description.

@moolitayer moolitayer changed the title Client support per multiple tenants Support for multi-tenant operations Nov 23, 2016
@lucasponce
Copy link
Contributor

The endpoints would need support from client are these ones:
http://www.hawkular.org/docs/rest/rest-alerts.html#__admin_cross_tenant_operations

@moolitayer
Copy link
Author

Specifically, the endpoint I'm using is:

curl -k -s \
    -H "Hawkular-Tenant: _system" \
    -H "Authorization: Bearer $HAWKULAR_TOKEN" \
    https://$HAWKULAR_HOST/hawkular/alerts/admin/alerts 

@lucasponce
Copy link
Contributor

@josejulio @rubenvp8510 could you take a look to this one ?

@israel-hdez israel-hdez self-assigned this Apr 4, 2017
israel-hdez added a commit to israel-hdez/hawkular-client-ruby that referenced this issue Apr 5, 2017
The endponts are:
- hawkular/alerts/admin/alerts
- hawkular/alerts/admin/events

This fixes hawkular#176
israel-hdez added a commit to israel-hdez/hawkular-client-ruby that referenced this issue Apr 5, 2017
The endponts are:
- hawkular/alerts/admin/alerts
- hawkular/alerts/admin/events

This fixes hawkular#176
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

Successfully merging a pull request may close this issue.

4 participants