> +
> + @Singleton
> + @Provides
> + protected Map<VirtualMachinePowerState, NodeMetadata.Status>
> toPortableNodeStatus() {
> + return toPortableNodeStatus;
> + }
> +
> + @Provides
> + @Singleton
> + protected Function<Supplier<NodeMetadata>, ServiceInstance> client() {
> + return new Function<Supplier<NodeMetadata>, ServiceInstance>() {
> +
> + @Override
> + public ServiceInstance apply(Supplier<NodeMetadata>
> nodeSupplier) {
> + try {
> + return new ServiceInstance(new
> URL("https://localhost/sdk"), "root", "", true);
Shouldn't this URL be the endpoint defined when creating the context?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/61/files#r14183984