Commit Graph

4366 Commits

Author SHA1 Message Date
Jussi Hallila e9e56b01ac Add possibility to use path style discovery on S3 tech docs. Enables the possibility to support S3-like buckets that rely on path style API like Localstack.
Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-04-29 10:54:42 +02:00
Patrik Oldsberg cfdc972ea2 Merge pull request #5454 from RoadieHQ/docker/fix-dockerfile
[docker] Fix error in docker build
2021-04-28 10:58:38 +02:00
Patrik Oldsberg 37af0bfa21 Merge pull request #5242 from backstage/mob/api-extractor
Add api-extractor to manage the public API of core packages
2021-04-27 23:18:40 +02:00
Patrik Oldsberg f9d077f5f6 Merge pull request #5483 from backstage/rugvip/notgreet
catalog: switch out time-based greeting for plain title
2021-04-27 14:26:06 +02:00
Patrik Oldsberg e746688bd8 Merge pull request #5363 from ilyamkin/ilyal/pass-navlinkprops
Pass NavLinkProps to SidebarItem
2021-04-27 13:01:09 +02:00
Patrik Oldsberg 73f3f5d78d create-app: update app template to check for new catalog index page title
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-27 12:29:53 +02:00
Patrik Oldsberg 4bfff07eae e2e-test: update to search for new catalog index page title
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-27 12:27:06 +02:00
Eric Peterson ec056c1e81 Merge pull request #5450 from backstage/emmaindal/search-index-refresh-schedule
[Search] Extend search backend with scheduler
2021-04-27 11:38:11 +02:00
Patrik Oldsberg 9d3fb9a30a scripts/api-extractor: sync API definitions
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-26 20:51:12 +02:00
Patrik Oldsberg 658de01647 scripts/api-extractor: disable all inline warnings
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-26 20:42:37 +02:00
Patrik Oldsberg 0eda63fe9d scripts/api-extractor: disable inline compilation warnings
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-26 20:42:36 +02:00
Patrik Oldsberg a904d8ba5e packages: add api-reports for all included packages
Co-authored-by: Gustaf Räntilä <g.rantila@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-26 20:42:35 +02:00
Emma Indal 50b15bfeb3 imports and exports
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-04-26 16:44:32 +02:00
Emma Indal 9dff1a9839 use scheduler and fix tests
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-04-26 16:43:58 +02:00
Oliver Sand 7aa4308179 Merge pull request #5427 from SDA-SE/feat/fix-guest
Fix owner references to guest user
2021-04-26 14:21:42 +02:00
Martina Iglesias Fernandez 43db3d6892 [docker] Fix error in docker build
Before:
```
Step 7/8 : RUN tar xzf bundle.tar.gz && rm bundle.tar.gz
 ---> Running in 91107ee4a847
tar (child): bundle.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
```

Signed-off-by: Martina Iglesias Fernandez <martina@roadie.io>
2021-04-26 10:06:51 +02:00
Taras f940c38378 Prevent uncaught exception in download of Techdocs Azure Blob Storage publisher
Signed-off-by: Taras <tarasm@gmail.com>
2021-04-24 11:24:08 -04:00
Emma Indal cdda9c671d move refresh loop to builder and use configured refreshInterval
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-04-23 15:03:32 +02:00
Patrik Oldsberg f218637d08 create-app: release version 0.3.19
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-22 15:23:09 +02:00
github-actions[bot] 034998d537 Version Packages 2021-04-22 13:19:35 +00:00
Emma Indal b9b2b4b766 [Search] Lunr search engine support (#5290)
* add lunr package

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add search translator type and search engine interface

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* (wip) add support for lunr search engine

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* lunr search engine support

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* clean up todo comments

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* typing and cleanups

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* move lunr type package from dev deps to deps

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* check if documents exist to index

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* test fixup

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* changeset

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* move LunrSearchEngine.ts to /engines and add tests

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* update imports

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* update error message

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add comment to index rotation

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* Update plugins/search-backend-node/src/types.ts

Signed-off-by: Fredrik Adelöw freben@gmail.com

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* Update plugins/search-backend-node/src/engines/LunrSearchEngine.ts

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>

* Update plugins/search-backend-node/src/engines/LunrSearchEngine.ts

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>

* fix imports

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* use type assertion to specify more specific ConcreteLunrQuery type

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* fix imports

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* consistent naming

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* change search engine to be parameter of constructor in indexBuilder

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* make engine required in router options and pass it through in createRouter used in standalone server

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* fix tests

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* delete import

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add types to SearchQuery interface to make it possible to scope to specific index + test

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* clean up tests

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* handle case when a filter is added on a field that does not exist on all documents + test

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2021-04-22 15:03:10 +02:00
Patrik Oldsberg 47d511b976 Merge pull request #4596 from RoadieHQ/entity-tabs-customizability
Exposing Material-UI extension point from tab components on HeaderTabs
2021-04-22 14:01:53 +02:00
Oliver Sand 6eaecbd81d Fix owner references to guest user
If the user guest is used as an example value of the owner field, we should make sure to specify it as user:guest instead as the default is group.

Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-22 13:21:45 +02:00
Jussi Hallila d8cc7e67a3 Exposing Material-UI extension point from tab components on HeaderTabs so additional information can be added to them
Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-04-22 11:22:36 +02:00
Tim Hansen 938b266b86 Template spec.type is not optional
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-04-21 15:36:34 -06:00
Patrik Oldsberg 22312d1fca Merge pull request #5411 from backstage/rugvip/exterr
core-api: fixed confusion around wrong error thrown from routable extensions
2021-04-21 19:13:43 +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
Patrik Oldsberg 50ce875a05 core-api: fixed confusion around wrong error thrown from routable extensions
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-21 12:13:20 +02:00
Fredrik Adelöw 857d11e13d Merge pull request #5081 from GunnerStraiker1/link-color-dark-mode
Accessibility: Change link color in dark theme
2021-04-21 10:32:50 +02:00
Dominik Henneke a7fbca530f Merge pull request #5379 from SDA-SE/feat/fossa-overview
Add a FossaPage that shows the license compliance status of all components in the catalog
2021-04-21 10:10:29 +02:00
Fredrik Adelöw afeb0ef0e7 Merge pull request #5046 from backstage/dependabot/npm_and_yarn/helmet-4.4.1
chore(deps): bump helmet from 4.0.0 to 4.4.1
2021-04-20 22:11:31 +02:00
dependabot[bot] d367f63b53 chore(deps): bump helmet from 4.0.0 to 4.4.1
Bumps [helmet](https://github.com/helmetjs/helmet) from 4.0.0 to 4.4.1.
- [Release notes](https://github.com/helmetjs/helmet/releases)
- [Changelog](https://github.com/helmetjs/helmet/blob/main/CHANGELOG.md)
- [Commits](https://github.com/helmetjs/helmet/compare/v4.0.0...v4.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-20 21:38:22 +02:00
Fredrik Adelöw f6b8cf96ca fix according to designer input
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-20 20:50:06 +02:00
Victor Perera 9c9df47f4f Replace color proposed by one Backstage color
Signed-off-by: Victor Perera <v-vperera@expediagroup.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-20 16:48:36 +02:00
Victor Perera 08b25805d1 Fixing typo
Signed-off-by: Victor Perera <v-vperera@expediagroup.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-20 16:48:35 +02:00
Victor Perera f9b206cece Revert "Change #0A6EBE to #EFE5B1"
This reverts commit 30d3886ef7cba00ac55c8db9aca7f20eda8a5d2f.

Signed-off-by: Victor Perera <v-vperera@expediagroup.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-20 16:48:35 +02:00
Victor Perera 343913573f banner link color
Signed-off-by: Victor Perera <v-vperera@expediagroup.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-20 16:48:35 +02:00
Victor Perera bc30288405 Change #0A6EBE to #EFE5B1
Signed-off-by: Victor Perera <v-vperera@expediagroup.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-20 16:48:34 +02:00
Fredrik Adelöw 4e7c9d7d16 Merge pull request #5374 from wrighbr/master
Datadog RUM events
2021-04-20 14:47:47 +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
Brett Wright 4949915fb3 Revert "chore(deps): bump diff from 4.0.2 to 5.0.0"
This reverts commit 2213de5068443f5036f1ea5a899867086266dc52.

Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-04-19 19:48:17 +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 66cd739fec Revert "Delete EntityPage.tsx"
This reverts commit 59eda628a87dc470ae1c5d2b7b46ced129fea289.

Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-04-19 19:48:16 +02:00
Brett Wright 77a2335997 Delete EntityPage.tsx
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
dependabot[bot] 21c90863a2 chore(deps): bump diff from 4.0.2 to 5.0.0
Bumps [diff](https://github.com/kpdecker/jsdiff) from 4.0.2 to 5.0.0.
- [Release notes](https://github.com/kpdecker/jsdiff/releases)
- [Changelog](https://github.com/kpdecker/jsdiff/blob/master/release-notes.md)
- [Commits](https://github.com/kpdecker/jsdiff/compare/v4.0.2...v5.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-04-19 19:48:15 +02:00