Commit Graph

29519 Commits

Author SHA1 Message Date
Neemys 063ca97137 Change behavior of method useProjectInfo in plugin sonarqube
Will now return undefined instead of empty string. To be consistent with how the rest of the API works.

Also provide unit test for this method and the other one in the same file `isSonarQubeAvailable`

Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-08-01 16:55:59 +02:00
Neemys 6b7214547f Make plugin sonarqube-backend APIs use object as parameters
To be easily modified in the future

Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-08-01 16:42:05 +02:00
Neemys 1b2d1ff431 Make instanceName an optional parameter in plugin sonarqube-backend APIs
Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-08-01 10:42:43 +02:00
Neemys 88dae32a7e Take into account PR comments on sonarqube-backend plugin's router.ts
Simplify some code and change response method call to be `json` instead of plain `send`.

Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-07-29 17:22:35 +02:00
Neemys e53b32bc26 Update sonarqube-backend plugin's api-report.md
Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-07-28 19:10:07 +02:00
Neemys 67fd9417d1 Update sonarqube-backend plugin's dependencies
Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-07-28 18:26:49 +02:00
Neemys a8374f3e70 Fix failing UT in sonarqube-backend plugin
Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-07-28 18:22:51 +02:00
Neemys dad2f3d908 Remove no longer relevant comment
Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-07-28 17:48:04 +02:00
Neemys abdc8e2927 Rename Measure type to SonarqubeMeasure
to properly explicit that it refer to Sonarqube

Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-07-28 17:47:49 +02:00
Neemys 41d11ca579 Change SonarqubeInfoProvider.getBaseUrl's signature
To make future changes to the API easier

Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-07-28 17:45:36 +02:00
Neemys ae0e115dd1 Inline a type in useProjectKey in sonarqube plugin
Type used only used and referenced in one place

Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-07-28 16:50:43 +02:00
Neemys 932a31ade7 Improve changeset after review comment
Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-07-28 15:53:18 +02:00
Neemys b2b62ab5b6 Correct usage of 'sonarqube' with 'Sonarqube'
Also add 'Sonarqube' into vale vocab

Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-07-22 18:02:28 +02:00
Neemys e2be9ab3a4 Add plugin sonarqube-backend's changeset
Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-07-22 17:44:50 +02:00
Neemys 4bec71fe13 Update plugin sonarqube-backend's dependencies
Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-07-22 17:38:30 +02:00
Neemys 648190c0b4 Update plugin sonarqube-backend's README with proper information
Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-07-22 16:45:27 +02:00
Neemys ddd47ff7fb Fix typo in comment in sonarqube plugin
Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-07-22 15:27:51 +02:00
Neemys f1768c82e1 Update package.json for plugin sonarqube-backend
Set the plugin to non private and prefix the name with "@backstage/"

Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-07-22 15:27:50 +02:00
Neemys 035ea31f2c Add api-report.md for plugin sonarqube-backend
Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-07-22 15:27:49 +02:00
Neemys e9dcea3c92 Implement APIs of sonarqube-backend plugin's router
Also update the standalone server to add router dependencies

Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-07-22 15:27:48 +02:00
Neemys 55a31cc753 Add sonarqubeInfoProvider in sonarqube-backend plugin
Handle config and sonarqube api call

Heavily inspired from the jenkinsInfoProvider in the jenkins-backend plugin

Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-07-22 15:27:47 +02:00
Neemys 4d0fc08d4b Update sonarqube plugin's README.md to reflect recent changes
No more use for proxy configuration

Optional instance name in project annotations

Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-07-22 15:27:46 +02:00
Neemys f9c310a439 Modify sonarqube frontend plugin to handle multiple sonarqube instances
The instance name should be provided into the annotation in the `catalog-info.yaml`

Care has been taken to provide backward compatibility of previous annotation into the default sonarqube instance

Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-07-22 15:27:45 +02:00
Neemys 619b515172 Modify sonarqube frontend plugin to call the new sonarqube backend
backend only have mock API for now

Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-07-22 15:27:45 +02:00
Neemys 4d64f22c9d Add new backend bare plugin intended for sonarqube
Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-07-22 15:27:44 +02:00
Neemys 0be9fb918a create pull request
Signed-off-by: Neemys <36508659+Neemys@users.noreply.github.com>
2022-07-22 15:27:43 +02:00
Ben Lambert b7926841a8 Merge pull request #12789 from backstage/renovate/testcontainers-8.x-lockfile
fix(deps): update dependency testcontainers to v8.12.0
2022-07-22 14:42:14 +02:00
Ben Lambert e01296c2aa Merge pull request #12571 from alexrybch/shortcuts-storage-observe
added initial storage api subscription in Shortcuts plugin
2022-07-22 14:22:24 +02:00
renovate[bot] 505bed4c08 fix(deps): update dependency testcontainers to v8.12.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-22 12:08:05 +00:00
Ben Lambert fd7853bc94 Merge pull request #12783 from namco1992/avoid-double-encoding-bitbucket
Avoid double encoding in bitbucket integration
2022-07-22 14:04:41 +02:00
Alex Rybchenko 565071f258 updated changeset
Signed-off-by: Alex Rybchenko <arybchenko@box.com>
2022-07-22 11:02:06 +02:00
backstage-goalie[bot] 5f36581151 Merge pull request #12782 from backstage/renovate/graphiql-1.x-lockfile
fix(deps): update dependency graphiql to v1.10.0
2022-07-22 06:35:24 +00:00
Namco c4b460a47d Avoid double encoding in bitbucket integration
Signed-off-by: Namco <namco1992@gmail.com>
2022-07-22 14:22:12 +08:00
backstage-goalie[bot] c29f3c265f Merge pull request #12781 from backstage/renovate/zod-3.x-lockfile
fix(deps): update dependency zod to v3.17.10
2022-07-22 06:20:32 +00:00
renovate[bot] f12d5e290d fix(deps): update dependency graphiql to v1.10.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-22 05:40:28 +00:00
renovate[bot] 59a8318ad6 fix(deps): update dependency zod to v3.17.10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-22 05:39:34 +00:00
backstage-goalie[bot] 795a804111 Merge pull request #12779 from backstage/renovate/aws-sdk-2.x-lockfile
fix(deps): update dependency aws-sdk to v2.1180.0
2022-07-21 22:09:08 +00:00
renovate[bot] 646cb36d48 fix(deps): update dependency aws-sdk to v2.1180.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-21 21:31:59 +00:00
backstage-goalie[bot] 586aaad771 Merge pull request #12777 from backstage/renovate/eslint-plugin-jsx-a11y-6.x-lockfile
fix(deps): update dependency eslint-plugin-jsx-a11y to v6.6.1
2022-07-21 21:29:09 +00:00
backstage-goalie[bot] e1ebd0c4e3 Merge pull request #12776 from backstage/renovate/yarnpkg-parsers-3.x-lockfile
fix(deps): update dependency @yarnpkg/parsers to v3.0.0-rc.14
2022-07-21 21:18:12 +00:00
renovate[bot] 7c8404aa22 fix(deps): update dependency eslint-plugin-jsx-a11y to v6.6.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-21 20:37:00 +00:00
renovate[bot] 1a5d2609b5 fix(deps): update dependency @yarnpkg/parsers to v3.0.0-rc.14
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-21 20:36:11 +00:00
Ben Lambert 7495b78b7e Merge pull request #12748 from awanlin/bug/fix-bitbucket-server-getlastcommitshorthash
Added back support for when no branch is provided
2022-07-21 17:15:47 +02:00
Ben Lambert 26d077aa3e Update changeset
Signed-off-by: blam <ben@blam.sh>
2022-07-21 17:15:22 +02:00
backstage-goalie[bot] c085c0bfef Merge pull request #12772 from backstage/renovate/octokit-webhooks-10.x-lockfile
fix(deps): update dependency @octokit/webhooks to v10.0.9
2022-07-21 14:11:57 +00:00
Ben Lambert 8adb29c6de Merge pull request #12773 from backstage/renovate/jamesives-github-pages-deploy-action-4.x
chore(deps): update jamesives/github-pages-deploy-action action to v4.4.0
2022-07-21 16:08:31 +02:00
renovate[bot] 9da5632148 chore(deps): update jamesives/github-pages-deploy-action action to v4.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-21 13:36:31 +00:00
renovate[bot] 2cde48734f fix(deps): update dependency @octokit/webhooks to v10.0.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-21 13:36:15 +00:00
backstage-goalie[bot] 8ca75ea0c0 Merge pull request #12771 from backstage/renovate/codemirror
fix(deps): update dependency @codemirror/language to v6.2.1
2022-07-21 13:23:28 +00:00
backstage-goalie[bot] 203420c2a0 Merge pull request #12770 from backstage/renovate/puppeteer-15.x-lockfile
chore(deps): update dependency puppeteer to v15.4.1
2022-07-21 13:23:24 +00:00