Tekelija.Pemea

Module should implement “pemea” service facade.

Configuration

Module config

{
  "Pemea": {
    "PsapUri": "https://psap.demo.dw.int.ghale.help/psap",
    "PsapApiKey": "<api-key>",
    "MongoDb": "mongodb://<user>:<pass>@localhost:27017/awesome-pemea",
    "DefaultRegionId": 1,
    "PodZirConnectionString": "server=.\\sqlexpress;initial catalog=podzir;integrated security=true;encrypt=false;",
    "PublicUri": "http://webhooks.pemea.kockicica.org",
    "Management": {
      "Uri": "https://ghale-console.demo.dw.int.ghale.help",
      "Username": "admin@example.com",
      "Password": "test"
    }
  }
}
Name Type Default Description
PsapUri string null Pemea service uri
PsapApiKey string null Key to access pemea services
MongoDb string null Mongodb storage database url
DefaultRegionId int 0 If no region id could be extracted from message / podzir, this will be returned as region id
PodZirConnectionString string null PodZir mssql database connection string
PublicUri string null Public uri (address/port) of Tekelija.Pemea service (used to receive webhook notifications)
Management ManagementConfig null Configuration for tne management endpoint

MongoDb database urls: mongodb://<user>:<password>@<host>:<port>/<database-name>

Management endpoint config

Name Type Default Description
Uri string null Management endpoint base uri
Username string null Management endpoint username
Password string null Management endpoint password

Message bus config

{
  "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 null RabbitMQ endpoint
MessageRepositoryUri string host name Origin of the call, may have some sense for global call data collection setup

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