This repository was archived by the owner on Nov 24, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 353
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
Phys_Location in TO API uses non-RFC3339 date/time strings #7630
Copy link
Copy link
Closed
Labels
Traffic Opsrelated to Traffic Opsrelated to Traffic Opslow difficultythe estimated level of effort to resolve this issue is lowthe estimated level of effort to resolve this issue is lowlow impactaffects only a small portion of a CDN, and cannot itself break oneaffects only a small portion of a CDN, and cannot itself break onetech debtrework due to choosing easy/limited solutionrework due to choosing easy/limited solution
Description
Parent Issue: #5911
Breaking down the parent issue #5911 in smaller issues to raise separate, reviewable PRs for each of the services.
Traffic Control components affected:
- Traffic Ops
- Documentation
Current behavior:
Phys_Location Using Deprecated TimeNoMod & TimeLayout
curl --request GET \
--url https://localhost:8443/api/4.1/phys_locations
{
"response": [
{
"address": "Buckingham Palace",
"city": "London",
"comments": "Buckingham Palace",
"email": "steve.kingstone@royal.gsx.gov.uk",
"id": 41,
"lastUpdated": "2023-07-09 18:56:27+05",
"name": "New_Scot",
"phone": "0-843-816-6276",
"poc": "Her Majesty The Queen Elizabeth Alexandra Mary Windsor II",
"regionId": 71,
"region": "Scotland",
"shortName": "new_scot",
"state": "Westminster",
"zip": "SW1A 1AA"
},
]
}
Expected behavior:
Phys_Location to Use RFC3339 Format
curl --request GET \
--url https://localhost:8443/api/5.0/phys_locations
{
"response": [
{
"address": "Buckingham Palace",
"city": "London",
"comments": "Buckingham Palace",
"email": "steve.kingstone@royal.gsx.gov.uk",
"id": 41,
"lastUpdated": "2023-07-09T18:56:27.057163+05:30",
"name": "New_Scot",
"phone": "0-843-816-6276",
"poc": "Her Majesty The Queen Elizabeth Alexandra Mary Windsor II",
"regionId": 71,
"region": "Scotland",
"shortName": "new_scot",
"state": "Westminster",
"zip": "SW1A 1AA"
},
]
}
Steps to reproduce:
Make the above api call to 4.1 version
Metadata
Metadata
Assignees
Labels
Traffic Opsrelated to Traffic Opsrelated to Traffic Opslow difficultythe estimated level of effort to resolve this issue is lowthe estimated level of effort to resolve this issue is lowlow impactaffects only a small portion of a CDN, and cannot itself break oneaffects only a small portion of a CDN, and cannot itself break onetech debtrework due to choosing easy/limited solutionrework due to choosing easy/limited solution