This is the property to be used in the configuration file. Also this is the
name of the system property to override the configured value with (if not
specified otherwise) |
Some properties are only available for certain components inside inventory
that might or might not be present during the runtime |
This is the name of the environment variable to override the value |
|
|
hawkular.inventory.impl
|
always |
HAWKULAR_INVENTORY_IMPL
|
undefined |
The fully qualified class name of the org.hawkular.inventory.api.Inventory
interface implementation that is accessible on the runtime classpath.
If this property is not present, the first implementation available using Java
service loading mechanism is used. |
hawkular.inventory.transaction.retries
|
Inventory implementation inheriting from
org.hawkular.inventory.base.BaseInventory (this is true by default) |
HAWKULAR_INVENTORY_TRANSACTION_RETRIES
|
5 |
The base implementation assumes that the backend storage uses some kind of
optimistic locking for transaction handling. This property defines the number of
retries of transactions if they fail due to locking or concurrent access
situations. |
hawkular.inventory.tinkerpop.graph-provider-impl
|
Inventory implementation based on Tinkerpop3 API (the default) |
HAWKULAR_INVENTORY_TINKERPOP_GRAPH_PROVIDER_IMPL
|
undefined |
The fully qualified class name of an implementation of the
org.hawkular.inventory.impl.tinkerpop.spi.GraphProvider interface.
Tinkerpop is an API that is implemented by multiple graph databases. This
property can be used to override the default selection mechanism that is to use
the first implementation loaded using the Java services mechanism. Hawkular is
by default packaged with Sqlg. |
sql.jdbc.url (system property hawkular.inventory.sql.jdbc.url )
|
The connection string to the database to store inventory data to. |
HAWKULAR_INVENTORY_SQL_JDBC_URL
|
undefined |
The connection string to the database that will be used to store inventory data to.
If the connection string starts with jndi: , the remainder of the connection string is understood to be the object
name of a datasource accessible in the JNDI tree of the Hawkular server (e.g. the default
jndi:java:/jboss/datasources/HawkularInventoryDS_hsqldb ). Otherwise this can be a connection string to any database
supported by Sqlg. As of the time of writing, this is Postgresql, H2 and HSQLDB (e.g.
jdbc:postgresql://localhost/hawkular ). In the case of a "normal" JDBC connection, it will usually be necessary to
also provide the username and password. If the connection is obtained from JNDI there is no need to provide the
credentials. |
sql.jdbc.username (system property hawkular.inventory.sql.jdbc.username )
|
The user name to use when connecting using a normal JDBC connection. |
HAWKULAR_INVENTORY_SQL_JDBC_USERNAME
|
undefined |
The user name to use when connecting using a normal JDBC connection. |
sql.jdbc.password (system property hawkular.inventory.sql.jdbc.password )
|
The password to use when connecting using a normal JDBC connection. |
HAWKULAR_INVENTORY_SQL_JDBC_PASSWORD
|
undefined |
The password to use when connecting using a normal JDBC connection. |
hawkular.allowed-cors-origins
|
Comma separated list of addresses (including schema) allowed to interact with the inventory REST API from the browser. |
ALLOWED_CORS_ORIGINS
|
*
|
This configuration is shared with Hawkular Metrics and Hawkular Alerts and sets up the addresses allowed to
interact with the inventory from the browser in cross-origin manner. By default any address is allowed. |
hawkular.allowed-cors-access-control-allow-headers
|
Comma separated additional headers allowed to be passed in CORS requests from browser |
ALLOWED_CORS_ACCESS_CONTROL_ALLOW_HEADERS
|
undefined |
Again, this is shared with Hawkular Metrics and Hawkular Alerts and specifies additional headers (apart from the default
ones required for inventory to function properly) that can be passed to Hawkular Inventory in CORS requests. This is
an advanced configuration that you usually don’t have alter. |