Commit Graph

152 Commits

Author SHA1 Message Date
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
Tim Jacomb c673826ebb Fix sqllite backend 2020-08-17 10:28:27 +01:00
Andrew Thauer 815983ae84 add shared database connection helpers 2020-08-13 22:56:47 -04: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
Andrew Thauer aedcad72a5 feat: add rollbar links 2020-08-12 07:10:44 -04:00
Patrik Oldsberg 6bd0cac146 catalog-backend: added StaticLocationProcessor 2020-08-11 00:41:28 +02:00
Patrik Oldsberg f8c696e038 v0.1.1-alpha.18 2020-08-07 17:08:28 +02:00
Patrik Oldsberg 0dd8fa2828 v0.1.1-alpha.17 2020-08-05 19:36:36 +02:00
Patrik Oldsberg 2ecd8ae8dd Merge pull request #1813 from spotify/rugvip/cli-common
cli: separate out path discovery logic that's common to CLIs, backend and config
2020-08-05 12:10:25 +02:00
Sebastian Qvarfordt 97f3f58844 Mob/techdocs end to end (#1736)
* Initial techdocs end to end heavily inspired by scaffolder

* added some tests and fixed linting

* fix(techdocs-backend): fix eslint

* fix(techdocs-backend): cleanup commented test

* Removed unused dependency

* fix(techdocs-backend): updated standalone server

* moved type dependency to devDependencies

* fix: updated dependencies and devDependencies.

* Update plugins/techdocs-backend/src/techdocs/stages/generate/types.ts

Co-authored-by: Emma Indal <emma.indahl@gmail.com>

Co-authored-by: Emma Indal <emmai@spotify.com>
Co-authored-by: ellinors <ellinors@spotify.com>
Co-authored-by: Emma Indal <emma.indahl@gmail.com>
2020-08-04 13:04:48 +02:00
Patrik Oldsberg 62222b543c config-loader,backend-common: refactor config loading to pass in path and use common util for backend 2020-08-03 21:24:44 +02:00
Patrik Oldsberg 315b981cd4 backend: add clarifying comment to COPY command in Dockerfile 2020-07-29 11:34:37 +02:00
Ivan Shmidt 3f046ed0e3 Merge branch 'master' of github.com:spotify/backstage into shmidt-i/create-app-backend 2020-07-27 14:40:57 +02:00
Ivan Shmidt e5ed8f95d1 fix(cli): e2e backend PR adjustments 2020-07-27 14:38:07 +02:00
Raghunandan Balachandran 63dbc49f3e Merge pull request #1680 from spotify/configurable-auth-providers
Read auth providers from app-config yaml
2020-07-27 13:33:40 +02:00
Patrik Oldsberg ea129d5bbd Merge pull request #1592 from andrewthauer/backend-status-checks
[Backend-Common] Add backend status check handler middleware
2020-07-27 12:53:47 +02:00
Raghunandan 60d3ecc695 Read auth providers in backend and frontend from app-config yaml 2020-07-27 09:07:25 +02:00
Andrew Thauer 2a482bd3ef add status check router 2020-07-26 16:11:38 -04:00
Andrew Thauer 88e3581ebc feat: add backend status check handler middleware
The statusCheckHandler is a simple express middleware that helps
implement healthcheck/readiness endpoints. It can provided an optional
status function that should return a promise that resolves in either
true or false. The response will be either a 200 or 503 respectively.
Any errors that occur will be forwarded to next.
2020-07-26 15:27:00 -04:00
Ben Lambert 1009c4e05d Merge branch 'master' into blam/gql 2020-07-26 03:36:48 +02:00
Ivan Shmidt 411b4af8bc Merge branch 'master' of github.com:spotify/backstage into shmidt-i/create-app-backend 2020-07-24 12:13:43 +02:00
Patrik Oldsberg a852c2f141 config,config-loader: fix lagging versions 2020-07-24 11:38:45 +02:00
Ivan Shmidt a6b8602378 fix: tsc and pr comments 2020-07-24 09:43:22 +02:00
Ivan Shmidt bcd7b2661a v0.1.1-alpha.16 2020-07-24 03:44:39 +02:00
Ivan Shmidt 189e1bf547 feat(backend): add support for PG 2020-07-23 22:11:25 +02:00
blam 61257d533a feat(graphql): added simple graphql service with new backend plugin 2020-07-23 20:21:16 +02:00
Ivan Shmidt 415bdf42e1 v0.1.1-alpha.15 2020-07-22 13:44:33 +02:00
Ben Lambert cc0bc43b19 Merge pull request #1666 from spotify/scaffolder/new-templates
Add some new templates to the Scaffolder
2020-07-21 12:21:26 +02:00
Oliver Sand 8bd92fd7a4 backend: add ROLLBAR_ACCOUNT_TOKEN to readme 2020-07-16 14:21:59 +02:00
blam adce138843 chore(scaffolder): added simple create react app scaffolder 2020-07-16 06:23:42 +02:00
Bilawal Hameed 491d1b70e1 Bump to v0.1.1-alpha.14 2020-07-15 11:49:02 +02:00
Andrew Thauer d4d54ee7e3 refactor: rename rollbar token & minor cleanup (#1593) 2020-07-13 21:19:22 +02:00
Ivan Shmidt 55df832891 Merge pull request #1563 from spotify/shmidt-i/proxy-plugin
Proxy backend plugin
2020-07-13 15:02:06 +02:00
Ivan Shmidt 47ea7bb806 Merge branch 'master' of github.com:spotify/backstage into shmidt-i/proxy-plugin 2020-07-13 13:38:57 +02:00
blam d91c10f654 feat(scaffolder): now the scaffolder is passed a list of templaters which is decided by the template definition 2020-07-13 11:55:39 +02:00
Ivan Shmidt f1b479c772 fix(proxy): mount on /proxy 2020-07-13 11:22:08 +02:00
Patrik Oldsberg f39abc0fe7 package: enforce node 12 2020-07-11 20:22:12 +02:00
Ivan Shmidt 9e109da170 Merge branch 'master' of github.com:spotify/backstage into shmidt-i/proxy-plugin 2020-07-10 01:00:06 +02:00
Andrew Thauer 8885ebee89 adding rollbar plugin & backend
This is the first commit of the rollbar plugin. It is fully functional
but will require some additional features to make it more usable and
feature complete. It currently includes a backend wraps the rollbar REST
API and provides data for the frontend plugin.
2020-07-08 22:44:49 -04:00
Ivan Shmidt 170c9af829 Merge branch 'master' of github.com:spotify/backstage into shmidt-i/proxy-plugin 2020-07-08 09:27:09 +02:00
Ivan Shmidt a05a8f805d feat(proxy): implement proxy backend plugin 2020-07-08 09:25:27 +02:00
Sebastian Qvarfordt be7ef69328 Added initial scaffold for techdocs backend (#1550)
* Added initial scaffold for techdocs backend

* Added test and a dummy route

* Missed file in commit

* Removed unused dependencies

* Added readme
2020-07-07 15:37:26 +02:00
Patrik Oldsberg 6fdcc9f59a v0.1.1-alpha.13 2020-07-07 13:16:30 +02:00
Fredrik Adelöw 77fe78370b feat(auth): implement generic oauth2 provider 2020-07-02 09:19:02 +02:00
Patrik Oldsberg c06c7d7e6b packages/backend,cli: revert publish config and remove postpack script requirement from image-build 2020-06-25 19:58:10 +02:00
Patrik Oldsberg 66e2bfe073 backend: update packaging and add build-image command + Dockerfile
Co-authored-by: Ivan Shmidt <bahoc47@gmail.com>
2020-06-25 18:08:47 +02:00
blam 18a6a68dd0 Merge branch 'master' of github.com:spotify/backstage into mob/cookiecutter-templater
* 'master' of github.com:spotify/backstage: (21 commits)
  auth-backend: clean up comments + fix getting email from profile
  feat(catalog): show owner and lifecycle in header
  chore(catalog): move the entity examples to catalog-model
  plugins/graphiql: grayscale icon
  app: add graphiql plugin with gitlab and github endpoints
  dev-utils: add google and github auth APIs to default api factories
  plugins/graphiql: add GitHub endpoint with automatic scope detection
  build(deps): bump yup from 0.28.5 to 0.29.1
  v0.1.1-alpha.12
  packages: publish entire dist folder
  build(deps-dev): bump @storybook/addon-links from 5.3.18 to 5.3.19 (#1414)
  v0.1.1-alpha.11
  cli: include assets-types in published package
  storybook: update identity api mock
  core-api: update loginPopup tests
  core: fix sign-in hot reloading issues and unmounted component access
  core-api: update web message response handling in loginPopup to expect RFC format
  Identity and profile work, wip
  build(deps): bump @rollup/plugin-node-resolve from 7.1.3 to 8.1.0
  backend - fix types + refactoring
  ...
2020-06-24 10:50:34 +02:00
blam 7ead8675dd chore(scaffolder): code review comments, passing down the docker client 2020-06-24 10:47:43 +02:00
Patrik Oldsberg dcaee07754 v0.1.1-alpha.12 2020-06-23 22:25:25 +02:00
Patrik Oldsberg 910057bc8a v0.1.1-alpha.11 2020-06-23 21:27:58 +02:00