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

Deprecate cachegroup/:id/unassigned_parameters#4423

Merged
ocket8888 merged 8 commits intoapache:masterfrom
mhoppa:feature/deprecate_cg_unassigned_params
Mar 16, 2020
Merged

Deprecate cachegroup/:id/unassigned_parameters#4423
ocket8888 merged 8 commits intoapache:masterfrom
mhoppa:feature/deprecate_cg_unassigned_params

Conversation

@mhoppa
Copy link
Copy Markdown
Contributor

@mhoppa mhoppa commented Feb 21, 2020

What does this PR (Pull Request) do?

  • This PR is not related to any Issue

Which Traffic Control components are affected by this PR?

  • Documentation
  • Traffic Ops

What is the best way to verify this PR?

Run traffic ops and make sure you can not hit the endpoint in API 2.0 and when performing a GET on it in 1.x you receive a deprecation message back in the returned alerts.

If this is a bug fix, what versions of Traffic Control are affected?

The following criteria are ALL met by this PR

  • This PR includes tests OR I have explained why tests are unnecessary
  • This PR includes documentation OR I have explained why documentation is unnecessary
  • This PR includes an update to CHANGELOG.md OR such an update is not necessary
  • This PR includes any and all required license headers
  • This PR ensures that database migration sequence is correct OR this PR does not include a database migration
  • This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Additional Information

@mitchell852 mitchell852 added documentation related to documentation Traffic Ops related to Traffic Ops tech debt rework due to choosing easy/limited solution labels Feb 21, 2020
Copy link
Copy Markdown
Contributor

@ocket8888 ocket8888 left a comment

Choose a reason for hiding this comment

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

Besides a changelog conflict, TP is also using this endpoint - can you replicate the behavior in the api handler? I think it's in CacheGroupService.js but it might be ParameterService.js.

@mhoppa
Copy link
Copy Markdown
Contributor Author

mhoppa commented Mar 4, 2020

All done 👍

@ocket8888 ocket8888 self-assigned this Mar 11, 2020
Copy link
Copy Markdown
Contributor

@ocket8888 ocket8888 left a comment

Choose a reason for hiding this comment

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

Docs build without errors/warnings and look accurate, all unit and client/api integration tests passing, manually verified that the route is not in 2.0 and returns a deprecation notice in 1.x, manually verified that in TP the list of link-able parameters is filtered appropriately and linking is done properly.

Copy link
Copy Markdown
Contributor

@ocket8888 ocket8888 left a comment

Choose a reason for hiding this comment

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

Oh, and _ wasn't used

@ocket8888 ocket8888 merged commit eb9b68f into apache:master Mar 16, 2020
@mhoppa mhoppa deleted the feature/deprecate_cg_unassigned_params branch March 16, 2020 21:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

documentation related to documentation tech debt rework due to choosing easy/limited solution Traffic Ops related to Traffic Ops

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants