Versions Compared

Key

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

Table of contents 

Table of Contents

Description

This component is used to view and start projects that have been published to this environment by the Publisher. The published projects are shown in the dashboard of the development plugin. When the server is started, the Publisher clients creates a datasource for the database, containing the published projects. 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 started.

...

In order to use this component, the publisher-client andeither externaldatasources or jndidatasources profile must be active. More information on how to configure the application using Spring Profiles can be found here : Application configuration with Spring Profiles.

 

Configuration

The application-publisher-client.properties contains the configuration of the database that the plugin connects to. When you have configured an environment for the Publisher, you can copy the database configuration for this environment.

...

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


Database

This component uses the database created 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 will be listed. These projects can be used like any other project (eg. from Studio or from an Export).