Commit Graph

20021 Commits

Author SHA1 Message Date
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
secustor 7dd8463935 chore(plugins/auth-backend): migrate from passport-saml package to @node-saml/passport-saml
Signed-off-by: secustor <sebastian@poxhofer.at>
2024-01-29 12:20:34 +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
Emmanuel Auffray 11e0767761 Update template.examples.ts, typo fix on skeleton
small typo fix

Signed-off-by: Emmanuel Auffray <emmanuel.auffray@gmail.com>
2024-01-26 10:42:22 +13:00
Jonathan Nagayoshi 94771339d8 fix(catalog-backend-module-github): decreases number of teams fetched in graphql at a time
Signed-off-by: Jonathan Nagayoshi <jonathan@nagayoshi.com.br>
2024-01-25 21:27:22 +00:00
shmaram c57d61f0a9 Return undefined for invalid filters + fix README.md
Signed-off-by: shmaram <shaharshmaram@gmail.com>
2024-01-25 23:10:30 +02:00
secustor 4461c556c6 adapt test
Signed-off-by: secustor <sebastian@poxhofer.at>
2024-01-25 18:09:50 +01:00
secustor 9fe9285b07 feat(plugins/home/FeatureDocsCard): use EntityDisplayName rather then data direct
Signed-off-by: secustor <sebastian@poxhofer.at>
2024-01-25 16:46:18 +01:00
Fredrik Adelöw 8cea347e80 Merge pull request #22223 from josecosta-shell/master
Fix :: Prevent Entity Providers from eliminating Users and Groups if synchronisation fails
2024-01-25 16:34:03 +01:00
secustor dc7ae8b20a fix(plugins/home/FeatureDocsCard): fall back to metadata.name if no title has been supplied
Signed-off-by: secustor <sebastian@poxhofer.at>
2024-01-25 16:12:42 +01:00
Kiss Miklos 7052918391 do not export the SecureTemplateOptions
Signed-off-by: Kiss Miklos <miklos@roadie.io>
2024-01-25 16:04:35 +01:00
Ben Lambert 65a8564a2d Merge pull request #22459 from hudsonb/req-node-option
Require --no-node-snapshot in node 20+
2024-01-25 13:07:39 +01:00
Patrik Oldsberg f12578eedd Merge pull request #22103 from GuptaNavdeep1983/nav/aws-alb
auth-backend: migrated AWS ALB provider to new backend.
2024-01-25 12:56:17 +01:00
Patrik Oldsberg 9514fdc434 auth-backend-module-aws-alb-provider: update API report
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-01-25 12:45:25 +01:00
Patrik Oldsberg 42bf023248 auth-backend-module-aws-alb-provider: remove @types/passport dep
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-01-25 11:48:22 +01:00