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

fix: sonarqube test connection can not effective #7112

Merged
merged 2 commits into from
Mar 5, 2024
Merged

fix: sonarqube test connection can not effective #7112

merged 2 commits into from
Mar 5, 2024

Conversation

abeizn
Copy link
Contributor

@abeizn abeizn commented Mar 5, 2024

Summary

fix: sonarqube test connection can not effective

Does this close any open issues?

Closes #7091

Screenshots

image

Other Information

Any other information that is important to this PR.

@d4x1 d4x1 merged commit 1edd4c1 into main Mar 5, 2024
10 checks passed
@d4x1 d4x1 deleted the fix#7091 branch March 5, 2024 09:27
github-actions bot pushed a commit that referenced this pull request Mar 5, 2024
* fix: sonarqube test connection can not effective

* fix: testConnection add check
Copy link

github-actions bot commented Mar 5, 2024

🤖 Target: #release-v0.21 cherry pick finished successfully 🎉!

@github-actions github-actions bot added the bot/auto-cherry-pick-completed auto cherry pick completed label Mar 5, 2024
abeizn added a commit that referenced this pull request Mar 5, 2024
* fix: sonarqube test connection can not effective

* fix: testConnection add check

Co-authored-by: abeizn <zikuan.an@merico.dev>
d4x1 added a commit that referenced this pull request Jul 16, 2024
…untId in Jira issue related data" to v0.21. (#7741)

* fix: github deployment status active and inactive should be treated as success (#6873) (#6874)

Co-authored-by: Klesh Wong <zhenmian.huang@merico.dev>

* fix: github run api page<35 limit (#6876) (#6878)

* fix: github run api page<35 limit

* fix: some tips

* fix: update note

Co-authored-by: abeizn <zikuan.an@merico.dev>

* feat: support hide custom type toast in operator (#6879) (#6880)

Co-authored-by: 青湛 <0x1304570@gmail.com>

* fix: some bugs (#6882) (#6883)

* fix: operator toast control error

* fix: adapt to small screen margins

Co-authored-by: 青湛 <0x1304570@gmail.com>

* fix: adjust the style for page header (#6886) (#6887)

Co-authored-by: 青湛 <0x1304570@gmail.com>

* feat: auto cherry pick support multiple versions (#6894)

* fix: the layout error (#6895) (#6896)

Co-authored-by: 青湛 <0x1304570@gmail.com>

* fix: icon missed in data scope select (#6897) (#6898)

Co-authored-by: 青湛 <0x1304570@gmail.com>

* fix: triggering blueprint concurrently might lead to deadlock (#6901) (#6904)

Co-authored-by: Klesh Wong <zhenmian.huang@merico.dev>

* fix: triggering blueprint concurrently might lead to deadlock (#6902) (#6903)

Co-authored-by: Klesh Wong <zhenmian.huang@merico.dev>

* fix: asfheader format (#6900) (#6906)

* fix: asf header format

* fix: asf header format

* fix: asf header format

* fix: asf header format

Co-authored-by: abeizn <zikuan.an@merico.dev>

* fix: adjust the layout for page (#6909) (#6910)

Co-authored-by: 青湛 <0x1304570@gmail.com>

* fix: adjust the margin for page layout (#6913) (#6914)

Co-authored-by: 青湛 <0x1304570@gmail.com>

* fix: copywriting (#6917)

* cherry pick #6881 #6871 update dashboards, remove warnings to release v0.21 (#6919)

* fix(dashboard): update circleci dashboard

* fix(dashboard): update AzureDevops

* fix(dashboards): remove warnings

* fix(dashboard): fix selected_path filter

* feat: upgrade dora benchmarks to 2023 version (#6893) (#6920)

* feat: upgrade dora benchmarks to 2023 version

* feat: add 2021/2023 benchmark flag

* feat: add 2021/2023 benchmark flag

Co-authored-by: abeizn <zikuan.an@merico.dev>

* chore: upgrade antd to 5.14.0 (#6922) (#6924)

* chore: upgrade antd to 5.14.0

* fix: lint error

Co-authored-by: 青湛 <0x1304570@gmail.com>

* fix: default value error in jira transformation (#6925) (#6926)

Co-authored-by: 青湛 <0x1304570@gmail.com>

* fix: missed redirect path prefix in connection detail (#6928) (#6929)

Co-authored-by: 青湛 <0x1304570@gmail.com>

* fix: rerun task deadlock (#6932) (#6933)

Co-authored-by: Klesh Wong <zhenmian.huang@merico.dev>

* fix: new dshelper does not set raw data origin properly (#6935) (#6936)

Co-authored-by: Klesh Wong <zhenmian.huang@merico.dev>

* feat: add default name for scope config (#6937) (#6938)

Co-authored-by: 青湛 <0x1304570@gmail.com>

* fix: rerun pipeline deadlock (#6939) (#6940)

Co-authored-by: Klesh Wong <zhenmian.huang@merico.dev>

* fix: deployment dora dashboard (#6931) (#6942)

* fix: deployment dora dashboard

* fix: deployment dashbord add dora debug update

* fix: some note

* fix: adjust sql

* fix: mysql id lint

* fix: some bugs

* fix: some note

Co-authored-by: abeizn <zikuan.an@merico.dev>

* fix: update cfr metric (#6945) (#6946)

Co-authored-by: abeizn <zikuan.an@merico.dev>

* feat(dashboard): revert changes that try to remove wanings (#6948)

* chore: adds support for IPv6 in nginx (#6955) (#6960)

(cherry picked from commit 89f1461)

* fix: /grafana should be off (#6966) (#6967)

Co-authored-by: Klesh Wong <zhenmian.huang@merico.dev>

* fix(migration): fix rename operations in tapd plugin (#6970) (#6972)

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* feat: extends DNS variable assignment to additionally handle IPv6 (#6976) (#6979)

(cherry picked from commit 716d1e4)

* fix(zentao): update the type of `PriOrder` (#6986) (#6987)

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* refactor(middlewares): add `CheckAuthorizationHeader` (#6993) (#6994)

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* refactor: optimize bp cronjob scheduling (#6995) (#6996)

* refactor: optimize bp cronjob scheduling

* fix: linting

Co-authored-by: Klesh Wong <zhenmian.huang@merico.dev>

* feat: updates backend to listen on both IPv4 and IPv6 addresses (#6992)

(cherry picked from commit d15956e)

* cherry pick #7001 fix(azuredevops): fix some fields' value to v0.21 (#7003)

* fix(azuredevops): fix some fields' value

* fix(azuredevops): fix updated_date in cicd_scopes

* fix(azuredevops): fix test

* fix(azuredevops): fix e2e test errors

* refactor(azuredevops): update mysqlclien to v2.2.4, make it compatible with mysql8.3 on macOS (#7004) (#7012)

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* [AzureDevops ] fix: some fields' values (#7013) (#7015)

* fix(auzredevops): remove update_date from repos and cicd_scopes

* fix(azuredevops): fix environment field in cicd_tasks and cicd_pipelins

* fix(azuredevops): fix enviroment field in cicd_tasks and cicd_pipelines

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* fix: invalid url detection not working correctly (#7016) (#7017)

Co-authored-by: Klesh Wong <zhenmian.huang@merico.dev>

* fix(gitextractor): cover errors that may leak sensitive information (#7018) (#7019)

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* fix(azuredevops): fix unexpected environment field in cicd_tasks and cicd_pipelines (#7022) (#7023)

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* fix: unset scopeConfigId for scope not working on azdo/bamboo (#7024) (#7025)

Co-authored-by: Klesh Wong <zhenmian.huang@merico.dev>

* feat(cicd): generate deployment in cicd plugin (#6965) (#7028)

(cherry picked from commit 3254310)

* feat: missed circleci transformation (#7011) (#7029)

* fix: jira test connection error message for wrong user/pass not working (#7031) (#7034)

Co-authored-by: Klesh Wong <zhenmian.huang@merico.dev>

* fix: cfr dashboard value (#7035)

* fix(dockerfile): try to fix build errors (#7036) (#7037)

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* fix(ui): Add /health url with basicAuth disabled (#7009) (#7038)

* fix(zentao): fix `PatchConnection` (#7039) (#7040)

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* fix `updated_at` field in cicd_tasks and cicd_pipelines (#7032) (#7041)

* fix(gitextractor): cover errors that may leak sensitive information

* fix(azuredevops): fix updated_at field in cicd_tasks and cicd_pipelines

* fix(azuredevops): fix test errors

* fix(azuredevops): remove domain layer tables when collecting data fully

* fix(azuredevops): remove debug codes

* fix(azuredevops): fix testing errors

* fix(azuredevops): fix test errors

* fix(azuredevops): fix comments(most of them are about format)

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* fix(tapd): sanitize connection's respo (#7042) (#7043)

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* fix: cicd deployment dora delete when data nil (#7033) (#7044)

* fix: cicd deployment dora delete when data nil

* fix: lint

* fix: dora delete data where the data after filtering conditions is empty

* fix: comments

Co-authored-by: abeizn <zikuan.an@merico.dev>

* fix(security): fix cwe-276, (parts of)cwe-22 (#7045) (#7047)

* fix(security): fix cwe-276, (parts of)cwe-22

* fix(test): fix errors

* fix(test): fix errors

* fix(test): fix errors

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* fix(zentao): fix parsing errors for date related fields on zentao v18.10 (#7055)

* feat: add docs about v0.21 (#7030) (#7057)

Co-authored-by: 青湛 <0x1304570@gmail.com>

* chore: adjust the doc link to v0.21 (#7058)

* fix: pr cycle time doesn't respect time interval and is not null replace of != null (#7056)

* fix(azuredevops): fix environment field in cicd_tasks and cicd_pipelines (#7061)

* fix(azuredevops): remove unneccessary collectors when re-transformating project (#7062) (#7063)

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* fix(azuredevops): fix environment field (#7064) (#7065)

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* Fetch AzureDevops Builds by `finishTimeDescending` (#7068) (#7069)

* fix(azuredevops): fix environment field

* fix(azuredevops): fetch build with queryOrder = finishTimeDescending

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* fix: jenkins should be using `fullName` instead of `scopeId` when generating plan (#7067) (#7071)

Co-authored-by: Klesh Wong <zhenmian.huang@merico.dev>

* fix: empty dora data when run the tasks (#7070) (#7072)

* fix: empty dora data when run the tasks

Co-authored-by: abeizn <zikuan.an@merico.dev>

* fix: jenkins task name error (#7066) (#7077)

Co-authored-by: 青湛 <0x1304570@gmail.com>

* feat(plugins): add WRAP_RESPONSE_ERROR in config to avoid SSRF when testing connections (#7080) (#7081)

* feat(plugins): add WRAP_RESPONSE_ERROR in config to avoid SSRF when testing connections

* fix(plugins): update error messages

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* fix: show badge in connection name (#7085) (#7087)

Co-authored-by: 青湛 <0x1304570@gmail.com>

* fix: gitlab delate data by raw data table (#7095) (#7102)

Co-authored-by: abeizn <zikuan.an@merico.dev>

* fix: sonarqube connection delete on no scope config (#7093) (#7103)

* fix: sonarqube connection delete on no scope config

Co-authored-by: abeizn <zikuan.an@merico.dev>

* chore: upgrade miller-columns-select to 1.3.1 (#7109)

* fix: modify deployable_commit_title from varchar255 to text (#7106) (#7110)

Co-authored-by: abeizn <zikuan.an@merico.dev>

* fix(azuredevops): fix some bugs (#7108) (#7111)

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* fix: sonarqube test connection can not effective (#7112) (#7113)

* fix: sonarqube test connection can not effective

* fix: testConnection add check

Co-authored-by: abeizn <zikuan.an@merico.dev>

* fix: cronjob won't work for a new instance (#7119) (#7120)

Co-authored-by: Klesh Wong <zhenmian.huang@merico.dev>

* fix(dora): remove calculated `started_date` when converting pipelines to deployments (#7122) (#7123)

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* chore: upgrade miller-columns-select to 1.3.2 (#7126)

* fix: revert dora empty (#7128) (#7129)

Co-authored-by: abeizn <zikuan.an@merico.dev>

* fix(dora): add started_date when generating cicd_deployment_commits (#7130) (#7131)

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* fix: missed path prefix (#7127) (#7133)

Co-authored-by: 青湛 <0x1304570@gmail.com>

* fix: project path error (#7134) (#7136)

Co-authored-by: 青湛 <0x1304570@gmail.com>

* fix(plugins): fix wrong resp when testing connections, fix a typo in bitbucket (#7138)

* fix(customize): issue_repo_commit.host column ignores port, consistant with devinsights change. (#7094) (#7140)

* [bug][customize] Import csv issues API handle issues in multiple boards (#6978) (#7142)

* fix(customize): csv import should handle issues belong to multiple boards

* fix(customize): use more practical csv file for update test

* fix: add flag for data convert to dora (#7143)

* fix: add flag for data convert to dora

* fix: some minor optimizations

* fix: add subtask_name filter

* fix: blueprint gets disabled when disabling dora for project (#7146) (#7147)

Co-authored-by: Klesh Wong <zhenmian.huang@merico.dev>

* fix: missed plugin opsgenie doc (#7144) (#7145)

Co-authored-by: 青湛 <0x1304570@gmail.com>

* fix: add connectionId params on swag (#7152)

* fix: test connection swag doc (#7151)

* fix: unable to trigger blueprints with webhooks only (#7148) (#7149)

Co-authored-by: Klesh Wong <zhenmian.huang@merico.dev>

* fix: jira epic add time after (#7161) (#7162)

* fix: jira epic add time after

* fix: description

Co-authored-by: abeizn <zikuan.an@merico.dev>

* fix: some logs (#7163) (#7164)

Co-authored-by: abeizn <zikuan.an@merico.dev>

* fix: jira server test connection bug (#7165) (#7166)

Co-authored-by: abeizn <zikuan.an@merico.dev>

* fix: limit layout content width to 1280 (#7169) (#7170)

Co-authored-by: 青湛 <0x1304570@gmail.com>

* fix(helper): add more log (#7171)

Co-authored-by: houlinwei <timeror@gmail.com>

* Morelog (#7173)

* fix(helper): add more log

* fix(helper): add more log

---------

Co-authored-by: houlinwei <timeror@gmail.com>

* fix(zentao): update error message when testing connection fails (#7175) (#7176)

Co-authored-by: Lynwee <linwei.hou@merico.dev>
Co-authored-by: houlinwei <timeror@gmail.com>

* fix(helper): remove debug logs (#7179)

* fix(helper): remove debug logs

* fix(helper): remove logs

---------

Co-authored-by: houlinwei <timeror@gmail.com>

* fix: unnecessary loading (#7183) (#7186)

Co-authored-by: 青湛 <0x1304570@gmail.com>

* fix: no correct reset state (#7191) (#7192)

Co-authored-by: 青湛 <0x1304570@gmail.com>

* fix: jira jql checker add debug log (#7215) (#7216)

* fix: jira jql checker add debug log

* fix: jira jql checker add debug log

* fix: jira jql checker add debug log

Co-authored-by: abeizn <zikuan.an@merico.dev>

* fix: soc2 upgrade  (#7271)

* fix: upgrade go git

* fix: upgrade dgrijalva/jwt-go

* fix(python): update urllib3 to latest version (#7267)

* fix: upgrade grafana version

* fix: upgrade grafana

* fix: upgrade grafana

---------

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* feat: add devops file to v0.21 (#7296)

* fix(azuredevops): fix _tool_azuredevops_gitrepositories.id field (#7301) (#7302)

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* fix: db timeafter adjust (#7314) (#7316)

Co-authored-by: abeizn <zikuan.an@merico.dev>

* fix(tapd): change iteration_id's type from uint64 to int64 (#7334) (#7336)

* fix(tapd): change iteration_id's type from uint64 to int64

* fix(tapd): fix test

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* fix: add jira jql checker debug log (#7376) (#7377)

Co-authored-by: abeizn <zikuan.an@merico.dev>

* fix: customize plugin can not update old data (#7389) (#7392)

* fix: customize plugin can not update old data

* fix: recover pipeline_plan

* fix: e2e test

Co-authored-by: abeizn <zikuan.an@merico.dev>

* fix(zentao): update storyID field in tasks reponse, make it compatiable with oss 18.11 (#7403) (#7404)

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* feat: fetch execution information from the built-in page interface (#7513) (#7514)

Co-authored-by: abeizn <zikuan.an@merico.dev>

* fix: execution id not exist (#7520) (#7522)

Co-authored-by: abeizn <zikuan.an@merico.dev>

* feat: add assignees and reviewers to pull_request_x table (#7556)

* feat: add assignees and reviewers to pull_request_x table

* fix: unit test and e2e test

* fix: unit test

* fix: some tips

* fix: rename assignee reviewer id name

* feat: starrocks add STARROCKS_REPLICAS_NUM env (#7565)

* fix: add primary key to _tool_gitlab_assignees and _tool_gitlab_reviewers tables (#7573) (#7574)

Co-authored-by: abeizn <zikuan.an@merico.dev>

* fix: gitlab pr reviewers and assignees id (#7588) (#7594)

Co-authored-by: abeizn <zikuan.an@merico.dev>

* fix: pr reviewers and assignees script version error (#7645) (#7647)

* fix: pr reviewers and assignees script version error

* fix: adapt pg test

Co-authored-by: abeizn <zikuan.an@merico.dev>

* fix(zentao): make sure close_date must be before opened_date (#7699) (#7700)

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* cherry pick #7710 feat(jira): collector accounts from issue changelog items as much as possible to v0.21 (#7724)

* feat(jira): collector account from issue changelog items as much as possible

* fix(jira): fix migration scripts

* feat(jira): add `_tool_jira_issue_fields`, collect account field from the new table

* fix(jira): fix testes

* fix(jira): fix `reporter` field in issue change log items (#7726) (#7728)

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* fix(jira): fix account id when there is no from/to values (#7734) (#7735)

Co-authored-by: Lynwee <linwei.hou@merico.dev>

* fix(jira): fix OriginalToValue in issue_changelogs (#7737) (#7738)

Co-authored-by: Lynwee <1507509064@qq.com>

* fix(jira): don't use `tmpFromAccountId` and `tmpToAccountId` in issue changelogs

* fix(jira): remove all usage of `tmpFromAccountId` and `tmpToAccountId`

* refactor(jira): remove some codes

* fix(jira): fix e2e test

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Klesh Wong <zhenmian.huang@merico.dev>
Co-authored-by: abeizn <zikuan.an@merico.dev>
Co-authored-by: 青湛 <0x1304570@gmail.com>
Co-authored-by: Wanis Fahmy <51237742+wanisfahmyDE@users.noreply.github.com>
Co-authored-by: Leric Zhang <lianghui.zhang@merico.dev>
Co-authored-by: Sayeed M Hussain <sayeedhussain19@gmail.com>
Co-authored-by: houlinwei <timeror@gmail.com>
Co-authored-by: long2ice <jinlong.peng@merico.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug][Sonarqube] Can not load data scope - Requires support for Sonarcloud API
2 participants