jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-82) Add a method to unwrap the target API from the view
Date Mon, 27 May 2013 20:38:19 GMT

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

ASF subversion and git services commented on JCLOUDS-82:
--------------------------------------------------------

Commit 334bd367302b058b0eef1444d05a6a43ecd3f065 in branch refs/heads/master from Ignasi Barrera
<ignasi.barrera@gmail.com>
[ https://git-wip-us.apache.org/repos/asf?p=incubator-jclouds.git;h=334bd36 ]

JCLOUDS-82: Added method to get the underlying Api from a View

                
> Add a method to unwrap the target API from the view
> ---------------------------------------------------
>
>                 Key: JCLOUDS-82
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-82
>             Project: jclouds
>          Issue Type: Sub-task
>          Components: jclouds-core
>            Reporter: Ignasi Barrera
>            Assignee: Ignasi Barrera
>             Fix For: 1.7.0
>
>         Attachments: JCLOUDS-82-chef.patch, JCLOUDS-82.patch
>
>
> See the comments in the parent issue.
> Add an unwrapApi() method to get at the underlying Api from a View. For example:
>       ComputeServiceContext context = ContextBuilder.newBuilder("rackspace-cloudservers-us")
>             .credentials(username, apiKey)
>             .buildView(ComputeServiceContext.class);
>       ComputeService compute = context.getComputeService();
>       NovaApi novaApi = context.unwrapApi(NovaApi.class);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message