-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathnhais-env-example.yaml
40 lines (36 loc) · 2.23 KB
/
nhais-env-example.yaml
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
37
38
39
40
# It is not required to provide additional variables for local development. application.yml include sensible defaults
# for using the adaptor with the dependencies provided by docker-compose.yml
# All values in this file must be a string. Numerical or boolean (true/false) values must be enclosed in single or double quotes.
# NHAIS connection settings
NHAIS_OUTBOUND_SERVER_PORT: "80"
NHAIS_AMQP_BROKERS: localhost:5672
NHAIS_MESH_OUTBOUND_QUEUE_NAME: 'nhais_mesh_outbound'
NHAIS_MONGO_DATABASE_NAME: nhais
NHAIS_MONGO_URI: mongodb://localhost:27017
NHAIS_MONGO_TTL: PT60S #ISO-8601 duration default P30D - 30 days
NHAIS_COSMOS_DB_ENABLED: "false" #false - use Mongo DB implementation, true - use Cosmos Db implementation
NHAIS_MONGO_TRUST_STORE_PATH: "s3://nhsd-aws-jks/rds-truststore.jks" #S3 path to AWS trust store
NHAIS_MONGO_TRUST_STORE_PASSWORD: "changeit" #password for the custom trust store
#MESH client settings
NHAIS_MESH_MAILBOX_ID: #Your MESH mailbox id (sender) can be found in your OpenTest welcome e-mail
NHAIS_MESH_MAILBOX_PASSWORD: #The password for MAILBOX_ID can be found in your OpenTest welcome e-mail
NHAIS_MESH_SHARED_KEY: #Shared key used to generate auth token. Provided by MESH operator (OpenTest, PTL, etc)
NHAIS_MESH_HOST: https://localhost:8829/messageexchange/ #fake-mesh as default, for OpenTest use: https://msg.opentest.hscic.gov.uk/messageexchange/
NHAIS_MESH_CERT_VALIDATION: "false"
NHAIS_MESH_ENDPOINT_CERT: | #The content of the endpoint certificate
-----BEGIN CERTIFICATE-----
#keep 2 spaces indent for whole certificate
-----END CERTIFICATE-----
NHAIS_MESH_ENDPOINT_PRIVATE_KEY: | #The content of the endpoint private key
-----BEGIN RSA PRIVATE KEY-----
#keep 2 spaces indent for whole key
-----END RSA PRIVATE KEY-----
NHAIS_MESH_SUB_CA: | #The content of the Sub CA certificate
-----BEGIN CERTIFICATE-----
#keep 2 spaces indent for whole certificate
-----END CERTIFICATE-----
NHAIS_MESH_RECIPIENT_MAILBOX_ID_MAPPINGS: #recipient codes translation in format cypher=mesh_recipient_code (one per line)
NHAIS_MESH_POLLING_CYCLE_MINIMUM_INTERVAL_IN_SECONDS: "300"
NHAIS_MESH_CLIENT_WAKEUP_INTERVAL_IN_MILLISECONDS: "60000"
#scheduler settings
NHAIS_SCHEDULER_ENABLED: "true" #should be false for unit/integration testing