Commit Graph
30 Commits
Author SHA1 Message Date
Jovan KrunićandRainer Killinger 948ec1848f build: suppress logger outputs for unit tests
See !41
2021-04-27 13:02:04 +02:00
Jovan KrunićandRainer Killinger 5eefa3c2e1 test: add missing storage and notification tests
Closes #31
2021-04-27 13:02:04 +02:00
Jovan KrunićandRainer Killinger 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ćandRainer Killinger 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ćandRainer Killinger dd6ea1c6f3 refactor: move repetitive code into a new method in mailQueue 2021-04-27 13:01:45 +02:00
Jovan KrunićandRainer Killinger af305aa196 refactor: remove unneeded code (see elasticsearch constructor) 2021-04-27 13:01:45 +02:00
Jovan KrunićandRainer Killinger 7a9f3eaca4 fix: invalid monthly cron execution time
Note: did additional refactoring
2021-04-27 13:01:44 +02:00
Jovan KrunićandRainer Killinger 80e62496f0 fix: use specific time from filter if defined 2021-04-27 13:01:44 +02:00
Jovan KrunićandRainer Killinger 8dbb3ca19a refactor: provide 'onlyOnType' facet field only if defined 2021-04-27 13:01:44 +02:00
Jovan KrunićandRainer Killinger 7d4c27ec26 test: set total coverage requirements to 85% 2021-04-27 13:01:43 +02:00
Jovan KrunićandRainer Killinger 3a7cc8d7c1 refactor: use express method to check request content type 2021-04-27 13:01:43 +02:00
Jovan KrunićandRainer Killinger 60b689f28c refactor: remove unused code 2021-04-27 13:01:43 +02:00
Jovan KrunićandRainer Killinger d3955b3cdd test: add tests for routes 2021-04-27 13:01:42 +02:00
Jovan KrunićandRainer Killinger 751693bebc build: update @openstapps dependencies 2021-04-27 13:01:42 +02:00
Jovan KrunićandRainer Killinger 81cfd0986f refactor: remove unused express variable (port) 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
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
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
Jovan KrunićandRainer Killinger e17db521e2 fix: set config file before accessing it
Closes #27
2021-04-27 13:01:22 +02:00