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

Enable azure_binding for sonarqube community edition #209

Conversation

CyrineG
Copy link

@CyrineG CyrineG commented Oct 12, 2023

This PR aims to solve #208

@CyrineG CyrineG force-pushed the feature/enable-azure-binding-for-community-ed branch from a36c97f to 41ad6ef Compare October 12, 2023 16:24
@CyrineG CyrineG force-pushed the feature/enable-azure-binding-for-community-ed branch from 41ad6ef to 2d4ff5d Compare October 12, 2023 16:27
@jdamata
Copy link
Owner

jdamata commented Oct 13, 2023

Are we sure it's available on community? The check is failing with unknown url on the API call

@CyrineG
Copy link
Author

CyrineG commented Oct 13, 2023

@jdamata A POST to the api/alm_settings/set_azure_binding endpoint works perfectly in my team's sonarqube instance. This is what I found about it in the WebAPI docu
image

Is there anything I can do to help you verify that it's available?

@jdamata
Copy link
Owner

jdamata commented Oct 13, 2023

Weird. Can you look into why the tests/checks are failing for community then?

2023-10-13T00:00:07.7681256Z 2023/10/12 23:55:50 [DEBUG] POST ***127.0.0.1:9000/api/projects/delete?project=testSqProjectKey 2023-10-13T00:00:07.7682283Z --- FAIL: TestAccSonarqubeAzureBindingName (3.36s) 2023-10-13T00:00:07.7683543Z resource_sonarqube_azure_binding_test.go:49: Step 1/6 error: Error running apply: exit status 1 2023-10-13T00:00:07.7684390Z 2023-10-13T00:00:07.7685169Z Error: API returned an error: Unknown url : /api/alm_settings/set_azure_binding 2023-10-13T00:00:07.7686058Z 2023-10-13T00:00:07.7686570Z with sonarqube_azure_binding.gojswxscbf, 2023-10-13T00:00:07.7687685Z on terraform_plugin_test.tf line 15, in resource "sonarqube_azure_binding" "gojswxscbf":

@CyrineG
Copy link
Author

CyrineG commented Oct 13, 2023

Hello! you were right, turns out that in addition to the community edition we were using the sonarqube-community-branch-plugin which made a ton of stuff not available to the community edition, available. Sorry about that! Will be closing the PR and related issue

@CyrineG CyrineG closed this Oct 13, 2023
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