-
-
Notifications
You must be signed in to change notification settings - Fork 588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Component Property API #2717
Conversation
3ee4dc1
to
7fe4cea
Compare
src/main/java/org/dependencytrack/resources/v1/ComponentPropertyResource.java
Show resolved
Hide resolved
src/main/java/org/dependencytrack/persistence/QueryManager.java
Outdated
Show resolved
Hide resolved
src/main/java/org/dependencytrack/persistence/ComponentQueryManager.java
Outdated
Show resolved
Hide resolved
🛠 Lift Auto-fixSome of the Lift findings in this PR can be automatically fixed. You can download and apply these changes in your local project directory of your branch to review the suggestions before committing.1 # Download the patch
curl https://lift.sonatype.com/api/patch/github.com/DependencyTrack/dependency-track/2717.diff -o lift-autofixes.diff
# Apply the patch with git
git apply lift-autofixes.diff
# Review the changes
git diff Want it all in a single command? Open a terminal in your project's directory and copy and paste the following command: curl https://lift.sonatype.com/api/patch/github.com/DependencyTrack/dependency-track/2717.diff | git apply Once you're satisfied, commit and push your changes in your project. Footnotes |
1c1924f
to
c5f695e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, @rkesters! Few minor changes required.
src/main/java/org/dependencytrack/persistence/ComponentQueryManager.java
Show resolved
Hide resolved
src/main/java/org/dependencytrack/resources/v1/ComponentPropertyResource.java
Outdated
Show resolved
Hide resolved
src/main/java/org/dependencytrack/resources/v1/ComponentPropertyResource.java
Outdated
Show resolved
Hide resolved
src/main/java/org/dependencytrack/resources/v1/ComponentPropertyResource.java
Show resolved
Hide resolved
src/main/java/org/dependencytrack/resources/v1/ComponentPropertyResource.java
Outdated
Show resolved
Hide resolved
src/main/java/org/dependencytrack/resources/v1/ComponentPropertyResource.java
Show resolved
Hide resolved
src/main/java/org/dependencytrack/upgrade/v490/v490Updater.java
Outdated
Show resolved
Hide resolved
c5f695e
to
6099607
Compare
Signed-off-by: Robert Kesterson <rkesters@gmail.com>
Signed-off-by: Robert Kesterson <rkesters@gmail.com>
6099607
to
2f14858
Compare
@melba-lopez I have responded to the comments and rebased the branch. |
Supersedes DependencyTrack#2717 Co-authored-by: Robert Kesterson <rkesters@gmail.com> Signed-off-by: nscuro <nscuro@protonmail.com>
Supersedes DependencyTrack#2717 Co-authored-by: Robert Kesterson <rkesters@gmail.com> Signed-off-by: nscuro <nscuro@protonmail.com>
Supersedes DependencyTrack#2717 Co-authored-by: Robert Kesterson <rkesters@gmail.com> Signed-off-by: nscuro <nscuro@protonmail.com>
Supersedes DependencyTrack#2717 Co-authored-by: Robert Kesterson <rkesters@gmail.com> Signed-off-by: nscuro <nscuro@protonmail.com>
Supersedes DependencyTrack#2717 Co-authored-by: Robert Kesterson <rkesters@gmail.com> Signed-off-by: nscuro <nscuro@protonmail.com>
Supersedes DependencyTrack#2717 Co-authored-by: Robert Kesterson <rkesters@gmail.com> Signed-off-by: nscuro <nscuro@protonmail.com>
Supersedes DependencyTrack#2717 Co-authored-by: Robert Kesterson <rkesters@gmail.com> Signed-off-by: nscuro <nscuro@protonmail.com>
Supersedes DependencyTrack#2717 Co-authored-by: Robert Kesterson <rkesters@gmail.com> Signed-off-by: nscuro <nscuro@protonmail.com>
Supersedes DependencyTrack#2717 Co-authored-by: Robert Kesterson <rkesters@gmail.com> Signed-off-by: nscuro <nscuro@protonmail.com>
For his work on the component property feature in DependencyTrack#2717. Signed-off-by: nscuro <nscuro@protonmail.com>
Description
Added the same Property API to Components that exists for Projects as requested in #2715
Addressed Issue
closes #2715
Additional Details
Did not update the documentation as Project Property API did not appear to be documented.
Updated update logic by adding a marking updater to increase the schema version. If I did this wrong please let me know what I should have done.
Checklist