jclouds-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrea Turli <andrea.tu...@gmail.com>
Subject Re: How to retrieve the ComputeServiceContext from api/provider
Date Wed, 24 Jun 2015 18:06:39 GMT
Andrew,

great question. Basically I need to create a new ContextBuilder from inside
the ComputeServiceAdapter of the providerA to invoke the APIs of a
providerB.

Best,
Andrea

On Wed, Jun 24, 2015 at 7:50 PM Andrew Phillips <aphillips@qrmedia.com>
wrote:

> > I think a simple solution can be to inject
> >
> > @Provider Supplier<URI> endpoint, @Provider Supplier<Credentials> creds
>
> Seems like a good option, indeed - into the ComputeServiceAdapter
> implementation, I presume?
>
> Are you already injecting the underlying API(s) directly into the
> adapter? If so, would be curious to know why the credentials and
> endpoint are still needed?
>
> Regards
>
> ap
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message