No particular reasons, just easier, I guess.
Thanks
Il giorno mer 24 giu 2015 22:15 Andrew Phillips ha
scritto:
> > great question. Basically I need to create a new ContextBuilder from
> inside
> > the ComputeServiceAdapter of the providerA to invoke the APIs of a
> > providerB.
>
> Ah, interes
great question. Basically I need to create a new ContextBuilder from inside
the ComputeServiceAdapter of the providerA to invoke the APIs of a
providerB.
Ah, interesting. Any reason why you need to create the context for
providerB on the fly, rather than simply injecting a providerA and
prov
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
wrote:
> > I think a simple solution can be to inject
> >
> > @Provider
I think a simple solution can be to inject
@Provider Supplier endpoint, @Provider Supplier 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
I think a simple solution can be to inject
@Provider Supplier endpoint, @Provider Supplier creds
where needed.
Thanks,
Andrea
On Wed, Jun 24, 2015 at 5:47 PM Andrea Turli wrote:
> Hi,
>
> I need to access the values of the endpoint, identity and credentials of a
> provider from inside the pro
Hi,
I need to access the values of the endpoint, identity and credentials of a
provider from inside the provider's ComputeServiceAdapter itself.
What is the recommended way in jclouds?
Best,
Andrea