strolch/li.strolch.service
Robert von Burg b29d4703b3 [Major] Major rewrite of Controller/Activity execution
Controller now never triggers execution on the ExecutionHandler, but calls itself as often as necessary to keep execution of the same Activity in the same thread run. This leads to a more predictable sequence of executing of actions.

Further it is now possible to override the Controller's instantiated, to hook into the trigger of further execution of an Activity.
2022-01-19 19:48:43 +01:00
..
src [Major] Major rewrite of Controller/Activity execution 2022-01-19 19:48:43 +01:00
.gitignore [Project] Updated .gitignore files 2020-01-08 09:18:37 +01:00
LICENSE moved everything to a subdirectory for repo merge 2014-09-16 08:53:28 +02:00
README.md [Project] Fixed db test user examples in README.md 2018-06-18 11:07:34 +02:00
pom.xml [Project] Allow generating PMD and SpotBugs reports 2021-09-29 10:04:05 +02:00

README.md

li.strolch.service

Service API for Strolch

Running tests

Start PostgreSQL console and create the users:

$ sudo -u postgres psql
$ postgres=# 
create user cacheduser with password 'test';
create database cacheduserdb;
GRANT ALL PRIVILEGES ON DATABASE cacheduserdb to cacheduser;
GRANT CONNECT ON DATABASE cacheduserdb TO cacheduser;

create user cacheduserauditsversioning with password 'test';
create database cacheduserauditsversioningdb;
GRANT ALL PRIVILEGES ON DATABASE cacheduserauditsversioningdb to cacheduserauditsversioning;
GRANT CONNECT ON DATABASE cacheduserauditsversioningdb TO cacheduserauditsversioning;

You can revoke the privileges with the following:

revoke ALL PRIVILEGES ON DATABASE cacheduserdb from cacheduser;
drop user cacheduser;
drop database cacheduserdb;

revoke ALL PRIVILEGES ON DATABASE transactionaluserdb from transactionaluser;
drop user transactionaluser;
drop database transactionaluserdb;

revoke ALL PRIVILEGES ON DATABASE cacheduserauditsversioningdb from cacheduserauditsversioning;
drop user cacheduserauditsversioning;
drop database cacheduserauditsversioningdb;