← Back to plugin index

Device Usage Database Repository

Description
Persists and loads Device Usage data.
Type name
DeviceUsageRepository
Class
com.airlock.iam.common.application.configuration.device.DeviceUsageRepositoryConfig
May be used by
Properties
SQL Data Source (sqlDataSource)
Description
Database connection used to persist and load device usage data.
Attributes
Plugin-Link
Mandatory
Assignable plugins
Log Queries (logQueries)
Description

If enabled, all SQL queries executed on this repository will be written to the module's corresponding log file. This is only effective if the log level is set to at least INFO.

Warning: query values (including potentially sensitive data) will be logged as well.

Attributes
Boolean
Optional
Default value
false
Tenant ID (tenantId)
Description

Identifier added to the database records to distinguish between different tenants. Only logs that match the tenant ID specified here will be retrieved on query.

If left empty, 'no_tenant' is used as the effective value for tenant ID.

Attributes
String
Optional
Length <= 50
Validation RegEx: (?!no_tenant$).*
Example
customerA
Example
customerB
YAML Template (with default values)

type: DeviceUsageRepository
id: DeviceUsageRepository-xxxxxx
displayName: 
comment: 
properties:
  logQueries: false
  sqlDataSource:
  tenantId: