Commit Graph

171 Commits

Author SHA1 Message Date
Johan Haals 6712bba20d Merge pull request #10957 from oodamien/dvitrac/gh-10951
Use InfoCardVariants on custom cards variant attribute
2022-04-25 15:46:13 +02:00
David Weber 433a609a15 fix: add fetch resolver to use an url with \$ref
Signed-off-by: David Weber <david.weber@w3tec.ch>
2022-04-21 14:14:14 +02:00
Damien Vitrac 32982bf4b4 Use InfoCardVariants on custom cards variant attribute
Resolves #10951
Signed-off-by: Damien Vitrac <dvitrac@vmware.com>
2022-04-20 17:05:18 +02:00
Patrik Oldsberg f350da6bff api-docs: fix flaky OpenApiWidget rendering in test
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-13 16:13:38 +02:00
Kiss Miklos eb85cd5fac use explicit type for props
Signed-off-by: Kiss Miklos <miklos@roadie.io>
2022-04-08 16:09:59 +02:00
Kiss Miklos 8edc66257a add dedicated grpc api widget
Signed-off-by: Kiss Miklos <miklos@roadie.io>
2022-04-07 12:47:34 +02:00
Patrik Oldsberg c689d7a94c catalog: group, rename, and move filter components to catalog-react
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-16 15:10:41 +01:00
Johan Haals d3e9ec43b7 catalog-model: Remove target from EntityRelation type.
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-03-10 16:15:12 +01:00
Fredrik Adelöw 899f196af5 update to use getEntityByRef
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-03 13:27:25 +01:00
Patrik Oldsberg c077b432b8 catalog-react: moved DefaultStarredEntitiesApi implementation to catalog plugin
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-28 13:52:46 +01:00
Fredrik Adelöw d0582b2d0f stitch targetRef and backwards compat inject it on read
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-23 09:38:40 +01:00
Patrik Oldsberg 2262fe19c9 removed deprecated entity props
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-18 13:54:33 +01:00
Patrik Oldsberg 209fd128e6 removed all references to the removed SCM-specific location types
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-17 17:46:04 +01:00
Fredrik Adelöw deaf6065db Removed CatalogApi.geLocationByEntity and CatalogApi.getOriginLocationByEntity, and replaced them with CatalogApi.getLocationByRef.
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-15 19:47:34 +01:00
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