Skip to content

listResourceDetails: ID is not UUID, but DB ID #2527

@resmo

Description

@resmo
ISSUE TYPE
  • Enhancement
  • Bug
COMPONENT NAME
API
CLOUDSTACK VERSION
4.11
CONFIGURATION

N/A

OS / ENVIRONMENT

N/A

SUMMARY

The respone of listResourceDetails includes an ID of the primary field not the UUID

STEPS TO REPRODUCE
 $ cs listResourceDetails resourcetype=uservm resourceid=d949e443-9bc8-4399-9e09-842bbb395cae --region=simulator     
EXPECTED RESULTS
{
  "count": 3, 
  "resourcedetail": [
    {
      "fordisplay": true, 
      "key": "foo", 
      "resourceid": "d949e443-9bc8-4399-9e09-842bbb395cae", 
      "resourcetype": "UserVm", 
      "value": "bar"
    }, 
ACTUAL RESULTS
{
  "count": 3, 
  "resourcedetail": [
    {
      "fordisplay": true, 
      "key": "foo", 
      "resourceid": "5", 
      "resourcetype": "UserVm", 
      "value": "bar"
    }, 

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions