jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <notificati...@github.com>
Subject Re: [jclouds/jclouds] Allow to link contexts and views together (#960)
Date Mon, 23 May 2016 07:48:04 GMT
There is no way of creating an unauthenticated one, because credentials are injected in many
places. I think a good solution would be to internally bind a `Supplier<Context>` and
`Supplier<View>` so users can provide an already existing context, or a supplier that
will lazily create it when needed. This makes more sense also in the generic case.

In the case of Azure, it will be a bit tricky, as the supplier will also need compute stuff
to get the keys from the VM (cyclyc dependency), but I'm pretty sure that will be feasible
with a couple changes. I'll update the PR and try to provide some proposed examples of how
it would work.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/960#issuecomment-220909659
Mime
View raw message