P6Core 5.17.0

Release date: Thursday 28th June 2018

Fix the instance’s startup

[JIRA ticket 1328]

Fix a fatal error in the Charges service which causes the instance to stop on startup when it was trying to connect to the Amalto private blockchain.

Fix the File System adapter

[JIRA ticket 1342]

Fix a Null Pointer Exception when using the service URI transformer name.

Documentation

A new page Getting an access token has been written to explain how to get an authorization token to use the Platform 6 REST API.

The section Groovy DSL has been moved up in the folder hierarchy of the documentation. You can find it now at the root of the section User guide.

A new section API Bus has been added to present the Platform 6 Bus API provided by some services.

A new guide has been written to help the IEs during migration.

Groovy DSL

script

[JIRA ticket 1361]

Fix the method control.call.

service

A new DSL service and new methods have been provided to list and perform request/response exchanges with deployed Platform 6 services. Read the documentation for more information.

table

A new method table.upsertRecords has been created to upsert records in a table. Read the documentation for more information.

ethereumrpc

A new DSL ethereumrpc providing a helper layer over the Ethereum blockchain API: web3j

See ethereumrpc DSL documentation for more information.

message

Three new Platform 6 route methods allowing routing rule evaluation via Camel route definitions provided by the new Routes service:

  • ItemPK p6projectAndRouteMI(String xml, String endpointUrl, String... ids)
  • ItemPK p6projectAndRoute(String xml, String dataModelName, ItemPK pk, String endpointUrl)
  • ItemPK p6route(ItemPK pk, String endpointUrl)

See Message DSL documentation for more information.

Creation of new services

Routes

A new service named Routes has been created. This service is a tool to manage the lifecycle of Camel routing rules via startup when deployed in production, or under the control of a developer working on a new solution.

It can be used as a replacement for the following b2box5 legacy features:

  • Routing rules
  • Scheduler adapter
  • File system monitor
  • Custom receive servlets

Please read the following chapter Routes guide for more information.

Routing orders

Another service named Routing orders has been created. It will replace the current web app on the old UI which will be removed in the following releases.

So please start as of now to use the new version of the Routing orders on the Portal and if you have any query, contact the R&D team.

You’ll find the user guide of the service here.

Small improvements

Messages

[JIRA ticket 1340]

Display a more user-friendly error message on the messages search.

Tables

Add the table’s id in the name of the file containing the exported records of the table: table_{TABLE_ID}_data_export.xlsx.

Improvement of the services UI

For all the services

Fixed:

  • Encode a service item identifier in each API call.
  • When the user closes the form with unsaved changes, it should display a warning pop-up.
  • Update the form such that the form’s data are not overwritten when the user switches the instance.

Charges service

v2.0.1

Added:

  • Add a label No service selected in the service target select.

Data Models service

v2.0.1

Fixed:

  • When one double-clicks on a data line, it should open the form and not the view.
  • Display a message in the view of the data model if there is no schema.

Changed:

  • Increase the width of the edit form fields.

Scripts service

v2.0.0

Added:

  • Add a keyboard shortcut (Shift + Cmd + s) for the Save all feature.

Fixed:

  • After an auto-save, the cursor should not move to its old position.

Changed:

  • Use the new UI template.

Tables service

v2.0.1

Changed:

  • Change the colour of the button Save into orange.