Patrik Oldsberg
9f3ddfacde
cli: split and bump eslint dependencies + fix issues
2020-10-17 15:04:37 +02:00
Fredrik Adelöw
99710b102d
feat(catalog-backend): make a builder to help wire up the catalog
2020-10-14 09:28:59 +02:00
blam
46960a61ec
v0.1.1-alpha.25
2020-10-12 22:42:54 +02:00
Patrik Oldsberg
8afce088ac
Use APP_ENV to determine what config to load, falling back to NODE_ENV
2020-10-10 17:41:03 +02:00
Patrik Oldsberg
468d4a2dae
Merge pull request #2684 from themousepotato/lintrule-dirname-fix
...
Add a lint rule to avoid using __dirname
2020-10-09 21:03:13 +02:00
Navaneeth Suresh
bbeaff9daf
Add a lint rule to avoid using __dirname
2020-10-09 15:03:29 +05:30
Mattias Frinnström
b46863b88b
Techdocs: add Azure DevOps prepare support ( #2748 )
...
* Update to latest git-url-parse
* Add Azure DevOps preparer to techdocs
* Upgraded git-url-parse in backend-common
* Switch to AZURE_TOKEN
Co-authored-by: Mattias Frinnström <mattias.frinnstrom@husqvarnagroup.com >
2020-10-09 09:37:20 +02:00
Joel Low
7471a46d27
Use resetAllMocks and toHaveBeenCalledTimes
2020-10-07 14:59:09 +08:00
Joel Low
0bc45e0d3a
Fix additional review comments
2020-10-07 10:44:08 +08:00
Joel Low
c990535157
Remove support for alternative plugin databases
2020-10-07 09:32:44 +08:00
Joel Low
f88cc8846b
Add missing @param declarations in API docs
2020-10-07 09:32:44 +08:00
Joel Low
906e593a54
Implement tests
2020-10-07 09:32:44 +08:00
Joel Low
b083c97f84
Replace PluginDatabaseClientFactory with PluginDatabaseManager
2020-10-07 09:32:44 +08:00
Joel Low
8c78b4e9dd
Fix review comments
...
- Combine the various exported types; the only API surface is now the
`PluginDatabaseClientFactory` which is a free function.
- Rename to the SingleConnectionManager class.
- Refactor the PluginEnvironment type to use databaseClientFactory for
clarity.
- Fix mergeDatabaseConfig to not override the input dictionary.
2020-10-07 09:32:43 +08:00
Joel Low
e277c5dfa5
Expose types to handle Database management
...
This implements several types to own and manage databases on a database
server. The current SimpleDatabase* classes preserve the present
behaviour; future implementations can segregate databases to be owned by
different roles.
2020-10-07 09:32:42 +08:00
Patrik Oldsberg
46b71700ee
v0.1.1-alpha.24
2020-10-05 15:45:33 +02:00
Patrik Oldsberg
2527afac9e
backend-common: refactor UrlReaders to only expose static methods
2020-10-03 16:52:31 +02:00
Patrik Oldsberg
e6a6f2f264
backend-common: refactor reader types
2020-10-03 16:39:36 +02:00
Patrik Oldsberg
e6ac72b59e
backend-common: we support reading from more than just gitlab.com
2020-10-03 16:19:07 +02:00
Patrik Oldsberg
d3265666af
backend-common: refactor GitlabUrlReader test and restore raw url functionality
2020-10-03 16:18:31 +02:00
Patrik Oldsberg
02eafc7091
backend-common: refactor BitbucketUrlReader test and exported symbols
2020-10-03 15:10:34 +02:00
Patrik Oldsberg
77c42b3fd3
backend-common: refactor AzureUrlReader to test public methods using msw
2020-10-03 15:06:55 +02:00
Patrik Oldsberg
69b3c03473
backend-common: added toString methods for all readers + log in backend instead of at creation
2020-10-03 11:55:24 +02:00
Patrik Oldsberg
3289598526
backend-common: remove UrlReaderHostMux
2020-10-03 11:55:23 +02:00
Patrik Oldsberg
b971534dfb
backend-common: added FetchUrlReader and use as fallback by default
2020-10-03 11:55:23 +02:00
Patrik Oldsberg
07d19aad96
backend-common: fix GithubUrlReader tests
2020-10-03 11:55:22 +02:00
Patrik Oldsberg
1e97419d30
backend-common: merge GitlabReaderProcessor functionality into GitlabUrlReader
2020-10-03 11:55:22 +02:00
Patrik Oldsberg
f50a233a4f
backend-common: port GitlabUrlReader
2020-10-03 11:55:21 +02:00
Patrik Oldsberg
ce32eb3c69
backend-common: port AzureUrlReader
2020-10-03 11:55:21 +02:00
Patrik Oldsberg
4cdac4624e
backend-common: port BitbucketUrlReader
2020-10-03 11:55:21 +02:00
Patrik Oldsberg
683181837b
catalog-backend: move over remaining to-be UrlReaders
2020-10-03 11:55:21 +02:00
Patrik Oldsberg
41d55e8d76
backend-common: refactor UrlReaders and factories to be centered around predicates
2020-10-03 11:55:20 +02:00
Patrik Oldsberg
0fbe965b43
backend-common: add UrlReaderPredicateMux
2020-10-03 11:55:20 +02:00
Patrik Oldsberg
44c8816db5
backend-common: add UrlReaders for constructing a reader from config
2020-10-03 11:55:20 +02:00
Patrik Oldsberg
b461b367d7
backend-common: port GithubUrlReader
2020-10-03 11:55:19 +02:00
Patrik Oldsberg
8a3e63e590
catalog-backend: move GithubReaderProcessor to backend-common readers
2020-10-03 11:55:19 +02:00
Patrik Oldsberg
1473523c88
backend-common: add UrlReaderHostMux
2020-10-03 11:55:18 +02:00
Patrik Oldsberg
bb553ed284
backend-common: add UrlReader interface
2020-10-03 11:55:18 +02:00
Joel Low
3f2ec3c080
Let the Backend manage creating databases
2020-10-01 13:21:44 +08:00
Joel Low
a9276c78c1
Remove role creation logic
2020-10-01 10:39:37 +08:00
Joel Low
b28c98a597
Create separate roles and auto-create plugin databases
...
This would create a role per plugin (with a predictable pattern) before
creating a database owned by that role. This removes the need to
manually provision databases and users.
2020-09-30 18:24:20 +08:00
Patrik Oldsberg
a211b681ad
backend-common: use localhost to fall back to IPv4 if IPv6 isn't available
2020-09-25 16:17:12 +02:00
Patrik Oldsberg
6e7b881f64
Merge pull request #2600 from spotify/rugvip/disco
...
backend: add service discovery interface and implement for single host deployments
2020-09-25 13:32:36 +02:00
Fredrik Adelöw
ad90193d2a
fix(backend): make csp configurable to unbreak app-backend served apps not being able to fetch
2020-09-25 12:20:21 +02:00
Patrik Oldsberg
b0565777e9
backend-common: add initial discovery API and simple single host implementation
2020-09-25 10:12:49 +02:00
Patrik Oldsberg
b5e6051959
Merge pull request #2577 from spotify/blam/new-release
...
Release v0.1.1-alpha.23
2020-09-23 18:22:40 +02:00
Patrik Oldsberg
9c07690d6c
backend-common: default config env to development
2020-09-23 17:49:10 +02:00
blam
6c55d38348
v0.1.1-alpha.23
2020-09-23 16:40:49 +02:00
Raghunandan
72235dd51e
v0.1.1-alpha.22
2020-09-18 15:14:38 +02:00
Raghunandan
259205727e
v0.1.1-alpha.21
2020-09-18 15:13:47 +02:00