Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This component is used to view and start projects that have been published to this an environment database by the Publisher. The published projects are shown in the dashboard of the development pluginDevelopment tools component. When the server is started, the Publisher clients creates a datasource for the database, containing the loads the published projects from the configured environment database. A task runs in the background that checks periodically (by default every 60 seconds) whether projects are updated, added, or deleted. When there is a change, the datasource is reloaded, so that the new projects can be startedthe published projects are reloaded.

Requirements

The "publisher-client" and the "externaldatasources" or "jndidatasources" profile must be enabled.

...

Code Block
languagepowershell
#blueriq.publisher-client.environmentName: The name of the environment (required). This shouldMUST be the same name as the name of the databaseenvironment in the Publisher configuration.
#blueriq.datasource.publisher-client.url=The URL on which to locate the database to connect to.
#blueriq.datasource.publisher-client.username=The username to use to connect to the database.
#blueriq.datasource.publisher-client.password=The password to use to connect to the database.
#blueriq.datasource.publisher-client.driverClassName=The vendor specific database driver classname.
#blueriq.hibernate.publisher-client.dialect=The hibernate dialect that should be used. This should correspond to the driverClassName you specified above/

#EXAMPLE
blueriq.publisher-client.environmentName=Dev
blueriq.datasource.publisher-client.url=jdbc:oracle:thin:@DB_HOST:1521:xe
blueriq.datasource.publisher-client.username=TheKey
blueriq.datasource.publisher-client.password=TheSecret
blueriq.datasource.publisher-client.driverClassName=oracle.jdbc.driver.OracleDriver
blueriq.hibernate.publisher-client.hbm2ddl.auto=none
blueriq.hibernate.publisher-client.dialect=org.hibernate.dialect.Oracle10gDialectvalidate

 

Supported hbm2ddl.auto values:

...

Code Block
languagepowershell
#EXAMPLE
blueriq.publisher-client.environmentName=Dev
blueriq.hibernate.publisher-client.hbm2ddl.auto=none
blueriq.hibernate.publisher-client.dialect=org.hibernate.dialect.SQLServer2012Dialectvalidate
blueriq.datasource.publisher-client.jndiName=java:/comp/env/jdbc/publisher


Database

This component uses the database created reads from one Publisher environment database, this database is managed by the Publisher.

Usage

Java

The publisher client will add a "Publisher Database" section to the "Start Flow" widget in the development dashboard. Here all the published projects for the configured environment will be listed. These projects can be used like any other project (eg. from Studio or from an Export).