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

Andrew Bayer commented on JCLOUDS-218:
--------------------------------------

Ok, this is going to take a decent amount of work to do right, since we have to 
figure out how to get that project name and extend 
CloudStackComputeServiceAdapter into a new NinefoldComputeServiceAdapter that 
is aware of the project and knows where to add it to calls. This definitely 
won't be done for 1.6.2, but I'll try to get it done for 1.6.3 and 1.7.0.
                
> Issue using JClouds with Ninefold
> ---------------------------------
>
>                 Key: JCLOUDS-218
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-218
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-compute
>    Affects Versions: 1.6.1
>            Reporter: Mohan Baruwal Chhetri
>
> Issue when retrieving templates from Ninefold.
> Using ComputService.listImages() returns only the public images (templates) 
> because of the way in which the query is constructed. The query param 
> 'projectid' is not used.
> Ninefold API v 2.0 uses CloudStack 3.0 
> (http://download.cloud.com/releases/3.0.6/api_3.0.6/TOC_User.html) and when 
> using the Ninefold API, a "project" (use command=listProjects to identify) 
> must be specified - this includes listTemplates 
> (https://help.ninefold.com/entries/21478609-Using-the-Ninefold-API-v2-).
> However using JClouds, the constructed query to retrieve templates does not 
> include the projectid. The query constructed looks like this:
> https://api.ninefold.com/compute/v2.0?command=listTemplates&listall=true&templatefilter=executable&apiKey=<key>&signature=<signature>
> whereas it should look like
> https://api.ninefold.com/compute/v2.0?command=listTemplates&listall=true&templatefilter=self&projectid=<projectid>&apiKey=<apiKey>&signature=<signature>

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