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

Reply via email to