Commit Graph

618 Commits

Author SHA1 Message Date
Fredrik Adelöw 19a56f024b Merge pull request #5361 from jmgrimes/catalog-model-system-resources-and-component-dependencies-cards
Added system resources and component dependencies (components/resources) cards
2021-05-17 22:16:39 +02:00
github-actions[bot] df31bdca8f Version Packages 2021-05-12 09:39:51 +00:00
dependabot[bot] ee103bc710 chore(deps): bump @testing-library/user-event from 12.8.3 to 13.1.8
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 12.8.3 to 13.1.8.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v12.8.3...v13.1.8)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 14:30:59 +02:00
Marcus Eide 699bca6725 Merge branch 'master' into eide/shortcut-plugin 2021-05-07 17:06:23 +02:00
dependabot[bot] 0b51bcb008 chore(deps): bump react-use from 15.3.8 to 17.2.4
Bumps [react-use](https://github.com/streamich/react-use) from 15.3.8 to 17.2.4.
- [Release notes](https://github.com/streamich/react-use/releases)
- [Changelog](https://github.com/streamich/react-use/blob/master/CHANGELOG.md)
- [Commits](https://github.com/streamich/react-use/compare/v15.3.8...v17.2.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 09:20:46 +00:00
Jonah Grimes 38df6b64f3 Added explicit variant='gridItem' to entity has dependencies cards.
Signed-off-by: Jonah Grimes <jgrimes@appriss.com>
2021-05-06 08:17:12 -04:00
Jonah Grimes 35965ab248 added EntityHasResourcesCard to system overview page, added dependencies page to display dependency components and dependency resources to service and website page layout
Signed-off-by: Jonah Grimes <jgrimes@appriss.com>
2021-05-06 08:17:11 -04:00
Marcus Eide d8cfac252a Merge branch 'master' into eide/shortcut-plugin 2021-05-06 13:28:53 +02:00
github-actions[bot] d397eb470f Version Packages 2021-05-06 08:25:18 +00:00
Fredrik Adelöw 38ca051682 The default @octokit/rest dependency was bumped to "^18.5.3".
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-05-03 11:15:22 +02:00
Marcus Eide 44fc883189 Merge branch 'master' into eide/shortcut-plugin 2021-04-30 14:12:10 +02:00
Marcus Eide a4c5361c0e Use storageApi.forBucket and add back a default implementation in the plugin
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-04-30 09:42:08 +02:00
github-actions[bot] 44abfaada6 Version Packages 2021-04-29 13:35:03 +02:00
github-actions[bot] 034998d537 Version Packages 2021-04-22 13:19:35 +00:00
Marcus Eide f8eb7cacc7 Provide implementation of the api in the app instead
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-04-22 10:33:40 +02:00
alde e7d2fb93f0 Create code-coverage plugin
In order to use this plugin, you must set the
`backstage.io/code-coverage` annotation on your entity.

```yaml
backstage.io/code-coverage: enabled
```

There's a feature to only include files that are in SCM in the coverage
report, this is helpful to not count generated files for example. To
enable this set the `backstage.io/code-coverage` annotation to
`scm-only`.

```yaml
backstage.io/code-coverage: scm-only
```

The backend plugin provides API endpoints for submitting code-coverage
reports. Currently jacoco and cobertura are supported. These reports
are normalized to a json format that is stored in the database.

```json
// curl -X POST -H "Content-Type:text/xml" -d @cobertura.xml "localhost:7000/api/code-coverage/Component/default/entity-name?coverageType=cobertura"
{
    "links": [
        {
            "href": "http://localhost:7000/api/code-coverage/Component/default/entity-name",
            "rel": "coverage"
        }
    ]
}
```

It also provides some additional API endpoints:
* Viewing the latest report
* Viewing a more condensed history of code coverage values
* Retrieving file contents from source-control, used by the UI

Provides a graph of code coverage change over time, as well as a file
view where you can see the highlighted lines.

Co-authored-by: nissayeva <natashaaay@gmail.com>
Signed-off-by: alde <r.dybeck@gmail.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-21 12:58:18 +02:00
Marcus Eide f9a100f39c Remove unintentional export in plugins.ts
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-04-20 16:32:51 +02:00
Marcus Eide 7812b6ac3c Add new shortcut plugin
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-04-20 15:07:18 +02:00
Fredrik Adelöw 4e7c9d7d16 Merge pull request #5374 from wrighbr/master
Datadog RUM events
2021-04-20 14:47:47 +02:00
Brett Wright 766533df4b Revert "Move diagram to system page"
This reverts commit 876a468740f25b69d6dc7737586d7d64348daf6a.

Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-04-19 19:48:16 +02:00
Brett Wright 47b4c33c1f Revert "Delete EntityPage.tsx"
This reverts commit 157318b7b261541758c353482d98e0372a4369ce.

Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-04-19 19:48:16 +02:00
Brett Wright 0f649240bf Delete EntityPage.tsx
Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-04-19 19:48:16 +02:00
Brett Wright 817e7fee1f ran Prettier
Signed-off-by: Brett Wright <brett.wright@bestseller.com>
Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-04-19 19:48:15 +02:00
Brett Wright 8761385311 added datadog RUM events
Signed-off-by: Brett Wright <brett.wright@bestseller.com>
Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-04-19 19:48:15 +02:00
Adam Harvey 2730b30b7c Move diagram to system page
Signed-off-by: Adam Harvey <adaharve@cisco.com>
Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-04-19 19:48:15 +02:00
Patrik Oldsberg cbfa75bf69 Merge pull request #5351 from backstage/rugvip/plugin-detective
core: allow plugins to be discovered through the react tree
2021-04-16 10:42:30 +02:00
Adam Harvey 670acd88ee Move diagram to system page
Signed-off-by: Adam Harvey <adaharve@cisco.com>
2021-04-15 21:05:26 -04:00
Patrik Oldsberg 46b7f84c89 example-app: remove explicit plugin imports and some unused plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-15 19:15:16 +02:00
github-actions[bot] 70be53c939 Version Packages 2021-04-15 15:40:08 +02:00
Jussi Hallila 77f13cb4ca Update roadie plugins to newer versions
* Enable plugins in entity page
* Change plugin imports to use new named exports

Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-04-12 15:19:42 +02:00
Patrik Oldsberg 5c725fc763 Merge pull request #5240 from goober/feature/use-external-route-ref-for-scaffolder
Expose the register-component route as an external route from the scaffolder
2021-04-08 16:10:19 +02:00
github-actions[bot] 51b6cf465d Version Packages 2021-04-08 11:32:56 +00:00
Mathias Åhsberg a360f94788 Expose the register-component route as an external route from the scaffolder
Signed-off-by: Mathias Åhsberg <mathias.ahsberg@resurs.se>
2021-04-08 09:15:46 +00:00
Patrik Oldsberg 8818602117 example-app: update EntityPage test
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-01 15:12:30 +02:00
Patrik Oldsberg 79fd3d863e example-app: migrate entity pages to composability api
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-01 13:23:27 +02:00
Andrew Johnson 3714e6c374 update usages
Signed-off-by: Andrew Johnson <ajohnson@gocardless.com>
2021-03-30 17:38:52 +01:00
Andrew Johnson ec023e8286 github-deployments plugin
Signed-off-by: Andrew Johnson <ajohnson@gocardless.com>
2021-03-29 14:21:01 +01:00
Ben Lambert 820b791b68 Merge pull request #5135 from backstage/freben/entity-page-12
nit: make entity page contents fill width of page
2021-03-29 09:59:22 +02:00
Adam Harvey 883a8debf2 Merge pull request #4502 from adamdmharvey/system-diagram
catalog: Add new System Diagram card
2021-03-26 10:24:55 -04:00
Fredrik Adelöw 409eb31543 nit: make entity page contents fill width of page
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-26 10:42:12 +01:00
github-actions[bot] 844da89090 Version Packages 2021-03-25 17:46:13 +00:00
Adam Harvey b20a7db89c Merge branch 'master' into system-diagram 2021-03-25 11:07:32 -04:00
Adam Harvey 4491ba231f Refactor entity collection
Signed-off-by: Adam Harvey <adam.harvey@dxc.com>
2021-03-25 09:50:35 -04:00
Fredrik Adelöw 4d248725e6 detach the badges plugin from the catalog plugin
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-25 14:37:41 +01:00
Tim 4e1227ce2e Merge pull request #5032 from backstage/timbonicus/create-app-updates
Update create-app template for better parity with example app
2021-03-25 06:23:36 -06:00
Eric Peterson bb378ac6f2 Merge pull request #4515 from backstage/iameap/search-indexer
[Search] Foundation: plugins and types
2021-03-25 13:15:33 +01:00
Adam Harvey 865e76d9b6 Refactor for composability pattern
Signed-off-by: Adam Harvey <adam.harvey@dxc.com>
2021-03-23 16:27:41 -04:00
Tim Hansen 8817a87cdd Add missing core kinds
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-03-19 15:37:32 -06:00
Tim Hansen f88fe9dd9b Update create-app template for better parity with example app
Fixes #4613

Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-03-19 15:18:26 -06:00
dependabot[bot] d32e8f0086 chore(deps): bump @roadiehq/backstage-plugin-github-insights
Bumps [@roadiehq/backstage-plugin-github-insights](https://github.com/RoadieHQ/backstage-plugin-github-insights) from 0.2.16 to 0.3.2.
- [Release notes](https://github.com/RoadieHQ/backstage-plugin-github-insights/releases)
- [Commits](https://github.com/RoadieHQ/backstage-plugin-github-insights/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-19 10:15:32 +00:00