Edit Page

Calendar configuration

The Calendar Service handles polling work calendar definitions and generating work calendar entries in the graph and time series databases.

logging

Logs the configuration to the console.

AttributesDescription
typeSpecifies the logging configuration type: json, multi, or console.
(Default: console)
LevelConfigures the level of logging: Trace, Debug, Info, Warn, Error, Fatal, and Panic.
(Default: Trace)

NATS

Message broker that drives Rhize’s event-based architecture.

AttributesDescription
SERVER_URLThe URL of the NATS server.
(Default: nats://system:system@localhost:4222)

OIDC

Configurations for Keycloak authentication and connection with OpenID Connect.

AttributesDescription
serverUrlThe URL of the OpenID Connect server.
(Default: http://localhost:8090)
realmIdentifies the authentication domain for which the authentication request is being made.
client_idThe unique identifier assigned to the client application by the OIDC server.
client_secretUsed to authenticate the client when making confidential requests.
usernameThe username credentials of the user who is attempting to authenticate with the OIDC server.
passwordThe password credentials of the user who is attempting to authenticate with the OIDC server.

OpenTelemetry

AttributesDescription
serverUrlThe URL of the OpenTelemetry server.
(Default: localhost:4317)
samplingRateThe sampling rate for traces.
(Default: 1)

libreDataStoreGraphQL

AttributeDescription
GRAPHQL_URLThe URL of the GraphQL endpoint to use for interacting with Rhize services.
(Default: http://localhost:8080/graphql)

GraphQLSubscriber

AttributeDescription
GRAPHQL_URLThe URL of the GraphQL endpoint for the GraphQLSubscriber.
(Default: http://localhost:4000/)

RESTAPI

AttributeDescription
PORTThe port number for RestAPI connection.
(Default: 8080)

Calendar

Specific configuration options for the calendar service.

AttributeDescription
QueryIntervalMinutesHow often to poll the work calendar definitions
(Default: 10)

QUERY

Query options specific to the calendar service

AttributeDescription
hierarchyScopeRecursionDepthHow deep to recurse through the hierarchy scope hierarchy
(Default: 3)
equipmentRecursionDepthHow deep to recurse through the equipment hierarchy
(Default: 3)

Influx3

InfluxDB3 server options

AttributeDescription
DatabaseThe name of the database to connect to
(Default: Libre_calendar-service)
HostThe host of the Influx3 database
(Default: http://localhost:8096)
OrganizationThe Influx3 Organization (Influx3 Cloud)
(Default: Libre)
TokenPrefixThe prefix used in the authorization token (Token for Influx 3 cloud, Bearer for Influx3 Edge)
(Default: Token)
TokenThe authorization token to attach to any Influx3 requests

Postgres

Postgres server options

AttributeDescription
HostThe hostname of the Postgres database
(Default: localhost)
PortThose port of the Postgres database
(Default: 5432)
UserThe Postgres user name
(Default: postgres)
PasswordThe Postgres instance password
(Default: postgres)
DatabaseThe database name for the Postgres instance
(Default: Libre)

Database

Which database instance to use, either Postgres or Influx3
(Default: Influx3)