Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrate text box

Table of contents

Table of Contents

Subpages

Children Display

The runtime can run in production and development mode. While using the development mode you can start a project via the development dashboard. While using production mode you can only use a shortcutcan start a project via a (user friendly) URL. After installation the runtime will contain some example projects. You can add projects by configuring a connection to Encore or add project exports to the Runtime.

Start a project via the development dashboard

The development plugintools component must be installed before you can use this dashboard. Once the plugin is installed navigate to http://HOSTNAME:PORT/Runtimeruntime/server/dev/vaadin/dashboard. The -dashboard/ the following dashboard should appear:

Image Removed

To start a project

  • Select the project
  • Select the branche
  • Select the flow
  • Select the language
  • Select the UI (default is MVC)
  • Select the Theme (default is forms)
  • Press start

A new tab or window should appear with the selected projects

Info

You can save your selection by pressing the "save as favorite" button. A link will appear in the favorites widget 

After installation the runtime will contain two example projects. You can configure a connection to Studio or export your projects to load and test your development projects

Start a project via a shortcut

Shortcuts can be used for running a project with specific settings with a user friendly URL. A shortcut usually refers to a project export that is available at runtime, it can also refer to a project in Studio. The following chapters will describe how you can export your project manually and create a shortcut. Projects can also be exported via the publisher

Create a shortcut

There are multiple ways to configure a shortcut.

Development dashboard

Info

Please note this option is only available in the Java runtime

You can configure a shortcut via the settings menu of the dashboard

...

Image Added

The development dashboard has many more features which you can read in the following article: Using the development dashboard

Reloading

When making a change in Blueriq Encore, the runtime does not automatically reload the project. It still has the old version in its cache, and will start the old version if you do not manually trigger the reload. The runtime dashboard offers different options for reloading your application. These work as follows.

Reload Project

This option marks the current project in the cache as old, and it will be reloaded the next time when it is needed. When pressing the Reload Project button it is directly needed, as the exposed flows and validations are needed. Therefore, the project is reloaded directly.

Reload Projects

All projects in all projects are marked as old in the cache. They are not directly reloaded yet, but will do so when needed. The currently selected project is directly reloaded (see Reload Project), but the others are not. When reaching such a project in a different way, for example by the Service call type: AQ_StartProject or Container type: AQ_Dashboard_ProjectWidget, it is loaded into cache while the project is executed. This may lead to a slow response time during the first execution of your project. This is only a something you might experience in development environments.

Reload Branch

The reload branch lets you choose a branch and marks all projects in that branch as old. If you have the same branch name in different repositories, it marks each project in each of these branches as old. The same behavior as for the Reload Project is observed. When creating a new feature branch in Blueriq Encore, the branch name only is added to the drop-down when a reload has taken place. This can be a Reload Projects, but could also be a Reload Project if the selected project is in the new branch.

Info

The dropdown filters in a case insensitive manner. When naming two branches with the same characters but in different cases, then only one of them is shown in the dropdown, and reloaded when pressed. It is therefore advisable to give each branch a different name.

Start a project via a URL

Runtime

In production mode you can start a project via the following URL http://YOURHOSTNAME:PORTNUMBER/server/start?project=YOURPROJECT&flow=FLOWNAME

The following table describes all required and optional parameters that you can use to start a project.

ParameterRequiredDescription
projectYes

the name of the project: SOURCE-PROJECTNAME for example: export-dcm or studio-dcm.

flowYesthe name of the exposed flow that is started.
versionNoCombination of version and branch: for example 0.0-Trunk. The version number is deprecated. By default this number is always 0.0. If no version number is entered, the runtime will automatically select a release using a numerical sorting algorithm.
languageCodeNoIf no language code is selected, the default language will be started.
uiNoThe UI that should be used to render the page model. By default the Angular styling is selected.
themeNoThe Theme that should be used to render the page model. By default the material theme is selected.

User-friendly URL

To create more user friendly URLs you can also define a shortcut (Create a shortcut in the Runtime).

Java aquima.properties

You can configure a shortcut via the aquima.properties file. This file is located in your Aquima home directory. The properties contain the name of the shortcut

Code Block
### Shortcuts - Shortcuts can be started via the url: http://YOURSERVER:PORT/ROOT/server/start/SHOTCUTNAME ###
production.shortcutsOnly=false
shortcut.ChildSupport.flow=Start
shortcut.ChildSupport.languageCode=en-GB
shortcut.ChildSupport.project=export-Kinderbijslag
shortcut.ChildSupport.theme=forms
shortcut.ChildSupport.ui=mvc
shortcut.ChildSupport.version=0.0-Wetwijziging
Info

Please not if you leave aut the shortcut.NAME.version property the runtime will automatically select the latest version

 

.NET web.xml

You can configure a shortcut via the web.xml. This file is located in your wwwroot directory.

Code Block
 

 

Export a project

You can export a project to an XML file in Studio. 

  • Open a project in Studio
  • Select the File tab
  • Select export
  • Check the Encrypt box if the XML must be encrypted
  • Save the project export

 

Java aquima.properties

Exported projects can be placed in the exports directory in the Aquima home folder. You can also configure the location of the exports directory via the aquima.properties file.

Code Block
 ### Exports ###
exportsR8.description=Studio Exports
exportsR8.prefix=export
exportsR8.folder=exports
exportsR8.files=

 

.NET web.xml

Exported projects can be placed in the exports directory located in the Aquima home folder. You can configure the exports location via the web.xml. This file is located in your wwwroot directory.

Code Block
 <!-- DataSources -->
    <dataSources>
      <dataSource name="xml" type="xml" prefix="xml">
        <parameters>
          <parameter name="folder" value="aquima:Exports\"/>
        </parameters>
      </dataSource>