strolch/li.strolch.service
Robert von Burg bea39845e0 [New] Added ConfirmationPolicy.doConfirmation(Action)
This is then called in the ExecuteActivityCommand class after calling the ExecutionPolicy, so that the correct confirmation method is called depending on the new state of the action
2020-10-16 11:51:21 +02:00
..
src [New] Added ConfirmationPolicy.doConfirmation(Action) 2020-10-16 11:51:21 +02: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 [Major] Refactored planning, added to planning of action before execution 2020-02-14 16:26:22 +01: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;