-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy pathgpii.pouchManager.config.base.json5
More file actions
36 lines (36 loc) · 1.44 KB
/
gpii.pouchManager.config.base.json5
File metadata and controls
36 lines (36 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/**
* This configuration acts as a base for `gpii.config.cloudBased.development.all.local`.
* It includes configs to instantiate:
* * A PouchDB express server as a storage for GPII Authorization Server
* * An express server to reset the PouchDB to its initial state
*
* Note that PouchDB is only used when GPII runs in the development mode. When GPII runs in the production mode, CouchDB is used instead.
*/
{
"type": "gpii.pouchManager.config.base",
"options": {
"gradeNames": "gpii.pouchManager",
"dbServerPort": 8058,
"resetServerPort": 8060,
"pouchConfig": {
"databases": {
"gpii": {
"data": [
"%gpii-universal/testData/dbData/clientCredentials.json",
"%gpii-universal/testData/dbData/gpiiAppInstallationClients.json",
"%gpii-universal/build/dbData/snapset/gpiiKeys.json",
"%gpii-universal/build/dbData/snapset/prefsSafes.json",
"%gpii-universal/testData/dbData/views.json"
]
}
}
},
"distributeOptions": {
"delayListeners": {
"target": "{that userListeners}.options.events.onListenersStart.events.pouchManager",
"record": "{pouchManager}.events.onReady"
}
}
},
"require": ["gpii-pouchdb", "pouchManager", "journal"]
}