Commit Graph

1455 Commits

Author SHA1 Message Date
ebarrios b0a6218c1a Reverted change applied to master by mistake 2020-08-28 10:56:48 +02:00
ebarrios 691b8ad8fb Reverted change applied to master by mistake 2020-08-28 10:56:05 +02:00
ebarrios 96d67a24ce Added Widget for listing workflows run to catalog under CI/CD tab 2020-08-27 18:25:39 +02:00
Oliver Sand e64411a754 fix(api-docs): fix a small styling issue in openapi rendering (#2141)
Specs without operations were no correctly displayed in dark mode.
2020-08-27 15:10:39 +02:00
Raghunandan Balachandran 304b7bcb13 Merge pull request #2074 from spotify/rugvip/discovery
[RFC] Add DiscoveryApi
2020-08-27 15:07:21 +02:00
Emma Indal 3fbfb42619 register techdocs storage api to dev app (#2139) 2020-08-27 14:01:09 +02:00
Nikita Dudnik 8bde560157 Merge pull request #2131 from spotify/ndudnik/unbreak-circleci
fix(circleci): unbreak plugin
2020-08-27 11:52:13 +02:00
Nikita Nek Dudnik d51b61dbaf fix(circleci): unbreak plugin 2020-08-27 11:38:49 +02:00
Sebastian Qvarfordt 0b2f787699 Updated docs for techdocs plugin (#2127)
* Updated docs for techdocs plugin

* Error in example comment

* Update plugins/techdocs/README.md

Co-authored-by: Emma Indal <emmai@spotify.com>

* Update plugins/techdocs/src/reader/README.md

Co-authored-by: Emma Indal <emmai@spotify.com>

* Update plugins/techdocs/src/reader/README.md

Co-authored-by: Emma Indal <emmai@spotify.com>

* Update plugins/techdocs/src/reader/README.md

Co-authored-by: Emma Indal <emmai@spotify.com>

* Update link to transformers doc to point to reader doc for now

Co-authored-by: Emma Indal <emmai@spotify.com>
2020-08-27 09:52:49 +02:00
Sebastian Qvarfordt f6698e2e0c Added some more docs for techdocs-backend (#2124)
* Added some more docs for techdocs-backend

* Update plugins/techdocs-backend/README.md

Co-authored-by: Emma Indal <emmai@spotify.com>

* Update plugins/techdocs-backend/README.md

Co-authored-by: Emma Indal <emmai@spotify.com>

* Added example of techdocs storageUrl config

Co-authored-by: Emma Indal <emmai@spotify.com>
2020-08-26 15:42:02 +02:00
Fredrik Adelöw d4245dde69 Merge pull request #2125 from spotify/catalog/add-mock-data
add button to register dummy entities (fixed)
2020-08-26 13:12:24 +02:00
Fredrik Adelöw ddad61d824 reload the filtered entities context instead of direct fetch 2020-08-26 11:47:31 +02:00
Raghunandan 734dcca107 Release v0.1.1-alpha.20 2020-08-26 11:33:14 +02:00
Fredrik Adelöw 26159c01e9 fix tests 2020-08-26 11:06:13 +02:00
Twisha Saraiya ddc7030731 move add mock data button to CatalogTable 2020-08-26 09:57:19 +02:00
Twisha Saraiya 213a1c3c84 add button to register dummy entities 2020-08-26 09:55:42 +02:00
Raghunandan Balachandran 280f7d72c3 Merge branch 'master' of github.com:spotify/backstage into add-microsoft-azure-auth 2020-08-25 17:15:51 +02:00
Sebastian Qvarfordt a027e632a0 Merge latest changes from origin before rebuilding docs (#2117)
* Added missing tests and make sure we merge latest changes before building docs from a repo

* Removed flaky test
2020-08-25 17:03:10 +02:00
Sebastian Qvarfordt f6826d9107 Moved git clone to a helper functions and added tests for preparers (#2112) 2020-08-25 16:21:53 +02:00
Sebastian Qvarfordt 4665a2f5d4 Added selectedTabId param to generatePath in JobStatusModal (#2109)
* Added selectedTabId param to generatePath in JobStatusModal

* Added selectedTabId to generatePath in ApiCatalogTable

* Link to default entity tab in JobStatusModal
2020-08-25 13:57:57 +02:00
Emma Indal e323e1691b update tags to be lowercased in docs template (#2104)
* update tags to be lowercased in docs template

* Update template.yaml
2020-08-25 12:07:12 +02:00
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
Chris Simmons 5ed8e5d05c simplified and cleaned up duplicate code 2020-08-22 12:26:06 +12:00
Sebastian Qvarfordt 2e50876160 Throw error when failing to generate docs to prevent request loop (#2073) 2020-08-21 15:30:50 +02:00
Patrik Oldsberg 6f0c438519 plugins/rollbar: switch RollbarClient to use DiscoveryApi 2020-08-21 15:16:07 +02:00
Patrik Oldsberg be837b7b36 plugins/scaffolder: switch ScaffolderApi to use DiscoveryApi 2020-08-21 15:16:07 +02:00
Patrik Oldsberg 382491dc5a plugins/catalog: switch CatalogClient to use DiscoveryApi 2020-08-21 15:16:06 +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
Chris Simmons d4a6bc5504 udpated env vars to match provider name 2020-08-21 16:32:04 +12:00
Chris Simmons b253c56526 add microsoft azure auth provider + add to example app 2020-08-21 15:46:17 +12:00
Patrik Oldsberg ea1a36433d app,core-api: install DiscoveryApi in default app and use it for all auth providers 2020-08-21 00:54:54 +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