[
https://issues.apache.org/jira/browse/DTACLOUD-402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joseph J. VLcek updated DTACLOUD-402:
-------------------------------------
Attachment: 0001-DTACLOUD-402-Add-operations-for-pseudo-collections.patch
Note:
This is not a complet solution. It is only intended to
start a discussion.
Problem:
pseudo collections do not have any operations, e.g.: missing add.
Possible Solutions:
Could seed the db with templates for supported
pseudo collections and match against the DB where
the cloud backend does not provide support when
determining if operations URLs should be returnd.
> 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
> Assignee: Joseph J. VLcek
> Attachments:
> 0001-DTACLOUD-402-Add-operations-for-pseudo-collections.patch
>
>
> 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