Tekelija.SmartLocator
Provides SmartLocator service usage for message bus clients
Configuration
Module config
{
"SmartLocator": {
"Uri": null,
"Username": null,
"Password": null,
"CheckInterval": 5,
"Database": "sqlite",
"ConnectionString": "Datasource=./app.db;Cache=shared;"
}
}
Name | Type | Default | Description |
---|---|---|---|
Uri | string | null | smart locator service uri |
Username | string | null | smart locator username |
Password | string | null | smart locator password |
CheckInterval | int | 5 | check interval in minutes(probably) |
Database | string | null | database type (mssql, sqlite, mysql) |
ConnectionString | string | null | choosen database type connection string |
Connection string examples:
Database: "mssql"
- mssql connection string, ie.Server=.\sqlexpress;initial catalog=tekelija-smartlocator;Integrated Security=SSPI;encrypted=false;
Database: "sqlite"
- sqlite connection string, ie.DataSource=./app.db;Cache=Shared
Database: "mysql"
- mysql connection string, ie.Server=localhost;Database=tekelija-smartlocator;Uid=<user>;Pwd=<pass>;
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 |