Commit Graph

87 Commits

Author SHA1 Message Date
Jovan Krunić
2259da317a fix: error thrown on consecutive connector executions
Fixes #73
2021-04-27 13:02:05 +02:00
Jovan Krunić
18359fdab3 build: update test related packages
- Replace deprecated mocha-typescript with @testdeck/mocha
- Update other test related packages to their latest versions

See !41
2021-04-27 13:02:05 +02:00
Jovan Krunić
948ec1848f build: suppress logger outputs for unit tests
See !41
2021-04-27 13:02:04 +02:00
Jovan Krunić
5eefa3c2e1 test: add missing storage and notification tests
Closes #31
2021-04-27 13:02:04 +02:00
Jovan Krunić
fe7dd09d7e refactor: parameterize configureApp function (inject db list)
Reason: easier testing (mocking) and better readability

Note: did additional refactoring
2021-04-27 13:02:03 +02:00
Jovan Krunić
f3b86f0f0d refactor: add destroy method (for testing) for backend transport
Additionally fix minor issues and refactor the class
2021-04-27 13:02:02 +02:00
Jovan Krunić
dd6ea1c6f3 refactor: move repetitive code into a new method in mailQueue 2021-04-27 13:01:45 +02:00
Jovan Krunić
af305aa196 refactor: remove unneeded code (see elasticsearch constructor) 2021-04-27 13:01:45 +02:00
Jovan Krunić
7a9f3eaca4 fix: invalid monthly cron execution time
Note: did additional refactoring
2021-04-27 13:01:44 +02:00
Jovan Krunić
80e62496f0 fix: use specific time from filter if defined 2021-04-27 13:01:44 +02:00
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