Skip to content

Return processing token when cloning project #2842 - #3260

Merged
nscuro merged 3 commits into
DependencyTrack:masterfrom
rkg-mm:2842-Queue-tokens-for-project-cloning
Dec 8, 2023
Merged

nscuro merged 3 commits into
DependencyTrack:masterfrom
rkg-mm:2842-Queue-tokens-for-project-cloning

Conversation

@rkg-mm

@rkg-mm rkg-mm commented Dec 3, 2023 •

Copy link
Copy Markdown
Contributor

Description

Return a token when cloning projects which can be used to query clone processing status.
Add an endpoint to query clone processing status.

Addressed Issue

Closes #2842

Additional Details

I did not find an obvious way to also implement wrapping cloning in a transaction while using the processing tokens, so this part is not implemented.

Checklist

  • I have read and understand the contributing guidelines
  • This PR fixes a defect, and I have provided tests to verify that the fix is effective
  • This PR implements an enhancement, and I have provided tests to verify that it works as intended
  • This PR introduces changes to the database model, and I have added corresponding update logic
  • This PR introduces new or alters existing behavior, and I have updated the documentation accordingly

@rkg-mm

rkg-mm commented Dec 3, 2023

Copy link
Copy Markdown
Contributor Author

not sure why the unit test fails now, it works locally and I see no reason why It should not

@nscuro nscuro added this to the 4.11 milestone Dec 3, 2023
Make existing Bom token resource deprecated in favour of the new one.

Signed-off-by: Ralf King <[email protected]>
@nscuro

nscuro commented Dec 4, 2023

Copy link
Copy Markdown
Member

not sure why the unit test fails now, it works locally and I see no reason why It should not

Seems to be flaky, it's failing on other PRs as well. I'll have a look.

@nscuro nscuro left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @rkg-mm!

@nscuro nscuro added the enhancement New feature or request label Dec 8, 2023
@nscuro
nscuro merged commit a0ca1ab into DependencyTrack:master Dec 8, 2023
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jan 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Queue tokens for project cloning

2 participants