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
Patrik Oldsberg
df8e6f1dc4
Merge pull request #5372 from backstage/mob/catalog-refactor
...
Initial iteration of the next software catalog
2021-04-20 11:44:44 +02:00
Johan Haals
ec43f706c7
Copy migrations to migrationsv2 before migration
...
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com >
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com >
Signed-off-by: Johan Haals <johan.haals@gmail.com >
2021-04-19 10:53:57 +02:00
Johan Haals
8f6a17c04c
Add experimental option to start the new catalog
...
Signed-off-by: Johan Haals <johan.haals@gmail.com >
2021-04-14 10:47:10 +02:00
Dominik Henneke
d541d9fd07
Include review comments
...
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com >
2021-04-12 18:50:15 +02:00
Patrik Oldsberg
da2281df89
Merge pull request #5088 from ntgussoni/fix/DOCS-remove_add_for_copy
...
[DOCS/CLI, DOCKER] Fixes untar not happening under certain conditions
2021-04-08 12:48:56 +02:00
github-actions[bot]
8e00ab7e63
Version Packages
2021-03-31 12:21:12 +00:00
Ben Lambert
80e92b8f48
Merge pull request #5034 from lunarway/feature/catalog-mode
...
Add readonly mode to catalog-backend
2021-03-26 15:13:56 +01:00
Crevil
f1b2c1d2c2
Add readonly mode to catalog
...
This change includes a new `mode` concept to the catalog backend. This gives us
the handle to configure catalog in a `readonly` mode as discussed in #3348 .
The new `catalog.mode` field configures that catalog in either `readwrite` or
`readonly`.
- `readwrite` is the current mode that allows users to register components at
startup through `catalog.locations` and with eg. plugin `catalog-import`
- `readonly` is the new mode which, for now, disables the mutating `location`
APIs
Signed-off-by: Crevil <bjoern.soerensen@gmail.com >
2021-03-25 20:59:33 +01:00
github-actions[bot]
844da89090
Version Packages
2021-03-25 17:46:13 +00: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
Nicolas Torres
2ae8cf4608
Fixes untar not happening under certain occasions
...
Signed-off-by: Nicolas Torres <nicolast@backbase.com >
2021-03-25 09:00:10 +01:00
dependabot[bot]
d42f055d48
chore(deps): bump express-promise-router from 3.0.3 to 4.1.0
...
Bumps [express-promise-router](https://github.com/express-promise-router/express-promise-router ) from 3.0.3 to 4.1.0.
- [Release notes](https://github.com/express-promise-router/express-promise-router/releases )
- [Changelog](https://github.com/express-promise-router/express-promise-router/blob/trunk/CHANGELOG.md )
- [Commits](https://github.com/express-promise-router/express-promise-router/commits )
Signed-off-by: dependabot[bot] <support@github.com >
2021-03-23 04:26:33 +00:00
Eric Peterson
fb2ff7dfb0
Provide useful logging in the IndexBuilder.
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-03-19 09:42:49 +01:00
Eric Peterson
44ec2571b6
Use Catalog REST API instead of assuming local process.
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-03-19 09:42:49 +01:00
Eric Peterson
3560405cab
Call a builder a builder.
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-03-19 09:42:49 +01:00
Anders Näsman
5a045906c2
remove singleton pattern from indexer
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-03-19 09:42:49 +01:00
Anders Näsman
51fc8de48c
Tweak Collator/Decorator to be classes instead of methods
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-03-19 09:42:48 +01:00
Anders Näsman
124b93bff4
rename plugin-search-indexer to plugin-search-backend-node
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-03-19 09:42:45 +01:00
Anders Näsman
0057692401
move collation to search plugin
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-03-19 09:42:04 +01:00
Anders Näsman
b7cb59dd7b
standard TODO syntax
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-03-19 09:42:03 +01:00
Eric Peterson
3e9d8427b6
Illustrate potential software catalog indexing.
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-03-19 09:42:00 +01:00
Eric Peterson
b7b4cc319c
Wire up search backend to app backend testbed.
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-03-19 09:41:15 +01:00
Andreas Stenius
5a09c681d7
badges: refactoring to use badge factories to create dynamic badges.
...
Signed-off-by: Andreas Stenius <andreas.stenius@svenskaspel.se >
2021-03-19 08:41:13 +01:00
Andreas Stenius
6a68e79217
badges-backend: drop support for defining badges in app config.
...
Signed-off-by: Andreas Stenius <andreas.stenius@svenskaspel.se >
2021-03-19 08:41:13 +01:00
Andreas Stenius
ac17aeb35d
badges: load default badges from code rather than config. #4457 .
...
Signed-off-by: Andreas Stenius <git@astekk.se >
2021-03-19 08:41:12 +01:00
Andreas Stenius
798002ee03
badges-backend: refactor to use badge definitions in config. #4457
...
Signed-off-by: Andreas Stenius <git@astekk.se >
2021-03-19 08:41:11 +01:00
Andreas Stenius
61078ba14d
badges: introduce badges field on entity about card.
...
Signed-off-by: Andreas Stenius <git@astekk.se >
2021-03-19 08:41:11 +01:00
github-actions[bot]
718eea4f08
Version Packages
2021-03-18 12:31:44 +00:00
Patrik Oldsberg
2eeb884353
todo-backend: implement TodoScmReader
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-03-11 18:02:02 +01:00
Patrik Oldsberg
76e6336312
todo-backend: full TodoReaderService implementation
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-03-11 18:02:01 +01:00
Patrik Oldsberg
117286b313
todo-backend: create layered shell with types and mock
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-03-11 18:02:01 +01:00
Patrik Oldsberg
be0721c6c6
backend: add todo plugin
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-03-11 18:02:00 +01:00
github-actions[bot]
0e120c5c66
Version Packages
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-03-11 13:45:44 +01:00
dependabot[bot]
7616988312
chore(deps): bump knex from 0.21.18 to 0.95.1
...
Bumps [knex](https://github.com/knex/knex ) from 0.21.18 to 0.95.1.
- [Release notes](https://github.com/knex/knex/releases )
- [Changelog](https://github.com/knex/knex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/knex/knex/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-03-08 10:26:45 +01:00
github-actions[bot]
ff2ab4fade
Version Packages
2021-03-04 13:11:10 +00:00
Johan Haals
b335415fa4
Rename urlReader to reader
...
Co-authored-by: Ben Lambert <ben@blam.sh >
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com >
Signed-off-by: Johan Haals <johan.haals@gmail.com >
2021-03-02 10:21:58 +01:00
blam
6fa98f941b
feat: new actions work nicely and publish to github as expected
...
Signed-off-by: Johan Haals <johan.haals@gmail.com >
2021-03-02 10:21:57 +01:00
dependabot[bot]
9a582c60a9
chore(deps): bump @typescript-eslint/eslint-plugin from 4.14.0 to 4.15.2
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 4.14.0 to 4.15.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.2/packages/eslint-plugin )
Signed-off-by: dependabot[bot] <support@github.com >
2021-02-25 11:21:15 +01:00
github-actions[bot]
4ae0467c2f
Version Packages
2021-02-23 10:31:40 +01:00
blam
d50ddbd1d3
Merge branch 'master' of github.com:backstage/backstage into mob/scaffolder-frontend
...
* 'master' of github.com:backstage/backstage: (118 commits)
cli: Fix handling of dynamic imports in esm.js files
minor typo in migration
chore(deps): bump archiver from 5.1.0 to 5.2.0
dockerfile: mention build-image command
Apply suggestions from code review
update backend Dockerfile to use config example and fix comment
docs: add full docker deployment docs
chore: fix code review
chore: fixing syntax
docs: fixing custom implementations of utitiy apis
a small start to the integrations section of the config
TechDocs: Add changeset about Docker permission fix
Updated unit tests for the new UI
TechDocs: Pass user and group ID when invoking docker container
Replace logging erro and return undefined for a throw new Error
@types/react 16 not 17
Use a more strict type for `variant` of cards
docs(TechDocs): Add more context with AWS docs hyperlinks
Added missing dep on @types/react
Removed unused import
...
2021-02-18 11:41:34 +01:00
Patrik Oldsberg
38fe527d97
dockerfile: mention build-image command
2021-02-17 21:23:12 +01:00
Patrik Oldsberg
92d7a8eedf
switch docker build to use backend:bundle
2021-02-16 23:48:03 +01:00
Johan Haals
17d1d909e4
Replace EntityClient with CatalogClient
...
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-02-16 11:23:06 +01:00
Johan Haals
1ae69b890a
scaffolder: Add registration step
...
Co-authored-by: Fredrik Adelöw <freben@gmail.com >
Co-authored-by: blam<ben@blam.sh >
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-02-12 08:38:20 +01:00
github-actions[bot]
aa49ca2284
Version Packages
2021-02-11 10:15:47 +00:00
Johan Haals
dfc1270f85
Merge pull request #4360 from backstage/mob/stateless-scaffolder
...
Introduce stateless v2 scaffolder API
2021-02-08 13:39:27 +01:00
github-actions[bot]
6794967d20
Version Packages
2021-02-04 13:02:30 +00:00
Johan Haals
71dc78b01f
Wire up database and rename database classes
...
Co-authored-by: Fredrik Adelöw <freben@gmail.com >
Co-authored-by: blam<ben@blam.sh >
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-02-02 16:38:02 +01:00
github-actions[bot]
cda741034d
Version Packages
2021-01-28 10:46:08 +00:00