Commit Graph

27 Commits

Author SHA1 Message Date
Patrik Oldsberg 9258c54f87 Merge branch 'master' into rugvip/mod 2021-06-22 10:07:18 +02:00
Patrik Oldsberg d453c05dc3 apply core-imports codemod to all packages and plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-19 15:33:08 +02:00
Fredrik Adelöw a88073c29a Update copyright headers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-18 20:26:42 +02:00
Jeff Cook ec75495ee3 No need to export under the alias isPluginApplicableToEntity. ...
That's an old pattern, per https://github.com/backstage/backstage/pull/5245#discussion_r609367059.

Signed-off-by: Jeff Cook <jeff.cook@endurance.com>
2021-04-08 13:32:47 +00:00
Jeff Cook 38726cd9a7 Teach SonarQube isPluginApplicableToEntity.
Signed-off-by: Jeff Cook <jeff.cook@endurance.com>
2021-04-07 23:36:51 +00:00
Thilo Schmalfuss 322e01a951 SonarQubeClient: Fix encoding issue for project ids
Project ids can contain special characters like ':', so they need to be url-encoded
when used as query parameter.

Signed-off-by: Thilo Schmalfuss <thilo@staffbase.com>
2021-03-18 12:20:56 +01:00
Dominik Henneke 4e771685c1 Merge pull request #4739 from SDA-SE/feat/sonarqube-missing-metrics
[SonarQube] Collect all available metric types if the number exceeds the default page size of 100
2021-03-01 17:39:17 +01:00
Dominik Henneke 071ce44254 Fix review comments
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-03-01 15:09:31 +01:00
Dominik Henneke 4105503885 Collect all available metric types if the number exceeds the default page size of 100
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-03-01 11:50:18 +01:00
Jesse Bye d928271316 check for undefined instead to allow displaying 0 values 2021-02-26 15:24:20 -08:00
Jesse Bye bc30b9bb64 more consistency; omit % when no coverage is reported 2021-02-26 11:59:23 -08:00
Jesse Bye 2befe6d4ac use — instead of - 2021-02-26 11:57:04 -08:00
Jesse Bye a4c5758028 Use '-'; add changeset 2021-02-26 11:47:46 -08:00
Jesse Bye fe2c7c27d4 fix code style 2021-02-25 14:48:07 -08:00
Jesse Bye c53342955d prettier 2021-02-25 14:41:18 -08:00
Jesse Bye ca80bd534f prettier 2021-02-25 14:23:56 -08:00
Jesse Bye 0ae94e3ed6 Default to 0% if no coverage is reported 2021-02-25 14:05:45 -08:00
Oliver Sand f4c2bcf54b Use a more strict type for variant of cards
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-02-17 11:41:53 +01:00
Rob Long a98637c153 Update Percentage.tsx
useTheme() on line 32 returns null so I tested this change to the import on my local copy, which gets the sonar plugin working. Other plugins seem to be importing from '@material-ui/core', e.g. https://github.com/backstage/backstage/blob/7ee15d2c5b40a8984aacabe7bdf5ccab759d95a6/plugins/catalog/src/components/CatalogFilter/AllServicesCount.tsx#L19
2021-02-16 16:55:51 +00:00
Patrik Oldsberg 35efaf5c05 sonarqube: port to new composability API 2021-02-01 19:02:45 +01:00
Dominik Henneke 49a67732f9 Ask the SonarQube server for all support metrics prior to querying them for a project 2021-01-21 17:52:24 +01:00
Dominik Henneke 57f9d92cb9 Add support for Security Hotspots that are provided by SonarQube and SonarCloud 2021-01-19 16:18:25 +01:00
Dominik Henneke 0bc10faf6f Setup a devapp for SonarQube that shows the different states of the widget 2020-12-08 16:33:43 +01:00
Patrik Oldsberg bf78992c59 Merge pull request #3184 from SDA-SE/feat/links-sonarqube-plugin
feat(plugin-sonarqube): add links to each rating
2020-11-04 11:25:23 +01:00
Oliver Sand 3cbebc9c13 fix: fix edge case of sonarqube plugin if no quality gate was computed
Initially no quality gate is available, till the first analysis. Previously this was handled as "failed". Now it has its own state.
2020-11-02 19:20:23 +01:00
Jesko Steinberg f82ec384cb feat(plugin-sonarqube): add links to each rating 2020-11-02 10:41:56 +01:00
Dominik Henneke da0a79c3b8 feat: add sonarqube plugin (#3160) 2020-10-30 09:52:39 +01:00