Service name

Tekelija-SGW

Description

Should listen for some sms messages and send some sms messages

Configuration

SGW config

{
  "SGW": {
    "database": null,
    "connectionString": null,
    "remoteAddress": null,
    "localAddress": null,
    "replyToAddress": null,
    "filterBinaryAMLMessages": false,
    "applicationIdentity": null,
    "applicationPresentation": null
  }
}

Params

Setting Default value Notes
database string database - “mssql”, “sqlite” or “mysql”, see connection strings section below
connectionString string database connection string, default “./tekelija-sgw.db”
remoteAddress string remote service url
localAddress string address of local service, sent as “from” field when sending message
filterBinaryAMLMessages boolean do we want to filter binary aml messages
applicationIdentity string some value used to fill some fields when sending sms messages
applicationPresentation string some value used to fill some fields when sending sms messages

Connection strings #{connection-strings}

  1. Database: "mssql" - mssql connection string, ie. Server=.\sqlexpress;initial catalog=tekelija-ecall.demo;Integrated Security=SSPI;
  2. Database: "sqlite" - sqlite connection string, ie. DataSource=<path>/app.db;Cache=Shared
  3. Database: "mysql" - mysql connection string, ie. Server=localhost;Database=tekelija-ecall.demo;Uid=<user>;Pwd=<pass>;

Message bus config

{
  "MessageBus": {
    "Url": null,
    "Endpoint": null
  }
}

Params

Setting Description Notes
url string, null rabbitmq url (rabbitmq://host:port) or null (use loopback message bus)
endpoint string, null rabbitmq endpoint to listen at

Example

{
  "MessageBus": {
    "Url": "rabbitmq://localhost",
    "Endpoint": "ecall-tekelija"
  }
}

Authorization config

{
  "AuthServer": {
    "Issuer": "https://authenticatomatic.urszr.si:22000",
    "ClientId": null,
    "ClientSecret": null,
    "Audience": null
  }
}
Name Type Default Description
Issuer string null OAuth server url
ClientId string null Authorization app id
ClientSecret string null Authorization app secret
Audience string[] null Array of audiences (scope resources) to be used in token validation