[
https://issues.apache.org/jira/browse/DTACLOUD-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13561311#comment-13561311
]
David Lutterkort commented on DTACLOUD-433:
-------------------------------------------
The disks and volumes collection shouldn't even be mentioned in this case.
Since this will probably require some intricate changes in CIMI::Model::Schema,
feel free to assign this to me.
> Wrong :href attribute in disks when using $select=name
> ------------------------------------------------------
>
> Key: DTACLOUD-433
> URL: https://issues.apache.org/jira/browse/DTACLOUD-433
> Project: DeltaCloud
> Issue Type: Bug
> Reporter: Michal Fojtik
> Assignee: Michal Fojtik
>
> When doing:
> http://localhost:3001/cimi/machines?$select=name
> The result is:
> <Collection xmlns="http://schemas.dmtf.org/cimi/1"
> resourceURI="http://schemas.dmtf.org/cimi/1/MachineCollection">
> <id>http://localhost:3001/cimi/machines</id>
> <count>2</count>
> <Machine>
> <name>MockUserInstance</name>
> <disks href="/disks" />
> <volumes href="/volumes" />
> </Machine>
> <Machine>
> <name>Mock Instance With Profile Change</name>
> <disks href="/disks" />
> <volumes href="/volumes" />
> </Machine>
> <operation rel="add" href="http://localhost:3001/cimi/machines" />
> </Collection>
> The 'href' attribute on disks and volumes is wrong (/disks and /volumes)
--
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