Climate V2 API returns tenant_id with dashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Blazar |
Fix Released
|
Low
|
Pablo Andres Fuente |
Bug Description
For example, if you query the V2 API to get all the leases, the tenant_id fields are rendered with slashes. This isn't wrong, but if a user copy and paste this in order to perform queries by tenant (will be implemented on https:/
Example of GET /leases
[
{
"user_id": "aac3f366-
"name": "admin-lease",
"end_date": "2014-10-
"reservations": [
{
"status": "pending",
"lease_id": "c3123f7b-
"id": "2401fbff-
}
],
"created_at": "2014-04-11 13:47:34.819719",
"updated_at": null,
"id": "c3123f7b-
"start_date": "2014-06-
"tenant_id": "01bf2a0b-
"events": [
{
"status": "UNDONE",
"lease_id": "c3123f7b-
"time": "2014-10-
"id": "106183ab-
},
{
"status": "UNDONE",
"lease_id": "c3123f7b-
"time": "2014-06-
"id": "25b3e45c-
}
],
"trust_id": "d593d51c-
},
{
"user_id": "f60582fb-
"name": "demo-lease",
"end_date": "2014-10-
"reservations": [
{
"status": "pending",
"lease_id": "b5e92cc1-
"id": "92497cef-
}
],
"created_at": "2014-04-11 13:48:50.836820",
"updated_at": null,
"id": "b5e92cc1-
"start_date": "2014-06-
"tenant_id": "1e38ecbf-
"events": [
{
"status": "UNDONE",
"lease_id": "b5e92cc1-
"time": "2014-10-
"id": "3bad7365-
},
{
"status": "UNDONE",
"lease_id": "b5e92cc1-
"time": "2014-06-
"id": "1f2cb71c-
}
],
"trust_id": "41635286-
}
]
summary: |
- Climate V2 API returns tenant_id with slashes + Climate V2 API returns tenant_id with dashes |
Changed in climate: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in climate: | |
assignee: | nobody → Pablo Andres Fuente (pablo-a-fuente) |
Changed in blazar: | |
milestone: | none → 0.1.1 |
Changed in blazar: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/89412
Review: https:/