Michal Fojtik created DTACLOUD-433:
--------------------------------------

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


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

Reply via email to