Smile CDR v2023.02.PRE
On this page:
   39.78    Initial User Seeding 39.80    JSON Web KeySet (JWKS)   

39.79JavaScript Execution Environment

 

The JavaScript Execution Environment configuration category includes the following configurable options:

  • Debug Enabled

  • Debug Host Address

  • Path

  • Port

  • Secure

  • Suspend

39.79.1Property: Debug Enabled

 
Property Name Debug Enabled
Property Key
Property Type BOOLEAN
Description Enable remote JavaScript debugging
Applies to Modules
  • CDA Exchange
  • Channel Import
  • ETL Importer
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (DSTU2)
  • FHIR REST Endpoint (R3)
  • FHIR REST Endpoint (R4)
  • FHIR Storage (DSTU2 Relational)
  • FHIR Storage (MongoDB)
  • FHIR Storage (R3 Relational)
  • FHIR Storage (R4 Relational)
  • HL7 v2.x Listening Endpoint
  • HL7 v2.x Sending Endpoint
  • Hybrid Providers REST Endpoint
  • LDAP Inbound Security
  • Local Inbound Security
  • MDM
  • SAML Inbound Security
  • SMART Inbound Security
  • SMART Outbound Security
  • Scripted Inbound Security
Default Value false
Example Property
module.[MODULE_ID].config.debug.debug_enabled = false

39.79.2Property: Debug Host Address

 
Property Name Debug Host Address
Property Key
Property Type STRING
Description The hostname of the server running Smile CDR
Applies to Modules
  • CDA Exchange
  • Channel Import
  • ETL Importer
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (DSTU2)
  • FHIR REST Endpoint (R3)
  • FHIR REST Endpoint (R4)
  • FHIR Storage (DSTU2 Relational)
  • FHIR Storage (MongoDB)
  • FHIR Storage (R3 Relational)
  • FHIR Storage (R4 Relational)
  • HL7 v2.x Listening Endpoint
  • HL7 v2.x Sending Endpoint
  • Hybrid Providers REST Endpoint
  • LDAP Inbound Security
  • Local Inbound Security
  • MDM
  • SAML Inbound Security
  • SMART Inbound Security
  • SMART Outbound Security
  • Scripted Inbound Security
Default Value localhost
Example Property
module.[MODULE_ID].config.debug.host_address = localhost

39.79.3Property: Path

 
Property Name Path
Property Key
Property Type STRING
Description The url path the JavaScript Execution Environment debugger will expect connections on. This url path should be hard to guess to prevent unexpected connections. If blank, the server will generate and log a new random UUID every time the module is restarted.
Applies to Modules
  • CDA Exchange
  • Channel Import
  • ETL Importer
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (DSTU2)
  • FHIR REST Endpoint (R3)
  • FHIR REST Endpoint (R4)
  • FHIR Storage (DSTU2 Relational)
  • FHIR Storage (MongoDB)
  • FHIR Storage (R3 Relational)
  • FHIR Storage (R4 Relational)
  • HL7 v2.x Listening Endpoint
  • HL7 v2.x Sending Endpoint
  • Hybrid Providers REST Endpoint
  • LDAP Inbound Security
  • Local Inbound Security
  • MDM
  • SAML Inbound Security
  • SMART Inbound Security
  • SMART Outbound Security
  • Scripted Inbound Security
Default Value (no default)
Example Property
module.[MODULE_ID].config.debug.path = some-unguessable-random-path

39.79.4Property: Port

 
Property Name Port
Property Key
Property Type POSITIVE_INTEGER
Description The port the JavaScript Execution Environment debugger will accept debug connections on
Applies to Modules
  • CDA Exchange
  • Channel Import
  • ETL Importer
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (DSTU2)
  • FHIR REST Endpoint (R3)
  • FHIR REST Endpoint (R4)
  • FHIR Storage (DSTU2 Relational)
  • FHIR Storage (MongoDB)
  • FHIR Storage (R3 Relational)
  • FHIR Storage (R4 Relational)
  • HL7 v2.x Listening Endpoint
  • HL7 v2.x Sending Endpoint
  • Hybrid Providers REST Endpoint
  • LDAP Inbound Security
  • Local Inbound Security
  • MDM
  • SAML Inbound Security
  • SMART Inbound Security
  • SMART Outbound Security
  • Scripted Inbound Security
Default Value 9930
Example Property
module.[MODULE_ID].config.debug.port = 9930

39.79.5Property: Secure

 
Property Name Secure
Property Key
Property Type BOOLEAN
Description Whether the debug connection url should use TLS.
Applies to Modules
  • CDA Exchange
  • Channel Import
  • ETL Importer
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (DSTU2)
  • FHIR REST Endpoint (R3)
  • FHIR REST Endpoint (R4)
  • FHIR Storage (DSTU2 Relational)
  • FHIR Storage (MongoDB)
  • FHIR Storage (R3 Relational)
  • FHIR Storage (R4 Relational)
  • HL7 v2.x Listening Endpoint
  • HL7 v2.x Sending Endpoint
  • Hybrid Providers REST Endpoint
  • LDAP Inbound Security
  • Local Inbound Security
  • MDM
  • SAML Inbound Security
  • SMART Inbound Security
  • SMART Outbound Security
  • Scripted Inbound Security
Default Value false
Example Property
module.[MODULE_ID].config.debug.secure = false

39.79.6Property: Suspend

 
Property Name Suspend
Property Key
Property Type BOOLEAN
Description Whether Smile CDR should pause when restarting the module to wait for the debugger to attach.
Applies to Modules
  • CDA Exchange
  • Channel Import
  • ETL Importer
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (DSTU2)
  • FHIR REST Endpoint (R3)
  • FHIR REST Endpoint (R4)
  • FHIR Storage (DSTU2 Relational)
  • FHIR Storage (MongoDB)
  • FHIR Storage (R3 Relational)
  • FHIR Storage (R4 Relational)
  • HL7 v2.x Listening Endpoint
  • HL7 v2.x Sending Endpoint
  • Hybrid Providers REST Endpoint
  • LDAP Inbound Security
  • Local Inbound Security
  • MDM
  • SAML Inbound Security
  • SMART Inbound Security
  • SMART Outbound Security
  • Scripted Inbound Security
Default Value true
Example Property
module.[MODULE_ID].config.debug.suspend = true
   39.78    Initial User Seeding 39.80    JSON Web KeySet (JWKS)