Commit Graph

157 Commits

Author SHA1 Message Date
Fredrik Adelöw cc33f8d8cb Merge pull request #8782 from akz08/reroute-register-api
Reroute register api
2022-01-19 11:39:37 +01:00
Kamil Zainal 027bc50cc5 Rename registerComponent to registerApi to better communicate intent
Signed-off-by: Kamil Zainal <gh@akza.dev>
2022-01-18 18:12:36 +00:00
David Weber 6f4f3422d8 Export GraphQlDefinitionWidget
This is important for reuse of the widget.

Signed-off-by: David Weber <david.weber@baloise.ch>
2022-01-16 12:41:14 +01:00
Dominik Schwank cd4e3c4d4e fix(api-docs): set url explicitly to an empty string
The url argument is undefined when it is not explicitly set to an empty string. An undefined url is
causing the swagger UI to fail on match checks.

fixes #8895

Signed-off-by: Dominik Schwank <dominik.schwank@sda.se>
2022-01-14 18:19:25 +01:00
Kamil Zainal a9f1c704dc Route 'Register Existing API' on API page to /catalog-import
The 'Register Existing API' button on /api-docs was routing to /create but APIs can't be created. Changing to route to /catalog-import where an API can be registered instead.

Signed-off-by: Kamil Zainal <gh@akza.dev>
2022-01-06 15:39:19 +00:00
Phil Kuang 11b81683a9 feat(customization): support customizing catalog and api index pages via outlets
Signed-off-by: Phil Kuang <pkuang@factset.com>
2021-12-30 12:40:20 -05:00
Phil Kuang de81b7455e feat(ApiDefinitionCard): display entity title if defined
Signed-off-by: Phil Kuang <pkuang@factset.com>
2021-12-28 20:23:14 -05:00
Colton Padden 345dcea560 release-2021-06-01 packages/core-plugin-api/src/apis/system/ApiRef.ts:27
Signed-off-by: Colton Padden <colton.padden@fastmail.com>
2021-12-17 15:04:34 -05:00
Kai Szybiak 089a6157ff Merge backstage/master
Signed-off-by: Kai Szybiak <kaiszybiak@gmail.com>
2021-12-06 12:08:54 +01:00
Lorenzo Orsatti 4b284fe9e5 apply review comments
Signed-off-by: Lorenzo Orsatti <49567430+lorsatti@users.noreply.github.com>
2021-12-01 13:37:16 +01:00
Lorenzo Orsatti 752a53d94e adapt Swagger style to the main theme
Signed-off-by: Lorenzo Orsatti <49567430+lorsatti@users.noreply.github.com>
2021-11-28 22:31:09 +01:00
Lorenzo Orsatti f803ac931e add missing styles to Swagger (dark mode)
Signed-off-by: Lorenzo Orsatti <49567430+lorsatti@users.noreply.github.com>
2021-11-23 21:50:46 +01:00
Patrik Oldsberg 8a96019a39 Merge branch 'master' into rugvip/test-port 2021-11-22 17:33:10 +01:00
Kai Szybiak b6a2c1f255 Update AsyncAPI component to 1.0.0-x releases
Signed-off-by: Kai Szybiak <kaiszybiak@gmail.com>
2021-11-18 15:43:37 +01:00
Patrik Oldsberg 29ef695410 packages,plugins: migrate to using TestApiProvider and Registry
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-11-18 11:28:46 +01:00
blam 1332a98a01 chore: fixing deprecation warnings for all the things that are in the monorepo
Signed-off-by: blam <ben@blam.sh>
2021-11-17 20:24:20 +01:00
Oliver Sand 54c5be2d6d Fix styling issues of swagger-ui
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-11-11 11:33:23 +01:00
Oliver Sand 7e5bd18cf7 Adjust to review comments
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-11-11 09:55:03 +01:00
Oliver Sand 044c38e739 Lazy load all API definition widgets
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-11-01 13:15:51 +01:00
Dominik Henneke 4ec21812bb Fix import
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-10-14 12:08:46 +02:00
Dominik Henneke 82fbda923e Introduce a new StarredEntitiesApi that is used in the useStarredEntities hook
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-10-14 12:08:42 +02:00
Tim Hansen 7e4e97c23b Fix tests
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-10-12 10:47:46 -06:00
Fanny Gaudin 353c0b7aae Add actions props to the ApiExplorerPage
Signed-off-by: Fanny Gaudin <fanny.gaudin@manomano.com>
2021-10-08 15:41:58 +02:00
Eric Peterson c781f49fc4 Merge pull request #7435 from backstage/codemod/extension-names
Add names to all core extensions provided by plugins
2021-10-05 16:21:43 +02:00
Alex Rybchenko 7c5351791e updated tests
Signed-off-by: Alex Rybchenko <arybchenko@box.com>
2021-10-05 11:31:58 +02:00
Eric Peterson 81a41ec249 Apply extension-names codemod to monorepo.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-10-04 19:29:43 +02:00
Aj-vrod c4a5653825 minor changes to table columns
Signed-off-by: Aj-vrod <ammyvrodriguez@hotmail.com>
2021-09-16 15:59:32 +02:00
Patrik Oldsberg 8142a8ecb2 packages,plugins: add package documentation
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-14 18:47:53 +02:00
Vincenzo Scamporlino de1604fc31 api-definition-card: fix tests
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2021-08-19 12:48:36 +02:00
Vincenzo Scamporlino 8be8f66ea7 plain-api-definition-widget: remove snapshot testing
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2021-08-19 12:21:56 +02:00
Vincenzo Scamporlino d041655a7d copy-text-button: use Clipboard API
Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net>
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2021-08-18 15:08:52 +02:00
Fredrik Adelöw 923491eece run prettier formatting
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-09 11:54:38 +02:00
Oliver Sand 0383314c9b Support deep linking in OpenAPI definitions
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-08-04 18:24:00 +02:00
Ben Lambert d0e73aa9c2 Update plugins/api-docs/src/components/ApiExplorerPage/ApiExplorerPage.tsx
Signed-off-by: Ben Lambert <blam@spotify.com>

Co-authored-by: Tim Hansen <timbonicus@gmail.com>
2021-08-03 16:53:39 +02:00
Philipp Hugenroth de13f9ac00 Generalize ContentHeader Button
- Create CreateButton component & remove CreateComponentButton

Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2021-07-28 13:48:56 +02:00
Philipp Hugenroth b044fa6f7c Clean up code according to review
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2021-07-16 13:19:27 +02:00
Philipp Hugenroth e1916a7e85 Apply changes to ApiExplorerPage
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2021-07-14 13:43:08 +02:00
Philipp Hugenroth 2934eb3a50 [DRAFT] Drawer Filters
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2021-07-13 20:33:33 +02:00
Philipp Hugenroth 48ec80da3a Apply generic table page to ApiExplorer
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2021-07-12 17:27:44 +02:00
Patrik Oldsberg afa37a8a49 Merge branch 'master' into rugvip/mod 2021-06-22 19:51:42 +02:00
Tim 66064956a4 Merge pull request #6091 from kuangp/refactor/api-docs
refactor(api-docs): move type filter and remove api: prefix from names
2021-06-22 11:31:08 -06:00
Phil Kuang 7bd46b19d4 refactor(api-docs): move type filter and remove api: prefix from names
Signed-off-by: Phil Kuang <pkuang@factset.com>
2021-06-22 11:32:58 -04:00
Patrik Oldsberg 9258c54f87 Merge branch 'master' into rugvip/mod 2021-06-22 10:07:18 +02:00
Patrik Oldsberg fa8c234b24 Merge pull request #6124 from backstage/rugvip/noroutes
plugins,dev-utils: remove usage of deprecated route registrations
2021-06-21 23:39:33 +02:00
Patrik Oldsberg d453c05dc3 apply core-imports codemod to all packages and plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-19 15:33:08 +02:00
Patrik Oldsberg d719926d25 plugins: remove deprecated route registrations
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-19 14:36:11 +02:00
Fredrik Adelöw a88073c29a Update copyright headers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-18 20:26:42 +02:00
Phil Kuang fb4a7f71e6 revert(CreateComponentButton): use dedicated button in api page
Signed-off-by: Phil Kuang <pkuang@factset.com>
2021-06-15 13:18:05 -04:00
Tim Hansen 7ae8dc8bab Minor tweaks to spacing and wording
Adds EntityOwnerPicker and EntityLifecyclePicker to CatalogPage

Co-authored-by: Phil Kuang <pkuang@factset.com>
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-06-15 12:43:19 -04:00
Phil Kuang 172c973247 feat(pickers): implement EntityLifecyclePicker and EntityOwnerPicker
Signed-off-by: Phil Kuang <pkuang@factset.com>
2021-06-15 12:43:19 -04:00