[ 
https://issues.apache.org/jira/browse/JCLOUDS-849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14377565#comment-14377565
 ] 

fabio martelli commented on JCLOUDS-849:
----------------------------------------

Hi, working on this issue I found a problem about deployment location 
retrieving: I need to populate NodeMetadata from a Deployment (see 
DeploymentToNodeMetadata class) but I cannot set location for the NodeMetadata 
because this information is at CloudService level but at Deployment's.

I can see two alternatives:

1. perform a second request (when needed) to retrieve CloudService properties 
(including location)

2. change DeploymentApi.get() method in order to 
 2.a retrieve cloudservice information with deployments embedded into
 2.b filter deployments set by name in order to retrieve the deployment with 
the given name
 2.c include location among Deployment properties

[~nacx], [~andreaturli], [~Bhash90], [~ilgrosso] what do you think? Please, let 
me know ASAP.

Best Regards.

> Add the live test that extends the BaseComputeServiceLiveTest
> -------------------------------------------------------------
>
>                 Key: JCLOUDS-849
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-849
>             Project: jclouds
>          Issue Type: Sub-task
>          Components: jclouds-compute, jclouds-labs
>            Reporter: Ignasi Barrera
>            Assignee: fabio martelli
>              Labels: azure
>             Fix For: 2.0.0
>
>
> The BaseComputeServiceLiveTest provides the contract of the ComputeService 
> abstraction. All compute providers must have a test that extends the base one 
> with all live tests passing.
> An example implemention can be the DigitalOcean one:
> https://github.com/jclouds/jclouds-labs/blob/master/digitalocean/src/main/java/org/jclouds/digitalocean/compute/strategy/DigitalOceanComputeServiceAdapter.java



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to