-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update timestamp for Delivery service Request Comment to match RFC3339 format #7570
Update timestamp for Delivery service Request Comment to match RFC3339 format #7570
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7570 +/- ##
=============================================
- Coverage 64.80% 30.30% -34.51%
Complexity 98 98
=============================================
Files 201 793 +592
Lines 8158 83427 +75269
Branches 898 898
=============================================
+ Hits 5287 25281 +19994
- Misses 2689 56026 +53337
- Partials 182 2120 +1938
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 592 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
||
deliveryServiceRequestComments := []tc.DeliveryServiceRequestCommentV5{} | ||
query := selectQuery() + where + orderBy + pagination | ||
rows, err := inf.Tx.NamedQuery(query, queryValues) |
Check failure
Code scanning / CodeQL
Database query built from user-controlled sources
traffic_ops/traffic_ops_golang/deliveryservice/request/comment/comments.go
Outdated
Show resolved
Hide resolved
traffic_ops/traffic_ops_golang/deliveryservice/request/comment/comments.go
Outdated
Show resolved
Hide resolved
traffic_ops/traffic_ops_golang/deliveryservice/request/comment/comments.go
Outdated
Show resolved
Hide resolved
traffic_ops/traffic_ops_golang/deliveryservice/request/comment/comments.go
Outdated
Show resolved
Hide resolved
Verified Locally. All Good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verified Locally. All good.
…9 format (apache#7570) * wip * add remaining methods * Add changelog, fix formatting * code review comments * add nano
This PR is not related to any issue. It changes the returned timestamp formats to RFC3339, for Delivery Service Request Comments in API 5.0 of Traffic Ops.
Which Traffic Control components are affected by this PR?
What is the best way to verify this PR?
Make sure all the unit/ API tests pass
Run TO and make CRUD requests against API 5.0 for Delivery Service Request Comments.
Ensure the timestamps are returned in RFC3339 format.
If this is a bugfix, which Traffic Control versions contained the bug?
PR submission checklist