Commit Graph
71 Commits
Author SHA1 Message Date
Jovan KrunićandRainer Killinger 81cfd0986f refactor: remove unused express variable (port) 2021-04-27 13:01:41 +02:00
Wieland SchöblandRainer Killinger 9f4350eea7 refactor: swap out jsonschema package for json-schema 2021-04-27 13:01:41 +02:00
Jovan KrunićandRainer Killinger 006bbebe60 feat: log registration and removal of plugins
Closes #71
2021-04-27 13:01:41 +02:00
Jovan KrunićandRainer Killinger 5ff16c1005 refactor: avoid duplicate/unneeded code (search for objects by UID)
Related to #70
2021-04-27 13:01:40 +02:00
Jovan KrunićandRainer Killinger e165837a15 fix: properly check if an object exists before update
Closes #70
2021-04-27 13:01:40 +02:00
Rainer Killinger 0c43be2dbe refactor: omit useless facets in response 2021-04-27 13:01:40 +02:00
Rainer Killinger 24a91229f2 fix: enhance default search query generation 2021-04-27 13:01:39 +02:00
Frank NagelandRainer Killinger 677be5173d ci: Change 'npm audit' failure behaviour
The audit fails only if the results include a vulnerability with a level of
at least 'high' in scheduled pipelines.
2021-04-27 13:01:39 +02:00
Rainer KillingerandRainer Killinger ce06e735be feat: utilize api-cli for e2e integration test 2021-04-27 13:01:39 +02:00
Rainer KillingerandRainer Killinger bbbe4d5f1f refactor: update dependencies 2021-04-27 13:01:38 +02:00
Rainer KillingerandRainer Killinger 21710ee492 docs: remove outdated info 2021-04-27 13:01:38 +02:00
Michel Jonathan SchmitzandRainer Killinger 6483221b62 feat: move up and enable cors 2021-04-27 13:01:37 +02:00
Rainer KillingerandRainer Killinger c61c37dc27 ci: cleanup and add image tag of core version 2021-04-27 13:01:37 +02:00
Frank NagelandRainer Killinger 23eb1e2263 feat: Add start-debug npm run script
which requires ts-node/register
2021-04-27 13:01:37 +02:00
Frank NagelandRainer Killinger 4cfb560954 fix: Don't force Mapping generation with 'npm start' 2021-04-27 13:01:36 +02:00
Wieland SchöblandRainer Killinger 4a64f26e43 feat: add routes doc generation to npm documentation script 2021-04-27 13:01:36 +02:00
Rainer KillingerandRainer Killinger c2728b2a1d refactor: move template/aggregation generation 2021-04-27 13:01:36 +02:00
Wieland SchöblandRainer Killinger b629d058eb feat: allow for searching illegal elasticsearch characters 2021-04-27 13:01:35 +02:00
Wieland SchöblandRainer Killinger 1bad092185 feat: use new Elasticsearch package 2021-04-27 13:01:35 +02:00
Sebastian LangeandRainer Killinger 54301ae8fb feat: add default app settings and menus 2021-04-27 13:01:35 +02:00
Wieland SchöblandRainer Killinger ba2c6f655c feat: make backend work with automatically generated aggregations 2021-04-27 13:01:34 +02:00
Rainer KillingerandRainer Killinger 496e6c5bd0 fix: esacpe mappin template filename 2021-04-27 13:01:34 +02:00
Wieland SchöblandRainer Killinger 4ac6987813 refactor: move mappingIgnoredTags into config file 2021-04-27 13:01:33 +02:00
Wieland SchöblandRainer Killinger 13938ecf21 feat: boost academic terms dynamically 2021-04-27 13:01:33 +02:00
Wieland SchöblandRainer Killinger afd324fc6a build: change .gitkeep in templates folder to .gitignore 2021-04-27 13:01:33 +02:00
Wieland SchöblandRainer Killinger d917627d58 fix: make facets work again 2021-04-27 13:01:32 +02:00
Wieland SchöblandRainer Killinger 5d6d4b53f0 feat: move EXTERNAL_REQUEST_TIMEOUT to config file 2021-04-27 13:01:32 +02:00
Wieland SchöblandRainer Killinger 8eab6b8531 feat: add support for generated elasticsearch mappings
Fixes #38
2021-04-27 13:01:31 +02:00
Jovan KrunićandRainer Killinger 7e04fad28b ci: remove docker tags where they are not needed 2021-04-27 13:01:31 +02:00
Jovan KrunićandRainer Killinger b98418f9e1 ci: run tests in tests job 2021-04-27 13:01:31 +02:00
Jovan KrunićandRainer Killinger 3ea2c3b98d refactor: throw an error when removing a non-existing plugin
Related to #2
2021-04-27 13:01:30 +02:00
Jovan KrunićandRainer Killinger 992a0a6f2c build: update @openstapps/core version
Adjust code accordingly

Related to #2
2021-04-27 13:01:30 +02:00
Jovan KrunićandRainer Killinger 3d51ccfac2 feat: add functionality to register plugins via http
Also:

- Add functionality for serving the responses from plugins
- Add tests for related methods and routes

Closes #2, #37
2021-04-27 13:01:30 +02:00
Jovan KrunićandRainer Killinger 59ea7a5ba6 refactor: avoid automatic execution of app.ts
Move the execution of configureApp to CLI file

Related to #2
2021-04-27 13:01:29 +02:00
Jovan KrunićandRainer Killinger 9adc0b88d7 docs: add missing inline docs for elasticsearch related interfaces
Closes #41
2021-04-27 13:01:29 +02:00
Michel Jonathan SchmitzandRainer Killinger 90187ce936 refactor: remove redundant condition 2021-04-27 13:01:29 +02:00
Michel Jonathan SchmitzandRainer Killinger 0cbf9b26a9 fix: apply correct types and tslint rules 2021-04-27 13:01:28 +02:00
Michel Jonathan SchmitzandRainer Killinger 9db091c26f build: update dependencies 2021-04-27 13:01:28 +02:00
Wieland SchöblandRainer Killinger fc4f16ac44 ci: add automatic publishing of documentation 2021-04-27 13:01:27 +02:00
Jovan KrunićandRainer Killinger 684d52c917 build: remove unused dependencies 2021-04-27 13:01:27 +02:00
Jovan KrunićandRainer Killinger f4a699e0e5 refactor: use generics for createRoute (no-any)
Related to #39
2021-04-27 13:01:27 +02:00
Jovan KrunićandRainer Killinger 8b457c9911 refactor: adjust code after updated dependencies
Closes #39
2021-04-27 13:01:26 +02:00
Jovan KrunićandRainer Killinger 42c7350c36 build: update dependencies
Related to #39
2021-04-27 13:01:26 +02:00
Michel Jonathan SchmitzandRainer Killinger dd4be92f90 feat: add boosting to context based search 2021-04-27 13:01:26 +02:00
Wieland SchöblandRainer Killinger 67c814443c ci: allow audit to fail 2021-04-27 13:01:25 +02:00
Wieland SchöblandRainer Killinger fa2c9d7a88 fix: make index route work correctly 2021-04-27 13:01:25 +02:00
Wieland SchöblandRainer Killinger 24e27c1d9e fix: return validation error instead of internal server error
previously there was just a validation error inside an internal server error, which made no sense
2021-04-27 13:01:25 +02:00
Wieland SchöblandRainer Killinger 59e4009c5d refactor: use export global variables instead of express 2021-04-27 13:01:24 +02:00
Wieland SchöblandRainer Killinger 8c48552abf fix: replace isProductiveEnvironment with isTestEnvironment 2021-04-27 13:01:24 +02:00
Sebastian LangeandRainer Killinger 2f13010480 feat: adjust to changes of SCFacet in core v0.12.0
Closes #30
2021-04-27 13:01:24 +02:00