[
https://issues.apache.org/jira/browse/DTACLOUD-402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13536504#comment-13536504
]
David Lutterkort commented on DTACLOUD-402:
-------------------------------------------
Both need to be changed: the tests need to be prepared for providers that do
not allow adding templates, and the server code needs to properly advertise the
add operation.
> CIMI: machineTemplates collection does not have any operations
> --------------------------------------------------------------
>
> Key: DTACLOUD-402
> URL: https://issues.apache.org/jira/browse/DTACLOUD-402
> Project: DeltaCloud
> Issue Type: Bug
> Components: CIMI/Frontend
> Environment: Deltacloud git commit:
> 8af48384a168898de9a7e1b3be328f1fe4128b78
> Ruby 1.9.3
> Reporter: Ronelle Landy
>
> deltacloud/tests/cimi/part3_test.rb looks for:
> mach_templ_add_uri = discover_uri_for("add", "machineTemplates")
> which raises an exception because machineTemplates (cimi, <any> provider)
> does not return any operations:
> { "resourceURI" =>
> "http://schemas.dmtf.org/cimi/1/MachineTemplateCollection", "count" => 0,
> "id" =>
> "http://qeblade39.rhq.lab.eng.bos.redhat.com:3001/cimi/machine_templates" }
> Either the test or the src code needs to change here - not sure which -
> please advise.
--
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