API Properties Configuration

API Properties Configuration

  • ol.common.cache.

Property

Type

Description

Property

Type

Description

enabled

boolean

Enable cache features.

  • ol.license.

Property

Type

Description

Property

Type

Description

key

String

License key.

  • ol.security.

Property

Type

Description

Property

Type

Description

ignoring

List<String>

List of ignored paths written in form of AntPatterns.

  • ol.security.db.

Property

Type

Description

Property

Type

Description

init-schema

boolean

Defines whether to initialize oauth_client_details table in the database.

clients

List

Defines a list of client details that should be added to the database if not exist.

  • ol.security.db.clients.

Property

Type

Description

Property

Type

Description

client-id

String

Oauth clientId value.

client-secret

String

Oauth client secret value.

scope

String

Client scope.

authorized-grant-types

String

Comma delimited list of grant types.

authorities

String

Authorization role.

access-token-validity

String

Time in seconds for which issued token is valid.

refresh-token-validity

String

Time in seconds for which issued refresh token is valid.

  • ol.debug.internal.

Property

Type

Description

Property

Type

Description

encoding

String

Set encoding when printing to log.

folder

String

Folder to put internal debug files.

type

enum{NONE,FOLDER,LOG}

Internal debug type.

  • ol.management.auth.

Property

Type

Description

Property

Type

Description

username

String

Username to access OpenLegacy management console.

password

String

The password to access OpenLegacy management console.

enabled

String

Indication if authentication is needed to access this application.

  • ol.session-pool.

 

 

 

 

 

 

config

Map<String, OLSessionPoolConfigurationProperties>

Session Pool configuration properties for this project.


Key: pool name, Value: pool configuration properties.

  • ol.session-pool.auto-cleanup.

Property

Type

Description

Property

Type

Description

enabled

boolean

Enables/disables session cleanup in OL session pool.

minimum-sessions

int

The cleanup mechanism will keep minimum sessions based on the value of this property.

idle-timeout

int

The maximum time that a session can be idle before being cleaned from the session pool.

  • ol.timeout.

Property

Type

Description

Property

Type

Description

backend

Map<BackendSolution, Long>

[BackendSolution] the key in the [Map] that represents the type of the SDK backend.

[Long] represent the default timeout for the same backend.

entity

Map<String, Long>

[String] the key in the [Map] that represents the fully qualified name of the entity.

[Long] the value that represents the time.

operation

Map<String, Long>

[String] the key in the [Map] that represent the fully qualified name of the operation.

[Long] the value that represent the time.

  • ol.tracing.

Property

Type

Description

Property

Type

Description

tracer-type

TracerType

Configures the type of [org.openlegacy.impl.tracing.tracer.Tracer] used for diagnosing the java methods latency.

  • ol.vertx.

Property

Type

Description

Property

Type

Description

disable-file-cp-resolving

boolean

Disables vertx local files caching.

  • ol.rpc.field.validations.project.test.

Property

Type

Description

Property

Type

Description

is-active-validations

boolean

Determines if validations on RPC fields are active.

is-active-boolean-validations

boolean

Determines if validations on boolean fields are active.

is-active-date-validations

boolean

Determines if validations on date fields are active.

is-active-numeric-validations

boolean

Determines if validations on numeric fields (Integer,Long,Float,BigDecimal etc) are active.

is-active-general-validations

boolean

Determines if general validations on fields are active.

is-active-string-validations

boolean

Determines if validations on text/String fields are active.

is-active-enum-validations

boolean

Determines if validations on Enum fields are active.

is-active-part-validations

boolean

Determines if validations on fields of type @RpcPart are active.