Skip to content
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

Bug/989 bitbucketservice uses deprecated api call #1046

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Conversation

serverhorror
Copy link
Contributor

fix #989

@serverhorror serverhorror force-pushed the bug/989-bitbucketservice-uses-deprecated-api-call branch from 31a135e to 0d1fee3 Compare October 24, 2023 15:57
@serverhorror serverhorror force-pushed the bug/989-bitbucketservice-uses-deprecated-api-call branch from 0d1fee3 to 17006d0 Compare October 24, 2023 16:00
It is not necessary to Spy(BitbucketService ...) as we test this in BitbucketSerivceSpec already.

Mocking the class is sufficient
@deprecated
setBuildStatus(String buildUrl, String gitCommit, String state, String buildName)

Non-Deprecated method
setBuildStatus(String buildUrl, String repo, String gitCommit, String state, String buildName)
@serverhorror
Copy link
Contributor Author

Usages left:

  • org.ods.orchestration.InitStage.buildLoadClousure (and there's a typo in the method name)
  • org.ods.orchestration.FinalizeStage.run

To deprecate the call we need the repo available (repositorySlug)

@michaelsauter, @clemensutschig any good plan how to make this available ... umh ... everywhere?

@serverhorror serverhorror marked this pull request as ready for review February 6, 2024 13:14
@serverhorror
Copy link
Contributor Author

There's still one call left. I can't really find a good way to get rid of it but we're mostly there now.
@braisvq1996 -- opinions? It gets us at least along the way...

@braisvq1996
Copy link
Contributor

There's still one call left. I can't really find a good way to get rid of it but we're mostly there now. @braisvq1996 -- opinions? It gets us at least along the way...

Hi Martin, we are preparing a Quickstarter release at the moment. Once this is done I should have time to check this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bitbucket API call deprecation notice
2 participants