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

Andrew Phillips commented on JCLOUDS-154:
-----------------------------------------

> had its own version of supporting (or not) this mechanism

Looks like I've missed some interesting developments ;-) There's also a 
ProviderRegistry [1] that helps populate the Providers list [2] which OSGi 
seems to be using. Unfortunately I don't know much more about how the 
ProviderRegistry is actually called...

[1] 
https://github.com/jclouds/jclouds/blob/master/core/src/main/java/org/jclouds/osgi/ProviderRegistry.java
[2] 
https://github.com/jclouds/jclouds/blob/master/core/src/main/java/org/jclouds/providers/Providers.java#L86
                
> key [openstack-nova] not in the list of providers or apis: {}"
> --------------------------------------------------------------
>
>                 Key: JCLOUDS-154
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-154
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-compute
>    Affects Versions: 1.6.0
>         Environment: jclouds sdk version 1.6 
> Openstack - Folsom
> maven 
>            Reporter: Shankar
>              Labels: compute, openstack
>
> I get the an exception when I try to create a new context as below :
>               ComputeServiceContext context = 
> ContextBuilder.newBuilder(provider)
>                               .credentials(<username>, <password>)
>                               .endpoint(<endpoint>).modules(modules)
>                               .buildView(ComputeServiceContext.class);
> Not sure what is wrong - the parameter provider is correct & all other 
> parameters are correct as well. 
> I'm using maven with the following dependencies: 
>               <dependency>
>                       <groupId>org.jclouds.api</groupId>
>                       <artifactId>openstack-nova</artifactId>
>                       <version>1.6.0</version>
>               </dependency>
>               <dependency>
>                       <groupId>org.jclouds.driver</groupId>
>                       <artifactId>jclouds-slf4j</artifactId>
>                       <version>1.6.0</version>
>               </dependency>

--
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

Reply via email to