Commit Graph

14307 Commits

Author SHA1 Message Date
Patrik Oldsberg 65b9290ce5 Merge pull request #26203 from backstage/nbs10/convert-discovery-service-into-loader
[NBS 1.0] Convert discovery services into feature loaders
2024-08-27 11:48:09 +02:00
Niklas Aronsson 1573014554 feat(gerrit-integration): Update the gerrit url resolver
Currently the only Gitiles url that can be resolved is urls
that point to the tip of a specific branch.

This change adds support for resolving urls that points to the
following refs:

* HEAD
* A commit sha
* Tag

The old Gitiles url parser may be deprecated.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2024-08-27 11:38:38 +02:00
blam 85d86bcbc4 chore: small final cleanup
Signed-off-by: blam <ben@blam.sh>
2024-08-27 11:28:22 +02:00
blam 2bb9517d4d chore: install the @backstage/plugin-app by default now
Signed-off-by: blam <ben@blam.sh>
2024-08-27 11:24:39 +02:00
blam e1ea702eca chore: fix some tests
Signed-off-by: blam <ben@blam.sh>
2024-08-27 11:24:38 +02:00
blam 1ca243ddc4 chore: fixing tests for AppRootWrapperBlueprint
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: blam <ben@blam.sh>
2024-08-27 11:24:38 +02:00
blam f66f603ef5 chore: fix some tests
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: blam <ben@blam.sh>
2024-08-27 11:24:38 +02:00
blam 7e9af96f7c chore: make the tree.root output a react element
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: blam <ben@blam.sh>
2024-08-27 11:24:38 +02:00
blam 97a077583a chore: move the appIdentityProxy across
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: blam <ben@blam.sh>
2024-08-27 11:24:38 +02:00
blam 1a76c4c9ca chore: app runs correctly 🎉
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: blam <ben@blam.sh>
2024-08-27 11:24:38 +02:00
blam 1deb3f8948 chore: move over the API definitions
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Johan Haals <johan@haals.se>
Co-authored-by: Camila Belo <camilaibs@users.noreply.github.com>
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: blam <ben@blam.sh>
2024-08-27 11:24:37 +02:00
blam 06448161aa chore: move things around a little bit to the app plugin
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Johan Haals <johan@haals.se>
Co-authored-by: Camila Belo <camilaibs@users.noreply.github.com>
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: blam <ben@blam.sh>
2024-08-27 11:24:37 +02:00
blam 5a97d446f6 feat: the app plugin
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Johan Haals <johan@haals.se>
Co-authored-by: Camila Belo <camilaibs@users.noreply.github.com>
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: blam <ben@blam.sh>
2024-08-27 11:24:37 +02:00
Ben Lambert 75ac0a8703 Merge pull request #26233 from backstage/blam/add-extensions-and-features
NFS: Added more options to `renderInTestApp`
2024-08-27 11:22:22 +02:00
Johan Haals 21711c6bdd Merge pull request #26175 from backstage/jhaals/skipMigrations
backend-defaults: Add config options to skip database migrations
2024-08-27 11:13:15 +02:00
blam 43c4d76763 chore: regenerate api-reports
Signed-off-by: blam <ben@blam.sh>
2024-08-27 11:04:01 +02:00
blam 1d6ce27d5d chore: typechanges
Signed-off-by: blam <ben@blam.sh>
2024-08-27 11:01:51 +02:00
blam ddbdad54e5 feat: add the ability to provide features or overrides to renderInTestApp
Signed-off-by: blam <ben@blam.sh>
2024-08-27 11:01:40 +02:00
Patrik Oldsberg 5b714ddece Merge pull request #26204 from backstage/rugvip/type-params
frontend-plugin-api: consolidate type parameters for extension definitions and blueprints
2024-08-27 10:58:34 +02:00
Fredrik Adelöw 14139beb62 Merge pull request #26232 from backstage/freben/pg-common
add pg-format
2024-08-27 10:57:02 +02:00
Camila Belo dfa7d3d657 Merge pull request #26230 from backstage/nbs10/cleanup-error-handler-in-tests
[NBS 1.0] Use `mockErrorHandler` instead of `MiddlewareFactory` in tests
2024-08-27 10:54:16 +02:00
Camila Belo 7a72ec899b refactor: apply review suggestions
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-08-27 10:49:03 +02:00
Patrik Oldsberg 00b9e8c010 update test snapshots for new structure of ExtensionDefinition
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-27 10:39:45 +02:00
Patrik Oldsberg 0a317137c5 frontend-plugin-api: use undefined instead of null for extension definition .T
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-27 10:39:45 +02:00
Patrik Oldsberg 1173e798f7 frontend-test-utils: fix lack of namespace fallback in tester query method
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-27 10:39:45 +02:00
Patrik Oldsberg 96e9dd2004 frontend-test-utils: revert extension resolution behavior in tester
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-27 10:39:44 +02:00
Johan Haals f9b1d57da5 chore: Update config
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-08-27 10:38:44 +02:00
Johan Haals 66b7af4217 chore: tweak wording, fix config docs
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-08-27 10:35:35 +02:00
Johan Haals 1532b089b9 chore: simplify skip condition
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-08-27 10:35:35 +02:00
Johan Haals 72e356e8b9 chore: tweak wording
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-08-27 10:35:35 +02:00
Johan Haals 6a6f45fde2 chore: update api report
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-08-27 10:35:34 +02:00
Johan Haals 08f0f7fd22 Make sure options take precedence
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-08-27 10:35:34 +02:00
Johan Haals 8e97689436 chore: update api report
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-08-27 10:35:34 +02:00
Johan Haals 5a8fcb4eb3 backend-defaults: Add config options to skip database migrations
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-08-27 10:35:34 +02:00
Fredrik Adelöw b67c03209c Merge pull request #26231 from backstage/freben/link-app
add app as a dep to backend
2024-08-27 10:34:23 +02:00
Fredrik Adelöw f1f702d428 Merge pull request #26205 from backstage/freben/config
move backend config schemas to where they belong
2024-08-27 10:34:01 +02:00
Patrik Oldsberg 4f59435848 frontend-plugin-api: make output type parameter optional
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-27 10:27:22 +02:00
Patrik Oldsberg ee454fdf53 frontend-plugin-api: refactor ExtensionDefinition and ExtensionBlueprint type params
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-27 10:27:21 +02:00
Fredrik Adelöw 2e9ec1499b add pg-format
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-08-27 10:26:28 +02:00
Patrik Oldsberg 4387b80784 Merge pull request #26221 from backstage/rugvip/remove-render
frontend-test-utils: remove render method
2024-08-27 10:01:26 +02:00
Fredrik Adelöw 6056f32282 add app as a dep to backend
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-08-27 09:59:58 +02:00
Camila Belo e5e66bea25 refactor: use mockErrorHandler instead of MiddlewareFactory in tests
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-08-27 09:58:05 +02:00
Patrik Oldsberg e6e488cf20 frontend-test-utils: remove render method
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-27 09:39:08 +02:00
Camila Belo b27fbbe6f5 Merge pull request #26220 from backstage/nbs10/foward-ref-in-service-factory-options-type
[NBS 1.0] Remove unnecessary todo
2024-08-26 18:19:09 +02:00
Camila Belo 264bcd0a83 refactor: remove unecessary todo
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-08-26 17:39:04 +02:00
Fredrik Adelöw 1b5c264aa4 add check reads among the default github app permissions
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-08-26 14:49:18 +02:00
Camila Belo 777f56bde1 Merge pull request #26049 from backstage/nbs10/remove-depedency-on-commons
[NBS 1.0]: Stop using `backend-common` in user-settings plugin
2024-08-26 12:14:53 +02:00
Camila Belo cd38da88ba refactor: convert discovery services into feature loaders
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-08-26 12:05:25 +02:00
Marek Libra 179bad6827 Merge pull request #26200 from backstage/rugvip/signals-install
signals: add SignalsDisplay to simplify installation
2024-08-26 11:49:14 +02:00
Ben Lambert 469e06b5e2 Merge pull request #26152 from backstage/mob/backwerds-support
NFS: Added the ability to `replace` previously declared inputs and redirect them
2024-08-26 11:30:58 +02:00