Use RFC 3339 for lastUpdated timestamp in /server_server_capabilities#7744
Use RFC 3339 for lastUpdated timestamp in /server_server_capabilities#7744zrhoffman merged 2 commits intoapache:masterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7744 +/- ##
=============================================
- Coverage 65.05% 32.07% -32.98%
Complexity 98 98
=============================================
Files 314 712 +398
Lines 12365 81475 +69110
Branches 907 965 +58
=============================================
+ Hits 8044 26134 +18090
- Misses 3968 53195 +49227
- Partials 353 2146 +1793
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 367 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
| func (to *Session) GetServerServerCapabilities(opts RequestOptions) (tc.ServerServerCapabilitiesResponse, toclientlib.ReqInf, error) { | ||
| var resp tc.ServerServerCapabilitiesResponse | ||
| func (to *Session) GetServerServerCapabilities(opts RequestOptions) (tc.ServerServerCapabilitiesResponseV5, toclientlib.ReqInf, error) { | ||
| var resp tc.ServerServerCapabilitiesResponseV5 |
There was a problem hiding this comment.
Suggestion: GetServerServerCapabilities should probably be GetServerServerCapabilitiesV5
There was a problem hiding this comment.
We don't want V5 in the struct method name, since this is already the v5 version of the Session struct
There was a problem hiding this comment.
Verified v5 servers_server_capability_test.go DOES test the new code.
73fd4c3 to
c2e7652
Compare
c2e7652 to
931be5c
Compare
This PR resolves #7743 by using the timestamp format specified in RFC 3339 for the
lastUpdatedfield of the/api/5.0/server_server_capabilitiesendpoint.Which Traffic Control components are affected by this PR?
What is the best way to verify this PR?
Run the server_server_capabilities API tests
PR submission checklist