DependencyTrack / dependency-track

Dependency-Track is an intelligent Component Analysis platform that allows organizations to identify and reduce risk in the software supply chain.
https://dependencytrack.org/
Apache License 2.0
2.43k stars 529 forks source link

Deprecate `/api/v1/tag/{policyUuid}` in favor of `/api/v1/tag/policy/{uuid}` #3887

Closed nscuro closed 6 days ago

nscuro commented 6 days ago

Description

Deprecates /api/v1/tag/{policyUuid} in favor of /api/v1/tag/policy/{uuid}.

The deprecated endpoint is ambiguous.

See https://github.com/DependencyTrack/dependency-track/issues/586#issuecomment-1867101927

image

Addressed Issue

Relates to https://github.com/DependencyTrack/dependency-track/issues/586

Additional Details

N/A

Checklist

codacy-production[bot] commented 6 days ago

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
:white_check_mark: +0.00% (target: -1.00%) :x: 66.67% (target: 70.00%)
Coverage variation details | | Coverable lines | Covered lines | Coverage | | ------------- | ------------- | ------------- | ------------- | | Common ancestor commit (24e1773b01c5d11dfa5d72c0f3861df14bbb31f6) | 21904 | 16651 | 76.02% | | | Head commit (d3cffe6835254df6eb6b51c856d71597def3ab7e) | 21905 (+1) | 16651 (+0) | 76.01% (**+0.00%**) | **Coverage variation** is the difference between the coverage for the head and common ancestor commits of the pull request branch: ` - `
Diff coverage details | | Coverable lines | Covered lines | Diff coverage | | ------------- | ------------- | ------------- | ------------- | | Pull request (#3887) | 3 | 2 | **66.67%** | **Diff coverage** is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: `/ * 100%`

See your quality gate settings    Change summary preferences


:rocket: Don’t miss a bit, follow what’s new on Codacy.

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more