Commit Graph

127 Commits

Author SHA1 Message Date
Jovan Krunić
8dbb3ca19a refactor: provide 'onlyOnType' facet field only if defined 2021-04-27 13:01:44 +02:00
Jovan Krunić
7d4c27ec26 test: set total coverage requirements to 85% 2021-04-27 13:01:43 +02:00
Jovan Krunić
3a7cc8d7c1 refactor: use express method to check request content type 2021-04-27 13:01:43 +02:00
Jovan Krunić
60b689f28c refactor: remove unused code 2021-04-27 13:01:43 +02:00
Jovan Krunić
d3955b3cdd test: add tests for routes 2021-04-27 13:01:42 +02:00
Jovan Krunić
751693bebc build: update @openstapps dependencies 2021-04-27 13:01:42 +02:00
Jovan Krunić
81cfd0986f refactor: remove unused express variable (port) 2021-04-27 13:01:41 +02:00
Wieland Schöbl
9f4350eea7 refactor: swap out jsonschema package for json-schema 2021-04-27 13:01:41 +02:00
Jovan Krunić
006bbebe60 feat: log registration and removal of plugins
Closes #71
2021-04-27 13:01:41 +02:00
Jovan Krunić
5ff16c1005 refactor: avoid duplicate/unneeded code (search for objects by UID)
Related to #70
2021-04-27 13:01:40 +02:00
Jovan Krunić
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 Nagel
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 Killinger
ce06e735be feat: utilize api-cli for e2e integration test 2021-04-27 13:01:39 +02:00
Rainer Killinger
bbbe4d5f1f refactor: update dependencies 2021-04-27 13:01:38 +02:00
Rainer Killinger
21710ee492 docs: remove outdated info 2021-04-27 13:01:38 +02:00
Michel Jonathan Schmitz
6483221b62 feat: move up and enable cors 2021-04-27 13:01:37 +02:00
Rainer Killinger
c61c37dc27 ci: cleanup and add image tag of core version 2021-04-27 13:01:37 +02:00
Frank Nagel
23eb1e2263 feat: Add start-debug npm run script
which requires ts-node/register
2021-04-27 13:01:37 +02:00
Frank Nagel
4cfb560954 fix: Don't force Mapping generation with 'npm start' 2021-04-27 13:01:36 +02:00
Wieland Schöbl
4a64f26e43 feat: add routes doc generation to npm documentation script 2021-04-27 13:01:36 +02:00
Rainer Killinger
c2728b2a1d refactor: move template/aggregation generation 2021-04-27 13:01:36 +02:00
Wieland Schöbl
b629d058eb feat: allow for searching illegal elasticsearch characters 2021-04-27 13:01:35 +02:00
Wieland Schöbl
1bad092185 feat: use new Elasticsearch package 2021-04-27 13:01:35 +02:00
Sebastian Lange
54301ae8fb feat: add default app settings and menus 2021-04-27 13:01:35 +02:00
Wieland Schöbl
ba2c6f655c feat: make backend work with automatically generated aggregations 2021-04-27 13:01:34 +02:00
Rainer Killinger
496e6c5bd0 fix: esacpe mappin template filename 2021-04-27 13:01:34 +02:00
Wieland Schöbl
4ac6987813 refactor: move mappingIgnoredTags into config file 2021-04-27 13:01:33 +02:00
Wieland Schöbl
13938ecf21 feat: boost academic terms dynamically 2021-04-27 13:01:33 +02:00
Wieland Schöbl
afd324fc6a build: change .gitkeep in templates folder to .gitignore 2021-04-27 13:01:33 +02:00
Wieland Schöbl
d917627d58 fix: make facets work again 2021-04-27 13:01:32 +02:00
Wieland Schöbl
5d6d4b53f0 feat: move EXTERNAL_REQUEST_TIMEOUT to config file 2021-04-27 13:01:32 +02:00
Wieland Schöbl
8eab6b8531 feat: add support for generated elasticsearch mappings
Fixes #38
2021-04-27 13:01:31 +02:00
Jovan Krunić
7e04fad28b ci: remove docker tags where they are not needed 2021-04-27 13:01:31 +02:00
Jovan Krunić
b98418f9e1 ci: run tests in tests job 2021-04-27 13:01:31 +02:00
Jovan Krunić
3ea2c3b98d refactor: throw an error when removing a non-existing plugin
Related to #2
2021-04-27 13:01:30 +02:00
Jovan Krunić
992a0a6f2c build: update @openstapps/core version
Adjust code accordingly

Related to #2
2021-04-27 13:01:30 +02:00
Jovan Krunić
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ć
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ć
9adc0b88d7 docs: add missing inline docs for elasticsearch related interfaces
Closes #41
2021-04-27 13:01:29 +02:00
Michel Jonathan Schmitz
90187ce936 refactor: remove redundant condition 2021-04-27 13:01:29 +02:00
Michel Jonathan Schmitz
0cbf9b26a9 fix: apply correct types and tslint rules 2021-04-27 13:01:28 +02:00
Michel Jonathan Schmitz
9db091c26f build: update dependencies 2021-04-27 13:01:28 +02:00
Wieland Schöbl
fc4f16ac44 ci: add automatic publishing of documentation 2021-04-27 13:01:27 +02:00
Jovan Krunić
684d52c917 build: remove unused dependencies 2021-04-27 13:01:27 +02:00
Jovan Krunić
f4a699e0e5 refactor: use generics for createRoute (no-any)
Related to #39
2021-04-27 13:01:27 +02:00
Jovan Krunić
8b457c9911 refactor: adjust code after updated dependencies
Closes #39
2021-04-27 13:01:26 +02:00
Jovan Krunić
42c7350c36 build: update dependencies
Related to #39
2021-04-27 13:01:26 +02:00
Michel Jonathan Schmitz
dd4be92f90 feat: add boosting to context based search 2021-04-27 13:01:26 +02:00