Stores metadata about different databases.
server settings in conf\application.properties
database connection settings in conf\connections-config.json
(examples in connections-config.json.template
)
To package project run in console mvn package
To run server from console use bin/metadata-server.sh
.
Available commands: start
, stop
, reload
Example: ./metadata-server.sh start
To run in your IDE set run parameters:
spring.config.location ./conf/
connections.config ./conf/connections-config.json
server.port
- port to connect to the server
RES_POOL_MIN_CONNECTIONS
- minimum amount of live connection to the resource pool
RES_POOL_MAX_CONNECTIONS
- maximum amount of live connection to the resource pool
RES_POOL_CONN_MAX_INACTIVITY_TIME
- time through which an unused connection will be deleted (in seconds)
RES_POOL_CONN_TTL
- max lifetime of active connection (in seconds)
CACHE_TTL
- interval of full metadata update (in seconds)
JSTREE_SEARCH_LIMIT
- the maximum number of elements to display when searching
PARALLEL_UPDATE_DB_COUNT
- the maximum number of simultaneously updated databases
REQUEST_FOR_EVERY_FILTER
- true: do request for every filter item when database cache updating. false - do only one request when updating. (Recommended false
only if you have many filters)
ICON_FOLDER_PATH=
- path to icons folder (it folder contains subfolder with resolution name 16,32,64 etc. In subfolder placed
png
icons. The name of the icon matches the name of the item type in the database table.png, column.png
.
If the icon for the type is not found, the field_image.png
icon will be displayed.)