Commit Graph

6580 Commits

Author SHA1 Message Date
Fredrik Adelöw 3fa31ec84a address comments
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-12-15 19:29:42 +01:00
Fredrik Adelöw afb7f31840 fixed the browser behavior for BackstageProtocolResolverFetchMiddleware
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-12-15 19:29:42 +01:00
Fredrik Adelöw 7927005152 Add fetchApiRef which implements fetch, plus Backstage token header when available.
This intends to be the basis for other plugins' data fetching needs, so that they can transparently interact with the catalog and other parts of the Backstage ecosystem without explicitly having to deal with authenticating themselves.

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-12-15 19:29:42 +01:00
Ben Lambert 2a96b81692 Merge pull request #8378 from hiba-aldalaty/patch/sidebar-submenu-fix
Bug Fix: Sidebar Submenu Items should only be active when full path is active
2021-12-15 13:42:30 +01:00
Ben Lambert 06403a0475 Merge pull request #8343 from backstage/rugvip/presence
catalog-backend: fix handling of optional locations
2021-12-15 11:18:31 +01:00
Ben Lambert 9d03616a56 Merge pull request #8456 from Oriflame/feature/ownershipcard-configurable-kind-and-type-7806
Ownershipcard filter configurable
2021-12-15 10:20:15 +01:00
Ben Lambert c3df6347f3 Merge pull request #8484 from dehamzah/add-missing-overrideable-comp-sidebar
Add Missing Overridable Components Type for SidebarSpace, SidebarSpacer, and SidebarDivider
2021-12-15 10:10:30 +01:00
Patrik Oldsberg 813db5928b core-plugin-api: document ErrorApiErrorContext.hidden
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-12-15 01:17:58 +01:00
Dede Hamzah 5b54d63477 Add missing api report
Signed-off-by: Dede Hamzah <dehamzah@gmail.com>
2021-12-14 16:53:31 +07:00
Dede Hamzah 1680a1c5ac Add Missing Overridable Components Type for SidebarSpace, SidebarSpacer, and SidebarDivider Components
Signed-off-by: Dede Hamzah <dehamzah@gmail.com>
2021-12-14 15:09:32 +07:00
Patrik Oldsberg 8bd3b6dbb9 Merge pull request #8469 from backstage/mob/auth-renames
core-plugin-api: rename OAuthRequest API types
2021-12-13 23:24:55 +01:00
Fredrik Adelöw f0ed50adb0 Merge pull request #8364 from backstage/sqlite-separate-files
Overwrite sqlite filename per plugin
2021-12-13 16:56:56 +01:00
Ben Lambert 23009fcb6a Merge pull request #8323 from backstage/dependabot/npm_and_yarn/types/tar-6.1.1
chore(deps-dev): bump @types/tar from 4.0.5 to 6.1.1
2021-12-13 16:40:39 +01:00
Patrik Oldsberg 9d6503e86c core-*: update usage of deprecated auth types
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-12-13 15:31:11 +01:00
Johan Haals b3f572dd01 Merge pull request #8465 from backstage/mob/auth-apis
core-plugin-api: deprecate some auth APIs and mark the rest experimental
2021-12-13 15:21:18 +01:00
Patrik Oldsberg 760791a642 core-plugin-api: auth request type renames and deprecations
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-12-13 15:20:05 +01:00
Ben Lambert 90198342bc Merge pull request #8349 from backstage/rugvip/cjs
add more explicit support for .mjs and .cjs extensions
2021-12-13 13:35:24 +01:00
Ben Lambert 23a5e8f47a Merge pull request #8338 from backstage/rugvip/license
snyk: ignore MPL and LGPL license warnings
2021-12-13 13:27:09 +01:00
Patrik Oldsberg c11ce4f552 core-app-api: deprecated Auth0Auth
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-12-13 11:50:16 +01:00
Patrik Oldsberg 8a7372cfd5 core-plugin-api: deprecated some auth api refs and marked the rest as experimental
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-12-13 11:49:08 +01:00
Jan Vilimek 8390fff862 entitypage: prettier
Signed-off-by: Jan Vilimek <jan.vilimek@oriflame.com>
2021-12-13 11:12:19 +01:00
dependabot[bot] 7474124e87 build(deps-dev): bump @types/inquirer from 7.3.1 to 8.1.3
Bumps [@types/inquirer](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/inquirer) from 7.3.1 to 8.1.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/inquirer)

---
updated-dependencies:
- dependency-name: "@types/inquirer"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 04:14:45 +00:00
Jan Vilimek 5835456f6f Example for entityFilterKind
Signed-off-by: Jan Vilimek <jan.vilimek@oriflame.com>
2021-12-11 13:26:25 +01:00
Patrik Oldsberg e0f5b46fcc snyk: ignore MPL and LGPL license warnings
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-12-10 15:39:29 +01:00
hiba-aldalaty 519198e273 Update type for parameter in isSidebarItemWithSubmenuActive function
Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
2021-12-10 11:09:04 +00:00
hiba-aldalaty 501eb4ea9f Undo changes to sidebar in Root.tsx used for testing
Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
2021-12-10 10:24:59 +00:00
hiba-aldalaty c13d0018ca Undo changes to sidebar in Root.tsx used for testing
Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
2021-12-10 10:23:59 +00:00
hiba-aldalaty f2b4b348e4 Add tests for isLocationMatch function
Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
2021-12-10 10:20:59 +00:00
Joe Porpeglia 63f5bc5f2c Add connection.directory support for sqlite
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2021-12-09 18:00:04 -05:00
Joe Porpeglia d9a286bd56 Use path.join for tests
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2021-12-09 16:43:39 -05:00
Joe Porpeglia cf192e1a72 Check if sqlite filename was provided before making plugin-specific filename
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2021-12-09 16:43:39 -05:00
Joe Porpeglia ef8392dab2 Use path.join
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2021-12-09 16:43:39 -05:00
Joe Porpeglia e51369952e Add suffix to plugin sqlite db file
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2021-12-09 16:43:39 -05:00
Joe Porpeglia 189ba4c340 Overwrite sqlite filepath per plugin
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2021-12-09 16:43:39 -05:00
Colton Padden 06f145c4bf MVP of Apache Airflow Plugin
Adds support for a new Backstage integration with the Apache Airflow workflow
management platform. This implementation has been tested with Apache Airflow v2
API authenticating with basic auth through the Backstage proxy plugin.

Supported functionality include:
- Information card of version information for the Airflow instance
- Information card of  instance status (health) for metadatabase and scheduler
- Table of DAGs with meta information and status, along with a link to view
  details in the Airflow UI

Signed-off-by: Colton Padden <colton.padden@fastmail.com>
2021-12-09 09:57:17 -05:00
Tim Jacomb 521b806109 Update docs for techdocs runCommand (#8332) 2021-12-09 15:38:48 +01:00
github-actions[bot] 9068128fd8 Version Packages 2021-12-09 12:02:28 +00:00
Patrik Oldsberg 85ee184e68 core-components: LogViewer prop className -> classes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-12-09 12:02:53 +01:00
Johan Haals 6ff2055519 Merge pull request #8383 from radoslaw-wielonski-nc/feat/add-custom-error-handler
Feat/add custom error handler
2021-12-08 16:48:22 +01:00
Fredrik Adelöw 842e338efb Merge pull request #8416 from backstage/freben/classnames
Standardize on classnames instead of both that and clsx
2021-12-08 16:31:42 +01:00
Johan Haals 8f253285a1 chore(deps-dev): bump @types/tar from 4.0.5 to 6.1.1
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-12-08 15:56:36 +01:00
Fredrik Adelöw 1357ac30f1 Standardize on classnames instead of both that and clsx
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-12-08 15:42:06 +01:00
blam 1e48c3de82 chore: fixing the last of the mpl violations
Signed-off-by: blam <ben@blam.sh>
2021-12-08 15:33:59 +01:00
Ben Lambert 95ae1249a4 Merge pull request #8369 from backstage/rugvip/logs
core-components: add new LogViewer component + use in plugins
2021-12-08 15:24:45 +01:00
Radoslaw Wielonski aec2c96c88 docs: update documentation of disableDefaultErrorHandler method
Signed-off-by: Radoslaw Wielonski <radoslaw.wielonski@nordcloud.com>
2021-12-08 15:13:37 +01:00
Radoslaw Wielonski 0105e3cd64 docs: update documentation of setErrorHandler method
Signed-off-by: Radoslaw Wielonski <radoslaw.wielonski@nordcloud.com>
2021-12-08 15:11:07 +01:00
radoslaw-wielonski-nc d2ad94df97 Update packages/backend-common/src/service/types.ts
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Radoslaw Wielonski <radoslaw.wielonski@nordcloud.com>
2021-12-08 15:08:40 +01:00
Johan Haals dd77b5eb12 Merge pull request #8283 from backstage/mob/identity-api
core-plugin-api: stabilize IdentityApi
2021-12-08 14:29:03 +01:00
hiba-aldalaty 67688f4601 fix generic type error
Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
2021-12-08 13:11:22 +00:00
Patrik Oldsberg ed3a7567a0 core-components: remove dead code in LogViewer
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>

chore: updating new yarn.lock changes

Signed-off-by: blam <ben@blam.sh>
2021-12-08 13:54:31 +01:00