P6 Core 6.0.0-beta-1

Release date: Friday, 6th of September 2019

Documentation can be found here.

This is a major release that introduces many breaking changes. It is highly recommended that you carefully read the migration guide.

Features

User API & DSL

A new user management API and DSL was created:

  • Get user information and update her profile or permissions.
  • Associate/dissociate users to/from an instance.
  • List all users of an instance or test the existence of a single user.

Tables DSL enriched

The Table DSL got a new upsert() function added.

Monitoring Camel routes & JMX

In order to replace the old JMX console that shipped with the old b2box 5 UI, Hawtio was included in P6. It comes with tons of features, most notably viewing your Camel routes in a graphical way. For more information, please refer to this page.

Improvements

Applications

The following services will be automatically restarted following application installation and un-installation (assuming the application contains service items deployed against each service):

  • Workflow Steps
  • Routes
  • Transactions

Therefore, you no longer need to explicitly restart services in the install/uninstall scripts of your applications.

Indexes created automatically on reference tables

This capability was lost when migrating away from adapters. It got restored in this release.

Routing order screen display accelerated

Displaying the routing order search screen used to be slow, not anymore!

Documentation

The database schema is documented here.

File submission reworked

File submission endpoints were restored but a full backward compatible transaction submit feature will be available in the next release.

P6 REST Camel routes

You can no longer define multiple P6 REST Camel routes that bind to the same endpoint.

Tables

Table data is deleted when you delete a table definition.

Technical Changes

Variables renamed in application.conf file

  • applicationid was renamed to instance.id.
  • All config keys that used to start with b2... were renamed to p6....

Remove old DSL bindings

All calls to the DSL should start with p6.. Migration is handled automatically by upgrade scripts.

Native Windows support removed

Platform 6 is meant to be used within Docker, hence old Windows support could safely be removed. Running Platform 6 on Windows should happen on top of Docker.

Autoload of data models removed

Most of the old data models are no longer used in Platform 6. The recommended

Dependencies updated

Most dependencies were updated and Swagger annotations reworked and optimized.

DSL implementations migrated to Java

In order to avoid type errors, all DSL implementations were rewritten in Java (fixing many undetected bugs along the way).

Bug Fixes

This release ports all bug fixes from the 5.24.X branch. And fixes the extra following bugs:

  • The update of a script library/resource doesn’t have an affect on the main script.
  • NullPointerException when installing an application that has no version specified.
  • Error when saving a route without a template, due to Freemarker.