Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
47700fe
Add migration for DS TLS versions
ocket8888 May 25, 2021
ace12cf
Update DS model in APIv4
ocket8888 May 25, 2021
963a564
Add TLSVersions handling and validation for invalid versions to /deli…
ocket8888 May 26, 2021
1c65065
Fix incorrect responses from /deliveryservices/{ID}/safe
ocket8888 May 26, 2021
2d3b9b0
Fix DSRs storing/returning APIv4 DSes with empty tlsVersions instead …
ocket8888 May 26, 2021
614cb32
Fix being unable to update DSes with no TLS versions
ocket8888 May 27, 2021
cbf726e
Add ATC "known" TLS versions and a warning generation function for po…
ocket8888 Jun 7, 2021
5c15609
Add tlsVersions warnings to /deliveryservices
ocket8888 Jun 7, 2021
a728a1e
Add validation that prevents tlsVersions on STEERING/CLIENT_STEERING …
ocket8888 Jun 7, 2021
9631e9f
Fix a bug where adding TLS versions returns a 500 ISE response
ocket8888 Jun 7, 2021
31c2fef
Fix indirection of non-pointer value
ocket8888 Jun 7, 2021
98bd97e
Add TLS versions tests to the v4 API client
ocket8888 Jun 7, 2021
07be77a
Remove 'lastUpdated' timestamps from testing data
ocket8888 Jun 7, 2021
37215d7
Update /deliveryservices documentation
ocket8888 Jun 7, 2021
a8d2549
Update /deliveryservices/{{ID}} documentation
ocket8888 Jun 7, 2021
b52c9eb
Update /deliveryservices/{{ID}}/safe documentation
ocket8888 Jun 8, 2021
0f57db6
Update /deliveryservice_requests documentation
ocket8888 Jun 8, 2021
6524edc
Update /deliveryservice_requests/{{ID}}/status documentation
ocket8888 Jun 8, 2021
1b9780f
Update /deliveryservice_requests/{{ID}}/assign documentation
ocket8888 Jun 8, 2021
366bdbc
Update /servers/{{ID}}/deliveryservices documentation
ocket8888 Jun 8, 2021
de6c80c
Add section about TLS versions to the Delivery Service overview docs
ocket8888 Jun 8, 2021
9fea661
Updated CHANGELOG
ocket8888 Jun 8, 2021
9ae9895
Revert non-nullable DS fields
ocket8888 Jun 9, 2021
69c8862
Change version checking to proper upgrade to preserve existing pattern
ocket8888 Jun 11, 2021
f265cf6
Rename function to make its purpose clear
ocket8888 Jun 15, 2021
4a60946
Move comment into GoDoc where it's more useful
ocket8888 Jun 15, 2021
4086804
Use Exec for queries that don't return rows
ocket8888 Jun 15, 2021
d3c598e
Consolidate TLS Versions warnings into a single function
ocket8888 Jun 15, 2021
e0674ea
re-use query for TLS Versions
ocket8888 Jun 15, 2021
d6970f8
Fix tests for new query structure
ocket8888 Jun 16, 2021
ecac684
Revert all breaking DS changes
ocket8888 Jun 16, 2021
be79836
Fix not saving DS changes
ocket8888 Jul 7, 2021
c768b14
Fix unit test failure
ocket8888 Jul 8, 2021
7b0b015
Fix integration test missing required DS fields
ocket8888 Jul 8, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- Added `traffic_ops/app/db/traffic_vault_migrate` to help with migrating Traffic Ops Traffic Vault backends
- Added a tool at `/traffic_ops/app/db/reencrypt` to re-encrypt the data in the Postgres Traffic Vault with a new key.
- Enhanced ort integration test for reload states
- Added a new field to Delivery Services - `tlsVersions` - that explicitly lists the TLS versions that may be used to retrieve their content from Cache Servers.

### Fixed
- [#5690](https://github.com/apache/trafficcontrol/issues/5690) - Fixed github action for added/modified db migration file.
Expand All @@ -76,7 +77,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- [#5965](https://github.com/apache/trafficcontrol/issues/5965) - Fixed Traffic Ops /deliveryserviceservers If-Modified-Since requests.
- Fixed t3c to create config files and directories as ats.ats
- Fixed t3c-apply service restart and ats config reload logic.
- Reduced TR dns.max-threads ansible default from 10000 to 100.
- Reduced TR dns.max-threads ansible default from 10000 to 100.
- [#5981](https://github.com/apache/trafficcontrol/issues/5891) - `/deliveryservices/{{ID}}/safe` returns incorrect response for the requested API version
- [#5984](https://github.com/apache/trafficcontrol/issues/5894) - `/servers/{{ID}}/deliveryservices` returns incorrect response for the requested API version

### Changed
- Updated the Traffic Ops Python client to 3.0
Expand Down
28 changes: 17 additions & 11 deletions docs/source/api/v4/deliveryservice_requests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ The response is an array of representations of :term:`Delivery Service Requests`
"innerHeaderRewrite": null,
"ipv6RoutingEnabled": true,
"lastHeaderRewrite": null,
"lastUpdated": "0001-01-01 00:00:00+00",
"lastUpdated": "0001-01-01T00:00:00Z",
"logsEnabled": true,
"longDesc": "Apachecon North America 2018",
"matchList": [
Expand Down Expand Up @@ -187,7 +187,8 @@ The response is an array of representations of :term:`Delivery Service Requests`
"zyx"
],
"maxOriginConnections": 0,
"ecsEnabled": false
"ecsEnabled": false,
"tlsVersions": null
},
"status": "draft"
}]}
Expand Down Expand Up @@ -249,7 +250,7 @@ The request must be a well-formed representation of a :term:`Delivery Service Re
"innerHeaderRewrite": null,
"ipv6RoutingEnabled": true,
"lastHeaderRewrite": null,
"lastUpdated": "2020-02-13 16:43:54+00",
"lastUpdated": "2020-02-13T16:43:54Z",
"logsEnabled": true,
"longDesc": "Apachecon North America 2018",
"matchList": [
Expand Down Expand Up @@ -302,7 +303,8 @@ The request must be a well-formed representation of a :term:`Delivery Service Re
],
"maxOriginConnections": 0,
"ecsEnabled": false,
"serviceCategory": null
"serviceCategory": null,
"tlsVersions": null
}
}

Expand Down Expand Up @@ -372,7 +374,7 @@ The response will be a representation of the created :term:`Delivery Service Req
"innerHeaderRewrite": null,
"ipv6RoutingEnabled": true,
"lastHeaderRewrite": null,
"lastUpdated": "0001-01-01 00:00:00+00",
"lastUpdated": "0001-01-01T00:00:00Z",
"logsEnabled": true,
"longDesc": "Apachecon North America 2018",
"matchList": [
Expand Down Expand Up @@ -424,7 +426,8 @@ The response will be a representation of the created :term:`Delivery Service Req
"zyx"
],
"maxOriginConnections": 0,
"ecsEnabled": false
"ecsEnabled": false,
"tlsVersions": null
},
"original": {
"active": true,
Expand Down Expand Up @@ -455,7 +458,7 @@ The response will be a representation of the created :term:`Delivery Service Req
"innerHeaderRewrite": null,
"ipv6RoutingEnabled": true,
"lastHeaderRewrite": null,
"lastUpdated": "2020-02-13 16:43:54+00",
"lastUpdated": "2020-02-13T16:43:54Z",
"logsEnabled": true,
"longDesc": "Apachecon North America 2018",
"matchList": [
Expand Down Expand Up @@ -508,7 +511,8 @@ The response will be a representation of the created :term:`Delivery Service Req
],
"maxOriginConnections": 0,
"ecsEnabled": false,
"serviceCategory": null
"serviceCategory": null,
"tlsVersions": null
},
"status": "draft"
}
Expand Down Expand Up @@ -628,7 +632,7 @@ The response is a full representation of the edited :term:`Delivery Service Requ
"infoUrl": null,
"initialDispersion": 1,
"ipv6RoutingEnabled": true,
"lastUpdated": "2020-09-25 02:09:54+00",
"lastUpdated": "2020-09-25T02:09:54Z",
"logsEnabled": true,
"longDesc": "Apachecon North America 2018",
"matchList": [
Expand Down Expand Up @@ -685,7 +689,8 @@ The response is a full representation of the edited :term:`Delivery Service Requ
"firstHeaderRewrite": null,
"innerHeaderRewrite": null,
"lastHeaderRewrite": null,
"serviceCategory": null
"serviceCategory": null,
"tlsVersions": null
},
"requested": {
"active": true,
Expand Down Expand Up @@ -756,7 +761,8 @@ The response is a full representation of the edited :term:`Delivery Service Requ
"firstHeaderRewrite": null,
"innerHeaderRewrite": null,
"lastHeaderRewrite": null,
"serviceCategory": null
"serviceCategory": null,
"tlsVersions": null
},
"status": "draft"
}}
Expand Down
8 changes: 5 additions & 3 deletions docs/source/api/v4/deliveryservice_requests_id_assign.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ The response contains a full representation of the newly assigned :term:`Deliver
"infoUrl": null,
"initialDispersion": 1,
"ipv6RoutingEnabled": true,
"lastUpdated": "2020-09-25 02:09:54+00",
"lastUpdated": "2020-09-25T02:09:54Z",
"logsEnabled": true,
"longDesc": "Apachecon North America 2018",
"matchList": [
Expand Down Expand Up @@ -226,7 +226,8 @@ The response contains a full representation of the newly assigned :term:`Deliver
"firstHeaderRewrite": null,
"innerHeaderRewrite": null,
"lastHeaderRewrite": null,
"serviceCategory": null
"serviceCategory": null,
"tlsVersions": null
},
"requested": {
"active": true,
Expand Down Expand Up @@ -297,7 +298,8 @@ The response contains a full representation of the newly assigned :term:`Deliver
"firstHeaderRewrite": null,
"innerHeaderRewrite": null,
"lastHeaderRewrite": null,
"serviceCategory": null
"serviceCategory": null,
"tlsVersions": null
},
"status": "draft"
}}
Expand Down
8 changes: 5 additions & 3 deletions docs/source/api/v4/deliveryservice_requests_id_status.rst
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ The response is a full representation of the modified :term:`DSR`.
"infoUrl": null,
"initialDispersion": 1,
"ipv6RoutingEnabled": true,
"lastUpdated": "2020-09-25 02:09:54+00",
"lastUpdated": "2020-09-25T02:09:54Z",
"logsEnabled": true,
"longDesc": "Apachecon North America 2018",
"matchList": [
Expand Down Expand Up @@ -223,7 +223,8 @@ The response is a full representation of the modified :term:`DSR`.
"firstHeaderRewrite": null,
"innerHeaderRewrite": null,
"lastHeaderRewrite": null,
"serviceCategory": null
"serviceCategory": null,
"tlsVersions": null
},
"requested": {
"active": true,
Expand Down Expand Up @@ -294,7 +295,8 @@ The response is a full representation of the modified :term:`DSR`.
"firstHeaderRewrite": null,
"innerHeaderRewrite": null,
"lastHeaderRewrite": null,
"serviceCategory": null
"serviceCategory": null,
"tlsVersions": null
},
"status": "submitted"
}}
Loading