Skip to content

Feature/edpc 4280 bitbucket service project existance#6

Merged
angelmp01 merged 8 commits intomasterfrom
feature/EDPC-4280-bitbucket-service-project-existance
Feb 27, 2026
Merged

Feature/edpc 4280 bitbucket service project existance#6
angelmp01 merged 8 commits intomasterfrom
feature/EDPC-4280-bitbucket-service-project-existance

Conversation

@angelmp01
Copy link
Collaborator

No description provided.

@github-actions
Copy link

📊 Static Analysis Summary

🔍 Code Quality Checks

  • ✅ JaCoCo coverage report generated

📦 Download detailed reports from the workflow artifacts.

Copy link
Collaborator

@jorge-romero jorge-romero left a comment

Choose a reason for hiding this comment

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

Have a look at the 2 comments, the cache need to be implemented in that way, the other point needs to be tested.

* @throws BitbucketException if the instance is not configured
* @throws BitbucketException if the instance name is null/blank or not configured
*/
@Cacheable(value = "bitbucketApiClients", key = "#instanceName")
Copy link
Collaborator

Choose a reason for hiding this comment

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

You need to add this, or there will be problems when someone tries to call it with a null value.

@Cacheable(value = "bitbucketApiClients", key = "#instanceName", condition = "#instanceName != null && !#instanceName.isBlank()")

} catch (HttpClientErrorException.NotFound e) {
log.debug("Project '{}' does not exist in instance '{}'", projectKey, instanceName);
return false;

Copy link
Collaborator

Choose a reason for hiding this comment

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

check if it is needed to catch when the token used is not valid (Unauthorized|Forbidden)

@github-actions
Copy link

📊 Static Analysis Summary

🔍 Code Quality Checks

  • ✅ JaCoCo coverage report generated

📦 Download detailed reports from the workflow artifacts.

@angelmp01 angelmp01 merged commit 10e8b66 into master Feb 27, 2026
3 checks passed
@angelmp01 angelmp01 deleted the feature/EDPC-4280-bitbucket-service-project-existance branch February 27, 2026 13:14
BraisVQ pushed a commit that referenced this pull request Mar 3, 2026
Co-authored-by: EDPCommunity Automated Test <x2odsedpcomm@boehringer-ingelheim.com>
BraisVQ pushed a commit that referenced this pull request Mar 3, 2026
Co-authored-by: EDPCommunity Automated Test <x2odsedpcomm@boehringer-ingelheim.com>
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.

2 participants