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
31 commits
Select commit Hold shift + click to select a range
b1502ae
Add some missing deprecation notices
ocket8888 Aug 2, 2023
cf7c764
Remove duplicated functionality
ocket8888 Aug 2, 2023
83f3cb6
add a utility function to deep copy arbitrary maps
ocket8888 Aug 3, 2023
ecab2db
add deep copy methods for server interface data
ocket8888 Aug 3, 2023
b967e08
Add v5 server types
ocket8888 Aug 3, 2023
b20a53e
Remove a seemingly unused property
ocket8888 Aug 3, 2023
a8cab2f
Add a wrapper for eliminating boilerplate when constructing apiinfos
ocket8888 Jul 10, 2023
ff2ab7b
Add convenience methods on APIInfos for wrapped handlers
ocket8888 Jul 10, 2023
de2db96
fix a bug where error codes weren't being set when they were handled
ocket8888 Jul 10, 2023
d9c4f5f
Fix debug binaries no longer ignored
ocket8888 Aug 14, 2023
412b7ce
add a check for proper api version in wrapper
ocket8888 Aug 14, 2023
a3e3dda
Update GET handler for APIv5
ocket8888 Aug 14, 2023
b6dc67e
Update PUT handler for APIv5
ocket8888 Aug 14, 2023
251b6d6
Update POST handler for APIv5
ocket8888 Aug 15, 2023
9d9fb94
update DELETE handler for APIv5
ocket8888 Aug 15, 2023
7de4b72
fix broken unit test
ocket8888 Aug 15, 2023
dfeda99
Replace redundancies in dsserver stuff
ocket8888 Aug 15, 2023
2d114e2
Fix up client methods and tests to use v5 structures
ocket8888 Aug 15, 2023
882377f
Update docs
ocket8888 Aug 15, 2023
988c7bc
Add the ability to quickly check if updates or revalidations are pending
ocket8888 Aug 15, 2023
65bad62
Update CHANGELOG
ocket8888 Aug 15, 2023
600bd91
Clarify error message
ocket8888 Aug 15, 2023
3e453d5
Fix updPending and revalPending logic
ocket8888 Aug 16, 2023
08451a8
Remove unused field
ocket8888 Aug 16, 2023
0555c51
Fix edge case for uninitialized timestamps
ocket8888 Aug 16, 2023
1d0c05e
Update docs
ocket8888 Aug 16, 2023
8fa5f22
fix incorrect naming in fixtures
ocket8888 Aug 16, 2023
fde2d87
Fix unhelpful error message
ocket8888 Aug 21, 2023
53ac345
Fix hard-coded v4 structures inside v5 tests
ocket8888 Aug 21, 2023
caf8f6c
Remove unused function
ocket8888 Aug 22, 2023
0a9f4d4
Use version methods for comparisons (where possible)
ocket8888 Aug 25, 2023
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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ local.tar.gz
*.sublime-project
*.sublime-workspace
.vscode/
__debug_bin
__debug_bin*
Comment thread
ocket8888 marked this conversation as resolved.
*.code-workspace
*.pydevproject
.idea/
Expand Down
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- [#7665](https://github.com/apache/trafficcontrol/pull/7665) *Automation* Changes to Ansible role dataset_loader to add ATS 9 support
### Added
- [#7672](https://github.com/apache/trafficcontrol/pull/7672) *Traffic Control Health Client* Added peer monitor flag while using `strategies.yaml`
- [#7609](https://github.com/apache/trafficcontrol/pull/7609) *Traffic Portal* Added Scope Query Param to SSO login.
- [#7609](https://github.com/apache/trafficcontrol/pull/7609) *Traffic Portal* Added Scope Query Param to SSO login.
- [#7450](https://github.com/apache/trafficcontrol/pull/7450) *Traffic Ops* Removed hypnotoad section and added listen field to traffic_ops_golang section in order to simplify cdn config.
- [#7290](https://github.com/apache/trafficcontrol/pull/7302) *Traffic Monitor* Update TM results with hostname from via header, syncronize health on caches with same service address
- [#7291](https://github.com/apache/trafficcontrol/pull/7291) *Traffic Ops* Extended Layered Profile feature to aggregate parameters for all server profiles.
Expand Down Expand Up @@ -72,9 +72,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- [##7605](https://github.com/apache/trafficcontrol/pull/#7605) *Traffic Ops* Fixes `cachegroups_request_comments` v5 apis to respond with `RFC3339` date/time Format.
- [#7621](https://github.com/apache/trafficcontrol/pull/7621) *Traffic Ops* Use ID token for OAuth authentication, not Access Token
- [#7694](https://github.com/apache/trafficcontrol/pull/7694) *t3c*, *Traffic Control Health Client* Upgrade to ATS 9.2
- [#7966](https://github.com/apache/trafficcontrol/pull/7696) *t3c* will no longer clear update flag when config failure occurs and will also give a cache config error msg on exit.
- [#7966](https://github.com/apache/trafficcontrol/pull/7696) *t3c* will no longer clear update flag when config failure occurs and will also give a cache config error msg on exit.
- [#7716](https://github.com/apache/trafficcontrol/pull/7716) *Apache Traffic Server* Use GCC 11 for building.
- [#7742](https://github.com/apache/trafficcontrol/pull/7742) *Traffic Ops* Changed api tests to supply the absolute path of certs.
- [#7718](https://github.com/apache/trafficcontrol/pull/7718) *Traffic Ops* `/servers` endpoint now responds with RFC3339 timestamps for all timestamp fields. Cleaned up naming conventions and superfluous data.

### Fixed
- [#7708] (https://github.com/apache/trafficcontrol/pull/7708) *Traffic Ops* Fixes Parameters V5 apis to respond with RFC3339 date/time Format
Expand All @@ -91,7 +92,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- [#7561](https://github.com/apache/trafficcontrol/pull/7561) *Traffic Ops* *Traffic Ops* Fixed `ASN` V5 apis to respond with `RFC3339` date/time Format.
- [#7598](https://github.com/apache/trafficcontrol/pull/7598) *Traffic Ops* Fixes Server Capability V5 Type Name Minor version
- [#7570](https://github.com/apache/trafficcontrol/pull/7570) *Traffic Ops* Fixes `deliveryservice_request_comments` v5 apis to respond with `RFC3339` date/time Format.
- [#7312](https://github.com/apache/trafficcontrol/issues/7312) *Docs* Changing docs for CDN locks for DELETE response structure v4 and v5.
- [#7312](https://github.com/apache/trafficcontrol/issues/7312) *Docs* Changing docs for CDN locks for DELETE response structure v4 and v5.
- [#7572](https://github.com/apache/trafficcontrol/pull/7572) *Traffic Ops* Fixes Delivery Service Requests V5 apis docs with RFC3339 date/time Format
- [#7544](https://github.com/apache/trafficcontrol/issues/7544) *Traffic Ops* Fixes stats_summary v5 apis to respond with RFC3339 date/time Format.
- [#7542](https://github.com/apache/trafficcontrol/pull/7542) *Traffic Ops* Fixed `CDN Locks` documentation to reflect the correct RFC3339 timestamps.
Expand Down
8 changes: 8 additions & 0 deletions docs/source/api/v4/servers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ Response Structure
:physLocationId: An integral, unique identifier for the physical location where the server resides
:profileNames: List of :ref:`profile-name` of the :term:`Profiles` used by this server
:revalPending: A boolean value which, if ``true`` indicates that this server has pending content invalidation/revalidation

.. deprecated:: 4.1
With the addition of ``revalUpdateTime`` and ``revalApplyTime``, this field is superfluous as it is trivially calculated from those other properties. It has been removed in version 5.0 of the API.

:revalUpdateTime: The last time a content invalidation/revalidation request was submitted for this server. This field defaults to standard epoch
:revalApplyTime: The last time a content invalidation/revalidation request was applied by this server. This field defaults to standard epoch
:rack: A string indicating "server rack" location
Expand Down Expand Up @@ -427,6 +431,10 @@ Response Structure
:physLocationId: An integral, unique identifier for the :term:`Physical Location` where the server resides
:profileNames: List of :ref:`profile-name` of the :term:`Profiles` used by this server
:revalPending: A boolean value which, if ``true`` indicates that this server has pending content invalidation/revalidation

.. deprecated:: 4.1
With the addition of ``revalUpdateTime`` and ``revalApplyTime``, this field is superfluous as it is trivially calculated from those other properties. It has been removed in version 5.0 of the API.

:revalUpdateTime: The last time a content invalidation/revalidation request was submitted for this server. This field defaults to standard epoch
:revalApplyTime: The last time a content invalidation/revalidation request was applied by this server. This field defaults to standard epoch
:rack: A string indicating "server rack" location
Expand Down
8 changes: 8 additions & 0 deletions docs/source/api/v4/servers_id.rst
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,10 @@ Response Structure
:physLocationId: An integral, unique identifier for the :term:`Physical Location` where the server resides
:profileNames: List of :ref:`profile-name` of the :term:`Profiles` used by this server
:revalPending: A boolean value which, if ``true`` indicates that this server has pending content invalidation/revalidation

.. deprecated:: 4.1
With the addition of ``revalUpdateTime`` and ``revalApplyTime``, this field is superfluous as it is trivially calculated from those other properties. It has been removed in version 5.0 of the API.

:revalUpdateTime: The last time a content invalidation/revalidation request was submitted for this server. This field defaults to standard epoch
:revalApplyTime: The last time a content invalidation/revalidation request was applied by this server. This field defaults to standard epoch
:rack: A string indicating "server rack" location
Expand Down Expand Up @@ -413,6 +417,10 @@ Response Structure
:physLocationId: An integral, unique identifier for the physical location where the server resided
:profileNames: List of :ref:`profile-name` of the :term:`Profiles` which was used by this server
:revalPending: A boolean value which, if ``true`` indicates that this server has pending content invalidation/revalidation

.. deprecated:: 4.1
With the addition of ``revalUpdateTime`` and ``revalApplyTime``, this field is superfluous as it is trivially calculated from those other properties. It has been removed in version 5.0 of the API.

:revalUpdateTime: The last time a content invalidation/revalidation request was submitted for this server. This field defaults to standard epoch
:revalApplyTime: The last time a content invalidation/revalidation request was applied by this server. This field defaults to standard epoch
:rack: A string indicating "server rack" location
Expand Down
Loading