Skip to content
Snippets Groups Projects
Commit 3e5e363f authored by dcoutadeur dcoutadeur's avatar dcoutadeur dcoutadeur
Browse files

Merge branch '72-notification-storage' into 'master'

set notification storage to postgresql (#72)

Closes #72

See merge request fusioniam/fusioniam!29
parents 6cda204d bebe58b7
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,15 @@
columns:
- "id varchar(64) not null primary key"
- "a_session jsonb"
- name: notifications
columns:
- "date timestamp NOT NULL"
- "uid varchar(255) NOT NULL"
- "ref varchar(255) NOT NULL"
- "cond varchar(255) DEFAULT NULL"
- "xml bytea NOT NULL"
- "done timestamp DEFAULT NULL"
- "PRIMARY KEY (date, uid,ref)"
- name: Create PG Indices
......
......@@ -3,6 +3,7 @@ persistentStorage: 'Apache::Session::Browseable::PgJSON'
samlStorage: 'Apache::Session::Browseable::PgJSON'
casStorage: 'Apache::Session::Browseable::PgJSON'
oidcStorage: 'Apache::Session::Browseable::PgJSON'
notificationStorage: 'DBI'
globalStorageOptions:
DataSource: 'DBI:Pg:database={{ lemonldap2_pgdb }};host={{ lemonldap2_pghost }};port={{ lemonldap2_pgport }}'
......@@ -39,3 +40,10 @@ casStorageOptions:
Password: '{{ lemonldap2_pgpassword }}'
Commit: 1
notificationStorageOptions:
dbiChain: 'DBI:Pg:database={{ lemonldap2_pgdb }};host={{ lemonldap2_pghost }};port={{ lemonldap2_pgport }}'
dbiTable: 'notifications'
dbiUser: '{{ lemonldap2_pguser }}'
dbiPassword: '{{ lemonldap2_pgpassword }}'
type: 'CDBI'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment