Commit Graph

19928 Commits

Author SHA1 Message Date
Ben Lambert 03d9a7406f Update EntityPicker.tsx
Signed-off-by: Ben Lambert <blam@spotify.com>
2024-01-30 11:44:49 +01:00
Ladislav Vitásek c88ec5c06d bare minimum to resolve large datasets problem
Signed-off-by: Ladislav Vitásek <vity@vity.cz>
2024-01-30 11:42:05 +01:00
Ben Lambert 26ca6a4342 Apply suggestions from code review
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Ben Lambert <ben@blam.sh>
Signed-off-by: blam <ben@blam.sh>
2024-01-30 11:35:43 +01:00
blam b3a0627042 chore: move the messaging and fix windows verify builds
Signed-off-by: blam <ben@blam.sh>
2024-01-30 11:10:51 +01:00
Ben Lambert 8746092635 Merge pull request #22521 from backstage/blam/support-tokens-fetch
Support `token` in `URLReaders` for `fetch:*` actions in Scaffolder
2024-01-30 11:00:11 +01:00
Ladislav Vitásek 089f5800b4 change texting for fields describe
Signed-off-by: Ladislav Vitásek <vity@vity.cz>
2024-01-30 10:05:39 +01:00
Ladislav Vitásek b8b68b34a9 renamed variables
Signed-off-by: Ladislav Vitásek <vity@vity.cz>
2024-01-30 10:05:38 +01:00
Ladislav Vitásek 747f9ba9cd renamed fields configuration
Signed-off-by: Ladislav Vitásek <vity@vity.cz>
2024-01-30 10:05:38 +01:00
Ladislav Vitásek 9b9c05c055 adding fields limitation for EntityPicker
Signed-off-by: Ladislav Vitásek <vity@vity.cz>
2024-01-30 10:05:38 +01:00
Ben Lambert 387f51cca0 Merge pull request #22404 from awanlin/topic/template-context-menu
Added context menu to scaffolder pages
2024-01-30 10:00:42 +01:00
Ben Lambert 4931e1e8b4 Merge pull request #22584 from backstage/blam/scaffolder-schema
Fix issue with `ui:schema` being replaced to empty object
2024-01-30 09:34:09 +01:00
Patrick Jungermann 341c2a24a0 feat(tech-insights): support registry and persistence at plugin
Support `FactRetrieverRegistry` and `PersistenceContext` at the `techInsightsPlugin`
using extension points.

Additionally, move `FactRetrieverRegistry` and `PersistenceContext`
to `@backstage/plugin-tech-insights-node`.
Original exports are marked as deprecated and re-export the moved types.

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2024-01-30 00:11:50 +01:00
Patrick Jungermann 25cfb763be feat(tech-insights): add module for new backend system
A new backend module for the tech-insights backend
was added and exported as `default`

The module will register the `JsonRulesEngineFactCheckerFactory`
as `FactCheckerFactory`, loading checks from the config.

The plugin can be used like

```ts title="packages/backend/src/index.ts"
backend.add(import('@backstage/plugin-tech-insights-backend-module-jsonfc'));
```

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2024-01-30 00:11:50 +01:00
Patrick Jungermann 7201af3445 feat(tech-insights): add plugin for new backend system
A new backend plugin for the tech-insights backend
was added and exported as `default`
as well as extension points to be used by modules.

The plugin can be used like

```ts title="packages/backend/src/index.ts"
backend.add(import('@backstage/plugin-tech-insights-backend'));
```

Fact retrievers will be added
(built-in or through the extension point),
but only registered if the user adds a configuration for it
(cadence, etc.).

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2024-01-30 00:11:50 +01:00
Patrick Jungermann bc72782dd6 feat(tech-insights): define fact checks in app-config.yaml
Allow to define JSON checks in `app-config.yaml`
as `techInsights.factChecker.checks`.

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2024-01-30 00:11:49 +01:00
Patrick Jungermann 0269b01576 refactor(tech-insights): reorg exports
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2024-01-30 00:11:49 +01:00
John Philip 9747db38e3 Merge pull request #22155 from luis-k0/feat/markdown-table-code-keep-all
Avoid code word break in techdocs tables to improve visualization
2024-01-29 16:07:17 -05:00
Luis Komatsu 54353b124f feat: markdown code no word-break
Signed-off-by: Luis Komatsu <lkomatsu@questrade.com>
2024-01-29 17:23:23 -03:00
Jamie Klassen 3c17aa49f7 Merge pull request #22563 from jamieklassen/k8s-dialog-component
refactor: extract common dialog component in Kubernetes plugin
2024-01-29 15:15:39 -05:00
Jamie Klassen 1c3cb3b2e5 log warning on duplicate cluster names
Signed-off-by: Jamie Klassen <jamie.klassen@broadcom.com>
2024-01-29 14:55:46 -05:00
Jamie Klassen 666eff5cc0 forbid duplicate cluster names in config
Signed-off-by: Jamie Klassen <jamie.klassen@broadcom.com>
2024-01-29 10:51:09 -05:00
Fredrik Adelöw 4e8ac48d4a Merge pull request #22450 from axiac/less-api-requests-from-catalog-graph
catalog-graph: reduce the number of API requests
2024-01-29 16:47:25 +01:00
Rickard Dybeck 7411fd006d Merge pull request #22495 from hudsonb/queryEntities-perf-improvement
Minor perf improvement to queryEntities when limit=0
2024-01-29 09:25:30 -05:00
Rickard Dybeck 48b1e4c35d Merge pull request #21975 from backstage/catalog-backend/add-location-by-entity-api
[CatalogBackend] Add API to get location by entity
2024-01-29 09:22:11 -05:00
blam a8b0c802b0 chore: make sure to keep the existing uiSchema when parsing dependencies
Signed-off-by: blam <ben@blam.sh>
2024-01-29 14:12:36 +01:00
Ben Lambert ec059da23e Merge pull request #22524 from ManuInNZ/patch-2
Update template.examples.ts, typo fix on skeleton
2024-01-29 13:52:00 +01:00
Valentin VĂLCIU f937aae0c2 catalog-graph: reduce the number of API requests
* use `CatalogClient.getEntitiesByRefs()` to reduce the number of requests
  to the backend;

Signed-off-by: Valentin VĂLCIU <axiac.ro@gmail.com>
2024-01-29 12:59:38 +02:00
Ben Lambert c73ce21018 Merge pull request #22566 from acierto/issue-20256
Fix for issue 20256: Bug Report: converting circular structure to JSON error
2024-01-29 11:52:50 +01:00
blam 98753d9bf0 chore: update api-reports
Signed-off-by: blam <ben@blam.sh>
2024-01-29 11:47:00 +01:00
blam 78c100bc60 chore: add changeset
Signed-off-by: blam <ben@blam.sh>

Signed-off-by: blam <ben@blam.sh>
2024-01-29 11:44:08 +01:00
blam ed0f7336d8 feat: pass through the the token in scaffolder
Signed-off-by: blam <ben@blam.sh>
2024-01-29 11:44:07 +01:00
blam 75dd39d084 chore: support passing through token in fetchContents and fetchFile
Signed-off-by: blam <ben@blam.sh>

Signed-off-by: blam <ben@blam.sh>
2024-01-29 11:43:42 +01:00
Ben Lambert 1666bad2f7 Merge pull request #22494 from Bonial-International-GmbH/pjungermann/scaffolder/output-icons
feat(scaffolder): Use more distinguishable icons for link and text output
2024-01-29 09:59:58 +01:00
Fredrik Adelöw 62c54c1781 Merge pull request #22545 from adamdmharvey/adamdmharvey/api-ref-doc-edits
chore(docs): Improve API reference wording
2024-01-28 17:36:14 +01:00
bnechyporenko 4131bd2724 Fix for issue 20256: Bug Report: converting circular structure to JSON error
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-01-27 22:59:17 +01:00
Andre Wanlin a3243f2060 Standardized naming based on feedback
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2024-01-27 13:08:37 -06:00
Patrick Jungermann b07ec70c90 feat(scaffolder): Use more distinguishable icons for link and text output
Use more distinguishable icons for link (`Link`) and text output (`Description`).

Currently, both use the same icon `Web` (until specified explicitly at the template).
For a user, it is not really clear which of these will open more output below it
vs open a URL/a new tab.

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2024-01-27 17:21:25 +01:00
Jamie Klassen 3c184afa91 refactor: extract common dialog component
Signed-off-by: Jamie Klassen <jamie.klassen@broadcom.com>
2024-01-26 19:09:50 -05:00
Andre Wanlin e6bb058f8d Clean up
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2024-01-26 14:46:43 -06:00
Andre Wanlin e2083dfb55 Added alpha support for the New Frontend System
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2024-01-26 14:46:41 -06:00
Andre Wanlin 30c212f11b Removed commented out code
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2024-01-26 13:09:50 -06:00
Andre Wanlin a9507252ad Fix task list
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2024-01-26 13:08:31 -06:00
Andre Wanlin 31f0a0a2da Added context menu to scaffolder pages
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2024-01-26 13:08:31 -06:00
Ben Lambert 80f2413334 Merge pull request #22520 from arodski/force-fork-flag
add forcefork input to github pull request action
2024-01-26 17:32:21 +01:00
Ben Lambert 69cfc2f7ab Merge pull request #22488 from RoadieHQ/add-nunjucks-options
Add nunjucks configuration possibility
2024-01-26 17:31:52 +01:00
Adam Harvey 60ba48c591 chore(docs): Improve API reference wording
Signed-off-by: Adam Harvey <33203301+adamdmharvey@users.noreply.github.com>
2024-01-26 11:06:50 -05:00
Heikki Hellgren 447d21045b fix: signal disconnect loop on server start
this fixes the disconnect loop when the server has just started by
waiting for the connection to open before subsribing to events.

also includes other improvements:
- rename types to interfaces
- allow to input single receiver for signal
- use discovery api to check for upgrade path instead hard coded one

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-01-26 13:19:31 +02:00
shmaram 877efd01ca update api-report.md
Signed-off-by: shmaram <shaharshmaram@gmail.com>
2024-01-26 12:59:55 +02:00
shmaram c47460ba98 fix tests + support value to be number or string
Signed-off-by: shmaram <shaharshmaram@gmail.com>
2024-01-26 12:46:03 +02:00
shmaram 20843193e8 Created Operators type and added type guard + fixed filter value to be string or number
Signed-off-by: shmaram <shaharshmaram@gmail.com>
2024-01-26 11:44:17 +02:00