Commit Graph

1427 Commits

Author SHA1 Message Date
Emma Indal edab8b2ad8 fix(template tags): fixes issues with tags specified with uppercase (#2049)
* fix(template tags): fixes issues with tags specified with uppercase

* adds new validator for metadata tags

* fix(template tags): change tags to be lowercase

* fix(template tags docs): update docs to include lowercased tags

* fix(validator): change back to using isValidDnsLabel for tags

* fix(software catalog docs): use lowercase tags in docs
2020-08-24 17:01:27 +02:00
Emma Indal b5ada28f26 Added techdocs-ref to backstage entity 2020-08-24 15:52:44 +02:00
Sebastian Qvarfordt 2e50876160 Throw error when failing to generate docs to prevent request loop (#2073) 2020-08-21 15:30:50 +02:00
Emma Indal f6f56aa748 TechDocs: documentation template (#1954)
* feat(docs-template): Add docs template to create a standalone docs project

* fix(docs-template): add docs template to mock data

* fix(docs-template): owner of template

* add techdocs-ref to cookiecutter docs project

* delete unused cookiecutter json file

* update docs in default index.md file

* rename from .yaml to .yml to be consistent to docs

* update techdocs-ref to use github protocol
2020-08-21 14:56:46 +02:00
Stefan Ålund c6c3c94c18 Camelcase GitHub and GitLab (#2034)
* Camelcase GitHub and GitLab

* GitLab

* Code GitLab

* GitHub in code

* Fix auth naming

* Update docs/features/software-templates/adding-templates.md

Co-authored-by: Raghunandan Balachandran <soapraj@gmail.com>

* Update docs/features/software-templates/extending/create-your-own-preparer.md

Co-authored-by: Raghunandan Balachandran <soapraj@gmail.com>

Co-authored-by: Raghunandan Balachandran <soapraj@gmail.com>
2020-08-21 14:48:16 +02:00
Raghunandan Balachandran 9b8024352a Merge pull request #2046 from spotify/new-release-20-aug-20
Release v0.1.1-alpha.19
2020-08-21 14:13:56 +02:00
Sebastian Qvarfordt 613c06bdd6 Techdocs: Updates preparers to make it work in actual usecases (#1957)
* feature(techdocs): JIT generation of techdocs

* Fix linting issues

* Add Techdocs tab to entity page

* Added missing dep

* Added missing dep

* Removed duplicate dep

* Better tab navigation

* Update label on entity page to say docs

* Fix lint issue

* Move building of docs from entity to a function

* feature(techdocs): JIT generation of techdocs

* Fix linting issues

* Add Techdocs tab to entity page

* Added missing dep

* Added missing dep

* Removed duplicate dep

* Better tab navigation

* Update label on entity page to say docs

* Fix lint issue

* Move building of docs from entity to a function

* attempt to add back react as a dep

* Fixed failing test

* fix(techdocs): Hopefully fixed tests

* Fixed another failing test

* Initial apiRef for techdocs storage

* Cleaned up some code in reader

* test(headertabs): add tests to HeaderTabs component

* fix(headertabs): change tab mock id

* fix(techdocs-generator): fix problem with macOS symlink to tmp folder

* fix(lint): remove unused configApiRef

* wip

* Ongoing cleanups

* Cleanups and fix tests

* Initial github preparer. Doesn't work properly yet

* Updated dir preparer to handle github managed-by-location and added github preparer

* Removed old file

* Fixed feedback and added better logging to techdocs build process

* Updated create-app template

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Emma Indal <emmai@spotify.com>
2020-08-21 12:11:03 +02:00
Raghunandan 15e334a584 Release v0.1.1-alpha.19 2020-08-21 11:40:04 +02:00
Sebastian Qvarfordt 5bf548ac80 Show progress bar when loading on techdocs (#2065) 2020-08-21 10:31:30 +02:00
Fredrik Adelöw 11289f3066 Merge pull request #2047 from spotify/freben/docs-call-existing-api
docs: write call-existing-api.md
2020-08-21 09:21:11 +02:00
Fredrik Adelöw 89a0a2fc7b docs: write call-existing-api.md 2020-08-20 21:21:30 +02:00
Oliver Sand 95596b8129 chore(api-docs): the api docs plugin should be published (#2051)
* chore(api-docs): the api docs plugin should be published

* chore: add missing @types/react dependency

* chore: move to dependency
2020-08-20 21:01:13 +02:00
Emma Indal 7b60c4472f Merge pull request #2044 from spotify/mob/entitypage-tabs
fix(header tabs): use filteredheadertabs instead of tabs
2020-08-20 15:23:15 +02:00
Raghunandan Balachandran 74f1b2762d Merge pull request #2040 from spotify/rugvip/auth-providers
plugins/auth-backend: refactor providers for exporting with consistent casing
2020-08-20 15:12:45 +02:00
Raghunandan Balachandran 23ce1e7f63 Merge pull request #2022 from spotify/rugvip/base-url
core-api: switch auth provider apiOrigin option to backendUrl
2020-08-20 15:05:47 +02:00
Emma Indal b545e51615 fix(header tabs): use filteredheadertabs instead of tabs 2020-08-20 15:02:53 +02:00
Sebastian Qvarfordt 13908d69c2 TechDocs: Access entity techdocs from service catalog (#1835)
* feature(techdocs): JIT generation of techdocs

* Fix linting issues

* Add Techdocs tab to entity page

* Added missing dep

* Added missing dep

* Removed duplicate dep

* Better tab navigation

* Update label on entity page to say docs

* Fix lint issue

* Move building of docs from entity to a function

* feature(techdocs): JIT generation of techdocs

* Fix linting issues

* Add Techdocs tab to entity page

* Added missing dep

* Added missing dep

* Removed duplicate dep

* Better tab navigation

* Update label on entity page to say docs

* Fix lint issue

* Move building of docs from entity to a function

* attempt to add back react as a dep

* Fixed failing test

* fix(techdocs): Hopefully fixed tests

* Fixed another failing test

* Initial apiRef for techdocs storage

* Cleaned up some code in reader

* test(headertabs): add tests to HeaderTabs component

* fix(headertabs): change tab mock id

* fix(techdocs-generator): fix problem with macOS symlink to tmp folder

* fix(lint): remove unused configApiRef

* wip

* Ongoing cleanups

* Cleanups and fix tests

* WIP cleanups

* Clean up some things

* Clean up some things

* Added missing notice header

* ts issue fixed

* Add show contition to api tab

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Emma Indal <emmai@spotify.com>
2020-08-20 14:06:09 +02:00
Oliver Sand 774a000729 Readme for api-docs Plugin (#2041)
* docs(api-docs): add details to readme

* docs: fix wrong markdown in readme files
2020-08-20 13:57:59 +02:00
Patrik Oldsberg b3fa6ffadd plugins/auth-backend: refactor providers for exporting with consistent casing 2020-08-20 11:15:34 +02:00
Patrik Oldsberg 02fa3ca781 Merge pull request #2024 from spotify/rugvip/auth-config
plugins/auth-backend: refactor OAuthProvider to derive options from {app,backend}.baseUrl
2020-08-20 10:53:26 +02:00
Patrik Oldsberg 5e0341f01c plugins/auth-backend: refactor OAuthProvider to derive options from app.baseUrl 2020-08-19 11:37:03 +02:00
Ivan Shmidt c5ab3d0d76 Merge pull request #2013 from SDA-SE/tags
Add tags to catalog entities
2020-08-19 11:31:53 +02:00
dependabot-preview[bot] 0ed795bf06 chore(deps-dev): bump @types/codemirror from 0.0.96 to 0.0.97 (#2021)
Bumps [@types/codemirror](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/codemirror) from 0.0.96 to 0.0.97.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/codemirror)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-19 10:53:58 +02:00
Patrik Oldsberg 645c7f444b core-api: switch auth provider apiOrigin option to backendUrl 2020-08-19 09:43:36 +02:00
Niklas Ek 4618f0b76a Update header background shapes and colors (#2015)
* Update header background shapes and colors

* Remove an unused type frmo PageThemeProvider

* Remove Waves.test as there is no more Waves.jsx
2020-08-19 09:34:15 +02:00
Oliver Sand 2172a8a698 fix: layout issue on the entity page 2020-08-18 22:44:15 +02:00
Oliver Sand 5e6f1c4248 feat(catalog): add filter by tags in the catalog 2020-08-18 22:22:20 +02:00
Oliver Sand f06588def7 feat(catalog): show entity tags in the catalog table 2020-08-18 22:22:20 +02:00
Fredrik Adelöw 1f74e31ae9 Merge pull request #1945 from SDA-SE/feat/api-tabs
feat(catalog): update trivial tab implementation
2020-08-18 19:48:08 +02:00
Patrik Oldsberg 547d0a1390 auth-backend: nicer error message for missing env query 2020-08-18 12:08:38 +02:00
Dominik Henneke f8c3a77062 fix(catalog): read correct property name implementsApis 2020-08-17 15:57:56 +02:00
Dominik Henneke 5374dcdb5d feat(catalog): update trivial tab implementation 2020-08-17 15:57:56 +02:00
Raghunandan Balachandran 981e66d553 Merge branch 'master' of github.com:spotify/backstage into adds_auth0 2020-08-17 13:29:15 +02:00
Raghunandan Balachandran 033233d81f Fix auth0 backend provider 2020-08-17 10:10:12 +02:00
msamad 42a885d07c Add ingestor for private bitbucket cloud repositories (#1938)
* Add ingestor for private bitbucket cloud repositories

* Fix test to compare URL string value instead of object

* Fix tests for Github and Gitlab ingestor to compare URL string value instead of object

* Fix bitbucket password env variable for clarity
2020-08-17 08:01:36 +02:00
Oliver Sand deb108d986 Add styling (especially dark mode) for the asyncAPI display component (#1958) 2020-08-16 15:19:40 +02:00
dependabot-preview[bot] 19775e4bd0 chore(deps): bump swr from 0.2.3 to 0.3.0
Bumps [swr](https://github.com/vercel/swr) from 0.2.3 to 0.3.0.
- [Release notes](https://github.com/vercel/swr/releases)
- [Commits](https://github.com/vercel/swr/compare/0.2.3...0.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-16 11:40:17 +00:00
Fredrik Adelöw b78e347375 Merge pull request #1923 from spotify/dependabot/npm_and_yarn/msw-0.20.5
chore(deps-dev): bump msw from 0.19.5 to 0.20.5
2020-08-16 13:32:40 +02:00
Oliver Sand c74c8b4592 Improve styling of OpenAPI component (especially in dark mode) (#1961) 2020-08-16 09:10:28 +02:00
Dominik Henneke 69a496b0c7 test(catalog-backend): increase coverage of the yaml processor
Co-authored-by: Oliver Sand <oliver.sand@sda-se.com>
2020-08-15 09:04:55 +02:00
dependabot-preview[bot] 28387a3558 chore(deps-dev): bump msw from 0.19.5 to 0.20.5
Bumps [msw](https://github.com/mswjs/msw) from 0.19.5 to 0.20.5.
- [Release notes](https://github.com/mswjs/msw/releases)
- [Commits](https://github.com/mswjs/msw/compare/v0.19.5...v0.20.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-13 13:46:31 +00:00
Ivan Shmidt 6e8cf4651e Merge branch 'master' of github.com:spotify/backstage into mob/docusaurus-structure 2020-08-13 14:55:25 +02:00
Dominik Henneke 356643416d Merge branch 'master' into feat/api-catalog 2020-08-13 11:32:00 +02:00
Ivan Shmidt 045d796667 Merge branch 'master' of github.com:spotify/backstage into mob/docusaurus-structure 2020-08-13 10:15:01 +02:00
Patrik Oldsberg 5238813719 Merge pull request #1935 from spotify/rugvip/out
cli: fix stdout not being logged in e2e test cmd failures
2020-08-13 09:23:51 +02:00
Dominik Henneke f809238e61 Update @types/swagger-ui-react 2020-08-13 08:30:44 +02:00
Patrik Oldsberg aea535b0aa catalog-backend: fix migration script not using uuid for ID 2020-08-13 01:19:29 +02:00
Fredrik Adelöw 65f3f4f95a Merge pull request #1877 from andrewthauer/rollbar-updates
Add rollbar organization links, etc.
2020-08-12 22:22:05 +02:00
Ivan Shmidt e79102cee7 Merge branch 'master' of github.com:spotify/backstage into mob/docusaurus-structure 2020-08-12 16:17:25 +02:00
Nikita Dudnik d74066d045 Merge pull request #1930 from spotify/ndudnik/register-component-readme
docs: register component plugin
2020-08-12 16:13:58 +02:00