Need to validate date and time format of a response of tenant_usage API
Bug #1567640 reported by
Ken'ichi Ohmichi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Medium
|
Ghanshyam Mann |
Bug Description
Current response schema just checks string format, but we have multiple date and time format.
So tempest needs to validate these formats to block backwards incompatible change.
Changed in tempest: | |
importance: | Undecided → Medium |
Changed in tempest: | |
assignee: | nobody → Ghanshyam Mann (ghanshyammann) |
To post a comment you must log in.
(3:09:10 PM) mriedem: oomichi: the response value for started_at is here https:/ /github. com/openstack/ nova/blob/ master/ nova/api/ openstack/ compute/ simple_ tenant_ usage.py# L132 launched_ at, which is an oslo.versionedo bject DateTimeField /github. com/openstack/ oslo.versionedo bjects/ blob/master/ oslo_versionedo bjects/ fields. py#L403 /github. com/openstack/ oslo.versionedo bjects/ blob/master/ oslo_versionedo bjects/ _utils. py#L21
(3:09:28 PM) mriedem: which is instance.
(3:10:00 PM) mriedem: which gets it's string version here https:/
(3:10:17 PM) mriedem: and the format for that is here https:/