-
Notifications
You must be signed in to change notification settings - Fork 1
/
tkw-x-forwarding.properties
246 lines (213 loc) · 12.2 KB
/
tkw-x-forwarding.properties
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
# TKS properties file
# Damian Murphy
# 20110418
#
#
# A name for this particular configuration, used for logging
#
#tks.configname FHIR_GPCONNECT forwarding all ==> https://orange.testlab.nhs.uk:443
#tks.configname FHIR_GPCONNECT forwarding all ==> https://messagingportal.opentest.hscic.gov.uk:19192
tks.configname FHIR_GPCONNECT forwarding all ==> 127.0.0.1:5000
# dcokerised
#tks.configname FHIR_GPCONNECT forwarding all ==> gpconnect-api:19191
#
# The name of the user or organisation, used for logging (should be set by the installer)
#
tks.username __USER_NAME_AND_ORGANISATION_NOT_SET__
#
# Do we listen for or send over TLS ?
#
tks.receivetls No
tks.sendtls No
#
# If we do, these govern the keystore and CA locations and access
# nb if run from a docker image these values are overridden by envt variables in the docker-compose yml file
#
#tks.tls.truststore TKW_ROOT/config/GP_CONNECT/certs/tls.jks
#tks.tls.truststore TKW_ROOT/config/GP_CONNECT/certs/opentest.jks
tks.tls.truststore TKW_ROOT/config/GP_CONNECT/certs/orange_2022.jks
tks.tls.trustpassword password
tks.tls.keystore TKW_ROOT/config/GP_CONNECT/certs/tls.jks
#tks.tls.keystore TKW_ROOT/config/GP_CONNECT/certs/vpn-client-1003.opentest.hscic.gov.uk.jks
tks.tls.keystorepassword password
#
# Mutual Authentication
#
tks.tls.servermutualauthentication No
#tks.tls.ma.filterclientsubjectdn
tks.tls.clientmutualauthentication No
#
# Directory for the loggers
#
tks.logdir TKW_ROOT/config/GP_CONNECT/logs
tks.savedmessages TKW_ROOT/config/GP_CONNECT/simulator_saved_messages
#
# Definitions needed by the simulator service itself. Listen on 0.0.0.0 for all available
# interfaces. There is no "default" port, so one must be set.
#
# Acceptable transports are "HttpTransport", "MllpTransport"
tks.transportlist HttpTransport
#
tks.HttpTransport.listenaddr 0.0.0.0
tks.HttpTransport.listenport 4854
# The adminlistenport and adminlistenaddr is used by the TKW MTH console for dynamic reconfiguration of the simulator ruleset
# and provision of the getepoch service
tks.HttpTransport.adminlistenaddr localhost
tks.HttpTransport.adminlistenport 8001
#
# The Http interceptor requires a forwarder address and port for passing requests on
tks.httpinterceptor.forwardingaddress 127.0.0.1
tks.httpinterceptor.forwardingport 5000
# dockerised
#tks.httpinterceptor.forwardingaddress gpconnect-api
#tks.httpinterceptor.forwardingport 19191
# public orange
#tks.httpinterceptor.forwardingaddress orange.testlab.nhs.uk
#tks.httpinterceptor.forwardingport 443
# opentest
#tks.httpinterceptor.forwardingaddress messagingportal.opentest.hscic.gov.uk
#tks.httpinterceptor.forwardingport 19192
# xpath to text defining subfolder name for validation logs
tks.httpinterceptor.spine.discriminator /soap:Envelope/soap:Header/hl7:communicationFunctionSnd/hl7:device/hl7:id/@extension
tks.httpinterceptor.itk.discriminator replace(replace(/SOAP:Envelope/SOAP:Header/wsa:From/wsa:Address/text(),'http://',''),':','_')
#
# Http Response Headers
#
#tks.httpinterceptor.httpheader.testheader function:uk.nhs.digital.mait.tkwx.tk.internalservices.testautomation.PropertySetFunctions.getJWT TKW_ROOT/config/GP_CONNECT/jwt_template_no_smartcard.txt practitionerid 9651986204 secret
# added for Answer cumumber tests NB Pragma was required to be Camel case for some reason
tks.httpinterceptor.httpheader.Cache-Control no-store
tks.httpinterceptor.httpheader.expires 0
tks.httpinterceptor.httpheader.Pragma no-cache
tks.rules.configuration.file TKW_ROOT/config/GP_CONNECT/simulator_config/test_tks_rule_forwarder_config.txt
#
# rest rules engine
#
tks.rules.engineclass uk.nhs.digital.mait.tkwx.tk.internalservices.rules.RESTfulRulesEngine
#
# Properties for using the transmitter functions
# Context paths/port names avaialable for use in addition to any set within this configuration are BADURI, syncsoap, asyncsoap
# (These are set within the TKW tool)
#
# Acceptable transmitter modes are "Http" "Mllp" "Spine"
tks.transmitter.mode Http
tks.transmitter.source TKW_ROOT/config/GP_CONNECT/transmitter_source
tks.sender.destination TKW_ROOT/config/GP_CONNECT/transmitter_sent_messages
tks.transmitter.timetolive 600
tks.transmitter.nosend No
#tks.transmitter.send.url http://127.0.0.1:4848/fhir/metadata
#tks.transmitter.send.url http://127.0.0.1:4848/fhir/Patient/$gpc.getcarerecord
# 1.2 structured
tks.transmitter.send.url http://127.0.0.1:4848/fhir/Patient/$gpc.getstructuredrecord
#tks.transmitter.send.url http://ec2-54-194-109-184.eu-west-1.compute.amazonaws.com/fhir/Patient/$gpc.getcarerecord
tks.transmitter.replyto.url http://127.0.0.1:4001
tks.transmitter.faultto.url http://127.0.0.1:4001
# added scf 26/6/17 (defaults to POST)
#tks.transmitter.http.method GET
tks.transmitter.httpheader.Ssp-From 200000000359
tks.transmitter.httpheader.Ssp-To 200000000359
tks.transmitter.httpheader.Ssp-TraceID function:uk.nhs.digital.mait.tkwx.tk.internalservices.testautomation.PropertySetFunctions.getuuid
#tks.transmitter.httpheader.Ssp-InteractionID urn:nhs:names:services:gpconnect:fhir:rest:read:metadata
#tks.transmitter.httpheader.Ssp-InteractionID urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord
# 1.2 structured
tks.transmitter.httpheader.Ssp-InteractionID urn:nhs:names:services:gpconnect:fhir:operation:gpc.getstructuredrecord-1
tks.transmitter.httpheader.Authorization function:uk.nhs.digital.mait.tkwx.tk.internalservices.testautomation.PropertySetFunctions.getJWT TKW_ROOT/contrib/TKWAutotestManager/tstp/WebServices/host/GP_CONNECT/jwt_templates/gp_connect_jwt_template.fhir3.txt practitionerid 9690938118 secret true
#tks.transmitter.httpheader.Content-type application/xml+fhir
#tks.transmitter.httpheader.Content-type application/json+fhir
# 1.2 structured
tks.transmitter.httpheader.Content-type application/fhir+json
#tks.transmitter.httpheader.Accept application/xml+fhir
#tks.transmitter.httpheader.Accept application/json+fhir
# 1.2 structured
tks.transmitter.httpheader.Accept application/fhir+xml
#
# Validator config file, directories and check classes
#
tks.validator.config TKW_ROOT/config/GP_CONNECT/validator_config/validator.conf
tks.validator.config.FGM TKW_ROOT/config/GP_CONNECT/validator_config/SPINE_FGM_validator.conf
tks.validator.config.generic_fhir TKW_ROOT/config/GP_CONNECT/validator_config/validator.conf
# path to properties file containing mappings from soap action to validation config name eg pds etc
tks.validator.validationmap TKW_ROOT/config/GP_CONNECT/validationmap.properties
tks.validator.source TKW_ROOT/config/GP_CONNECT/messages_for_validation
tks.validator.reports TKW_ROOT/config/GP_CONNECT/validator_reports
#
# Additional Port names for the request handlers (These are in addition to those loaded from the internal properties)
#
#tks.HttpTransport.namelist qrequest qreqitk phsyncsoap phasyncsoap
tks.HttpTransport.namelist getepoch resetstatevariables getuuid
#
# unix epoch service
tks.HttpTransport.getepoch.class uk.nhs.digital.mait.tkwx.tk.handlers.HTTPGetUnixTimestampHandler
tks.HttpTransport.getepoch.path /getepoch
# reset simulator session state
tks.HttpTransport.resetstatevariables.class uk.nhs.digital.mait.tkwx.tk.handlers.HTTPPutResetSimulatorStateVariablesHandler
tks.HttpTransport.resetstatevariables.path /resetsimulatorstatevariables
# get uuid
tks.HttpTransport.getuuid.class uk.nhs.digital.mait.tkwx.tk.handlers.HTTPGetUUIDHandler
tks.HttpTransport.getuuid.path /getuuid
#
# And then the definitions needed by each of these
#
tks.HttpTransport.BADURI.class uk.nhs.digital.mait.tkwx.httpinterceptor.interceptor.HttpInterceptHandler
tks.HttpTransport.BADURI.path /
#
# added scf 29/8/17
tks.validator.check.matches uk.nhs.digital.mait.tkwx.tk.internalservices.validation.TextAssertionValidator
tks.validator.check.notmatches uk.nhs.digital.mait.tkwx.tk.internalservices.validation.TextAssertionValidator
tks.validator.check.equals uk.nhs.digital.mait.tkwx.tk.internalservices.validation.TextAssertionValidator
tks.validator.check.notequals uk.nhs.digital.mait.tkwx.tk.internalservices.validation.TextAssertionValidator
tks.validator.check.contains uk.nhs.digital.mait.tkwx.tk.internalservices.validation.TextAssertionValidator
tks.validator.check.notcontains uk.nhs.digital.mait.tkwx.tk.internalservices.validation.TextAssertionValidator
# added scf 20/1/20 after tkw-x
#
# Validator check type handler mapping
#
tks.validator.check.schema uk.nhs.digital.mait.tkwx.tk.internalservices.validation.SchemaValidator
tks.validator.check.xslt uk.nhs.digital.mait.tkwx.tk.internalservices.validation.XsltValidator
tks.validator.check.cdaconformanceschema uk.nhs.digital.mait.tkwx.tk.internalservices.validation.CDAConformanceSchemaValidator
tks.validator.check.xpathexists uk.nhs.digital.mait.tkwx.tk.internalservices.validation.XpathAssertionValidator
tks.validator.check.xpathnotexists uk.nhs.digital.mait.tkwx.tk.internalservices.validation.XpathAssertionValidator
tks.validator.check.xpathequals uk.nhs.digital.mait.tkwx.tk.internalservices.validation.XpathAssertionValidator
tks.validator.check.xpathnotequals uk.nhs.digital.mait.tkwx.tk.internalservices.validation.XpathAssertionValidator
tks.validator.check.xpathcontains uk.nhs.digital.mait.tkwx.tk.internalservices.validation.XpathAssertionValidator
tks.validator.check.xpathnotcontains uk.nhs.digital.mait.tkwx.tk.internalservices.validation.XpathAssertionValidator
tks.validator.check.signature uk.nhs.digital.mait.tkwx.tk.internalservices.validation.SignatureVerification
tks.validator.check.xpathmatches uk.nhs.digital.mait.tkwx.tk.internalservices.validation.XpathAssertionValidator
tks.validator.check.xpathnotmatches uk.nhs.digital.mait.tkwx.tk.internalservices.validation.XpathAssertionValidator
tks.validator.check.xpathin uk.nhs.digital.mait.tkwx.tk.internalservices.validation.XpathAssertionValidator
tks.validator.check.sub uk.nhs.digital.mait.tkwx.tk.internalservices.validation.SubroutineCheck
tks.validator.check.cdatemplatelist uk.nhs.digital.mait.tkwx.tk.internalservices.validation.CDATemplateLister
tks.validator.check.cdarenderer uk.nhs.digital.mait.tkwx.tk.internalservices.validation.CDARenderer
# added scf 1/5/18 hapifhir validation NB This is STU3 whereas 0.5 is actually DSTU2
tks.validator.hapifhirvalidator.assetdir.0 TKW_ROOT/config/GP_CONNECT/validator_config/fhir_assets/STU3-FHIR-Assets/CodeSystems
tks.validator.hapifhirvalidator.assetdir.1 TKW_ROOT/config/GP_CONNECT/validator_config/fhir_assets/STU3-FHIR-Assets/ConceptMaps
tks.validator.hapifhirvalidator.assetdir.2 TKW_ROOT/config/GP_CONNECT/validator_config/fhir_assets/STU3-FHIR-Assets/StructureDefinitions
tks.validator.hapifhirvalidator.assetdir.3 TKW_ROOT/config/GP_CONNECT/validator_config/fhir_assets/STU3-FHIR-Assets/ValueSets
tks.validator.hapifhirvalidator.assetdir.4 TKW_ROOT/config/GP_CONNECT/validator_config/fhir_assets/CareConnect-profiles-STU3-draftprofilesrelease1/codesystems
tks.validator.hapifhirvalidator.assetdir.5 TKW_ROOT/config/GP_CONNECT/validator_config/fhir_assets/CareConnect-profiles-STU3-draftprofilesrelease1/conceptmaps
tks.validator.hapifhirvalidator.assetdir.6 TKW_ROOT/config/GP_CONNECT/validator_config/fhir_assets/CareConnect-profiles-STU3-draftprofilesrelease1/constraints
tks.validator.hapifhirvalidator.assetdir.7 TKW_ROOT/config/GP_CONNECT/validator_config/fhir_assets/CareConnect-profiles-STU3-draftprofilesrelease1/valuesets
tks.validator.hapifhirvalidator.schemavalidate Y
tks.validator.hapifhirvalidator.schematronvalidate N
tks.validator.hapifhirvalidator.noterminologychecks N
tks.validator.hapifhirvalidator.minimumreportlevel INFORMATION
tks.validator.check.hapifhirvalidator uk.nhs.digital.mait.tkwx.tk.internalservices.validation.hapifhir.HapiFhirValidator
# added by TKWPropertiesEditor on Fri Mar 18 16:51:21 GMT 2016
tks.transmitter.send.chunksize 0
#tks.transmitter.send.chunksize 150
tks.synchronousreply.delay 20
# added scf
tks.httpinterceptor.inhibit.validation Y
#
# added scf C means dump to console string can be concat of Y (log) and or C
tks.debug.simulatordebugmode C
# default is now 15000
#tks.HttpTransport.pipeline.persistperiod 15000
tks.HttpTransport.suppress.close Y
# 0.5 Html
#tks.fhir.version Dstu2
# 1.2 structured
tks.fhir.version Dstu3
# stop json converter from breaking on large field values in the JWT
tks.jsonconverter.JsonXmlConverter.attributemaxlength 256
# Properties file last updated by TKWPropertiesEditor on Wed May 09 17:27:54 BST 2018
#END