Tekelija.PLK

PLK api client for message bus

Configuration

Module config

{
  "Plk": {
    "Uri": "http://somelocation.com",
    "Repeats": 3,
    "WaitTIme": 2,
    "Timeout": 3
  }
}
Name Type Default Description
Uri string null XLAB service uri
Repeats int 3 how many times should PLK request be repeated
WaitTime int 1 wait time between repeated executions (in seconds)
Timeout int 0 PLK request timeout (in seconds)

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