Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Remove tm_path from CDN Snapshots#5475

Merged
zrhoffman merged 13 commits intoapache:masterfrom
ocket8888:to/remove-tm_url
Feb 4, 2021
Merged

Remove tm_path from CDN Snapshots#5475
zrhoffman merged 13 commits intoapache:masterfrom
ocket8888:to/remove-tm_url

Conversation

@ocket8888
Copy link
Contributor

@ocket8888 ocket8888 commented Jan 27, 2021

What does this PR (Pull Request) do?

Removes the tm_path property from the stats property of CDN Snapshots.

Which Traffic Control components are affected by this PR?

  • Traffic Ops

What is the best way to verify this PR?

Ensure that the API versions 3 and lower return the tm_path string property in the stats property of CDN Snapshots, and that API version 4 does not. Also, ensure that saved snapshots pre-existing in the database have that property removed when the migration in this PR is applied.

The following criteria are ALL met by this PR

  • This PR includes tests
  • This PR includes documentation
  • This PR includes an update to CHANGELOG.md
  • This PR includes any and all required license headers
  • This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY

@ocket8888 ocket8888 marked this pull request as ready for review January 28, 2021 18:31
@ocket8888 ocket8888 changed the title Remove tm_url from CDN Snapshots Remove tm_path from CDN Snapshots Jan 29, 2021
@ocket8888 ocket8888 added new feature A new feature, capability or behavior low impact affects only a small portion of a CDN, and cannot itself break one Traffic Ops related to Traffic Ops labels Jan 29, 2021
Copy link
Collaborator

@tcfdev tcfdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Initial thoughts and questions regarding the code changes.

Copy link
Collaborator

@tcfdev tcfdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran locally and performed verification steps. All pass. LGTM!

@zrhoffman zrhoffman merged commit 2592df4 into apache:master Feb 4, 2021
@ocket8888 ocket8888 deleted the to/remove-tm_url branch February 4, 2021 17:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

low impact affects only a small portion of a CDN, and cannot itself break one new feature A new feature, capability or behavior Traffic Ops related to Traffic Ops

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CDN snapshot diff always has a diff with tm_path

4 participants