Commit Graph

4079 Commits

Author SHA1 Message Date
Fredrik Adelöw e2383a399d fix(catalog-backend): properly deduplicate location logs 2020-08-05 16:55:36 +02:00
David Tuite 7db913e36b Add api-catalog.yaml file (#1822)
Also added ARD008 to explain the decision. This is linked from
`mkdocs.yaml` and `docs/README.md`.

Co-authored-by: David Tuite <dtuite@gmail.com>
2020-08-05 14:43:06 +02:00
dependabot-preview[bot] 02fa42e6f6 chore(deps): bump react-syntax-highlighter from 12.2.1 to 13.2.1
Bumps [react-syntax-highlighter](https://github.com/react-syntax-highlighter/react-syntax-highlighter) from 12.2.1 to 13.2.1.
- [Release notes](https://github.com/react-syntax-highlighter/react-syntax-highlighter/releases)
- [Changelog](https://github.com/react-syntax-highlighter/react-syntax-highlighter/blob/master/CHANGELOG.MD)
- [Commits](https://github.com/react-syntax-highlighter/react-syntax-highlighter/compare/v12.2.1...13.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-05 11:45:28 +00:00
Fredrik Adelöw 55d5fb4c2b Merge pull request #1830 from spotify/dependabot/npm_and_yarn/helmet-4.0.0
chore(deps): bump helmet from 3.23.2 to 4.0.0
2020-08-05 13:40:32 +02:00
Tomek Fabisiak 02f2bbf0bb fix: github actions subpage was working only for default service 2020-08-05 13:13:34 +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
Patrik Oldsberg cd6febaf2d cli: update e2e-test to include dist versions of backend packages 2020-08-05 11:34:17 +02:00
Patrik Oldsberg a6e7029504 Merge pull request #1798 from andrewthauer/docker-healthcheck
Add simple healthcheck to app container nginx template
2020-08-05 11:05:57 +02:00
dependabot-preview[bot] d7b0387079 chore(deps-dev): bump start-server-and-test from 1.11.0 to 1.11.2
Bumps [start-server-and-test](https://github.com/bahmutov/start-server-and-test) from 1.11.0 to 1.11.2.
- [Release notes](https://github.com/bahmutov/start-server-and-test/releases)
- [Commits](https://github.com/bahmutov/start-server-and-test/compare/v1.11.0...v1.11.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-05 08:46:38 +00:00
dependabot-preview[bot] 62885e6e3c chore(deps): bump @rjsf/core from 2.1.0 to 2.2.2
Bumps [@rjsf/core](https://github.com/rjsf-team/react-jsonschema-form) from 2.1.0 to 2.2.2.
- [Release notes](https://github.com/rjsf-team/react-jsonschema-form/releases)
- [Commits](https://github.com/rjsf-team/react-jsonschema-form/compare/v2.1.0...v2.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-05 08:44:09 +00:00
dependabot-preview[bot] ae9f757ac3 chore(deps): bump helmet from 3.23.2 to 4.0.0
Bumps [helmet](https://github.com/helmetjs/helmet) from 3.23.2 to 4.0.0.
- [Release notes](https://github.com/helmetjs/helmet/releases)
- [Changelog](https://github.com/helmetjs/helmet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/helmetjs/helmet/compare/v3.23.2...v4.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-05 08:38:52 +00:00
Fredrik Adelöw 736a591496 feat(catalog-backend): add a CoalescedEntitiesCatalog 2020-08-05 10:10:18 +02:00
blam 854e78d056 chore: enable github actions widget for scaffolding items that can build with github actions 2020-08-05 05:02:11 +02:00
blam 31a92961e9 chore(java): simple jenkins workflow 2020-08-05 03:42:47 +02:00
Ben Lambert a93fd63cb7 Update adding-templates.md 2020-08-05 03:14:28 +02:00
Andrew Thauer 3d95f5925d feat: add simple healthcheck to app container 2020-08-04 20:30:52 -04:00
blam 91e7fad0f7 chore(scaffolder): fixing path to now be the spotify repo to load golang template 2020-08-05 02:19:38 +02:00
Ben Lambert 7af306bf3c Merge pull request #1825 from spotify/blam/fix-gql
chore(gql): graphql should be public
2020-08-05 01:27:33 +02:00
blam 65b55fb0fa chore(gql): graphql should be public 2020-08-05 00:56:12 +02:00
Govindarajan Nagarajan 75467ecb60 Cleanup: Remove deadcode 2020-08-04 18:51:00 +02:00
Govindarajan Nagarajan 4ae351b06f Refactor: Make properties of OAuthState non-optional 2020-08-04 18:48:38 +02:00
Govindarajan Nagarajan cb80b2b4f8 Refactor: encode state Parameters as URLSearchParams instead of JSON 2020-08-04 18:42:16 +02:00
Govindarajan Nagarajan 2d20cf389c Refactor: Address PR Comments
Create a new `OAuthState` type for storing the fields we want in the
`state` parameter.

Update the `encodeState` and `readState` fns to use the new `OAuthState`
type.

Update tests to reflect the new type
2020-08-04 17:06:46 +02:00
dependabot-preview[bot] 69c9964087 chore(deps): bump chokidar from 3.4.0 to 3.4.1 (#1818)
Bumps [chokidar](https://github.com/paulmillr/chokidar) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/paulmillr/chokidar/releases)
- [Commits](https://github.com/paulmillr/chokidar/compare/3.4.0...3.4.1)

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-04 14:48:30 +02:00
dependabot-preview[bot] f2c063454e chore(deps-dev): bump @types/nodegit from 0.26.5 to 0.26.7 (#1817)
Bumps [@types/nodegit](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/nodegit) from 0.26.5 to 0.26.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/nodegit)

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-04 14:48:07 +02:00
dependabot-preview[bot] 0001f109a4 chore(deps-dev): bump @testing-library/react-hooks from 3.3.0 to 3.4.1 (#1820)
Bumps [@testing-library/react-hooks](https://github.com/testing-library/react-hooks-testing-library) from 3.3.0 to 3.4.1.
- [Release notes](https://github.com/testing-library/react-hooks-testing-library/releases)
- [Commits](https://github.com/testing-library/react-hooks-testing-library/compare/v3.3.0...v3.4.1)

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-04 14:47:41 +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
Ben Lambert 9d6a1c350a Merge pull request #1815 from spotify/b/update-template-descriptions
chore(scaffolder): updating the wording for the sample templates
2020-08-04 09:55:05 +02:00
blam 0d2ab85858 chore(scaffolder): updating the wording for the sample templates 2020-08-04 09:49:42 +02:00
Patrik Oldsberg 843c6bf3a5 packages/cli: fix packaging of packages without deps 2020-08-04 01:03:05 +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 aa265769d2 techdocs-cli: import version from techdocs-cli directly 2020-08-03 21:24:44 +02:00
Patrik Oldsberg 0a09976548 create-app: use cli-common to discover paths and import version directly 2020-08-03 21:24:44 +02:00
Patrik Oldsberg 2f76581b60 cli: use cli-common to discover paths 2020-08-03 21:24:43 +02:00
Patrik Oldsberg 9306dc035c packages: add cli-common 2020-08-03 21:24:43 +02:00
Govindarajan Nagarajan 51fad03460 Tests: update tests for OAuthProvider to handle
Update OAuthProvider tests to ensure that changes to nonce and
environment handling do not cause regressions
2020-08-03 17:43:16 +02:00
Govindarajan Nagarajan 3e5dfbc5f6 Refactor: move encoding state parameters into a separate function 2020-08-03 17:42:48 +02:00
Govindarajan Nagarajan 081fe60453 Refactor: parse state query param to read nonce
The `state` was modified to be an encoded object of `nonce` and `env`.
When verifying the Nonce value in the callback from the authorization
server, parse the state parameter string to read the right value of
nonce
2020-08-03 15:53:22 +02:00
Govindarajan Nagarajan 685f76d913 Encode env in OAuth flow into the state parameter. refs #1775
`Env` passed as a separate parameter in the request might break the flow
of the authorization flow. Spotify considers the `env` as a first class
abstraction and use it across their application stack.
To ensure both the existing flow and newer flows are supported, use the
`state` parameter to encode an object, consisting of the `nonce` and the
`env` which is then passed to the authorization server. This parameter
is returned to the application in the callbackURL
2020-08-03 15:33:32 +02:00
Fredrik Adelöw 9d02a7b979 Merge pull request #1809 from spotify/freben/bump-react-use
chore(deps): bump react-use from 14.2.0 to 15.3.3
2020-08-03 15:06:51 +02:00
dependabot-preview[bot] 14cfeb390e chore(deps): bump react-use from 14.2.0 to 15.3.3
This is a copy of #1731 with fixes
2020-08-03 14:33:35 +02:00
Patrik Oldsberg bb24f5c448 Merge pull request #1804 from spotify/rugvip/cba-tweaks
create-app: fix lint, deps, and version
2020-08-03 12:02:34 +02:00
Fredrik Adelöw d15cc81c75 Merge pull request #1760 from spotify/dependabot/npm_and_yarn/http-errors-1.8.0
chore(deps-dev): bump http-errors from 1.7.3 to 1.8.0
2020-08-03 10:20:16 +02:00
Fredrik Adelöw 98342de0a9 Merge pull request #1761 from spotify/dependabot/npm_and_yarn/types/webpack-dev-server-3.11.0
chore(deps-dev): bump @types/webpack-dev-server from 3.10.1 to 3.11.0
2020-08-03 10:19:28 +02:00
Fredrik Adelöw f510d40170 Merge pull request #1768 from spotify/dependabot/npm_and_yarn/rollup/plugin-node-resolve-8.4.0
chore(deps): bump @rollup/plugin-node-resolve from 8.1.0 to 8.4.0
2020-08-03 10:18:53 +02:00
Patrik Oldsberg 2c4ee49be8 workflows: run cli checks on changes to create-app 2020-08-03 00:17:21 +02:00
Patrik Oldsberg d1c7d8672a create-app: sync version 2020-08-02 23:57:33 +02:00
Patrik Oldsberg fb1ee74551 create-app: fix deps 2020-08-02 23:57:23 +02:00
Patrik Oldsberg 2909054283 create-app: add lint command 2020-08-02 23:20:39 +02:00
Patrik Oldsberg bd3d0de77f Merge pull request #1745 from ayshiff/refactor/cli-create-app
Refactor: Move @backstage/cli create-app to separate package
2020-08-02 22:37:43 +02:00