Tekelija.Datapool

Datapool backend service

Configuration

Module config

{
  "Datapool": {
    "Database": null,
    "ConnectionString": null,
    "UseMongoTicketStore": false,
    "MongoDbUrl": null
  }
}
Name Type Default Description
Database string sqlite Database to use (sqlite, mysql, mssql)
ConnectionString string ‘datasource=./tekelija-datapool.db;cache=shared;’ Database connection string
UseMongoTicketStore bool false Use mongoDb ticket store instead of NHibernate based ticket store
MongoDbUrl string null MongoDB url (ie: mongodb://root:pass@localhost:27017/datapool)

Message bus config

Configure access to rabbitmq message service bus.

{
  "MessageBus": {
    "Url": "rabbitmq://localhost",
    "Username": null,
    "Password": null,
    "Endpoint": "<endpoint-name>",
    "MessageRepositoryUri": null
  }
}

Parameters:

Name Type Default Description
Url string null RabbitMQ url (rabbitmq://…)
Username string null RabbitMQ username
Password string null RabbitMQ user password
Endpoint string tekelija-datapool RabbitMQ endpoint
MessageRepositoryUri string host name Origin of the call, may have some sense for global call data collection setup

Authorization config

OpenId authentication configuration.

{
  "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

Minimal required configuration is Issuer