Skip to content

Test Cases added, Upgrades done for Formio, Camunda and Redash versions and Dashboard Configuration Page added for Insights

Compare
Choose a tag to compare
@abhilash-aot abhilash-aot released this 18 Jan 06:52
· 1970 commits to master since this release
18a77a7

Added

forms-flow-bpm

  • Added test cases and code coverage.

Upgrade notes:

New environment variables DATA_BUFFER_SIZE, IDENTITY_PROVIDER_MAX_RESULT_SIZE.

forms-flow-web

  • Admin page to map insights dashboards to keycloak groups.
  • Added test cases and code coverage, check out the details here.

Upgrade notes:

New environment variables FORMIO_JWT_SECRET. It's highly recommended to change this environment variable for existing installations.

forms-flow-api

  • Added pagination, sorting and filtering for Application Page.
  • Added new APIs which acts as a gateway for calling forms-flow-analytics APIs.
  • Added new API for modifying group details in Keycloak with the help of Keycloak admin APIs.
  • Add application status list API.
  • Added unit test cases and new script for CI operations.

Upgrade notes:

New environment variables KEYCLOAK_ADMIN_USERNAME, KEYCLOAK_ADMIN_PASSWORD, INSIGHT_API_URL, INSIGHT_API_KEY.

forms-flow-analytics

  • Added Dashboard authorisation at Redash dashboard level.

forms-flow-forms

  • Added indexes in Submission collection for applicationId, process_pid.

Upgrade notes:

New environment variables FORMIO_JWT_SECRET. It's highly recommended to change this environment variable for existing installations.

forms-flow-idm

  • Added new groups and mapper for Dashboard authorisation at Redash dashboard level.

Upgrade notes:

  • To enable dashboards, and provide authorization the following changes are required in existing installations:
  1. Create a new main group called formsflow-analytics, and create as many subgroups as you want to associate various dashboards from Admin UI(in Designer)
  2. Create a new mapper under forms-flow-web client in Keycloak, by following below steps:
* Name = dashboard-mapper
* Mapper Type = User Attribute
* User Attribute = dashboards
* Token Claim Name = dashboards
* Add to ID Token = ON
* Add to access token = ON
* Add to userinfo = ON
* Multivalued = ON
* Aggregate attribute values = ON
* Click Save
  1. Corresponding to each user, add the dashboard-groups you want to enable for dashboard authorization.
    This will give users permission to as many dashboards which the group have been enabled with from Admin.

Fixed

forms-flow-api

  • Fixed application metrics showing incorrect results by changing date to filtered based on timezone.

forms-flow-bpm

  • Improved token creation logic using Oauth2RestTemplate.
  • Code cleanup and optimization.

forms-flow-web

  • Fixed total task count shown on the task LHS side and updated only after refreshing the page.
  • Tasklist API updated.

Modified

forms-flow-web

Upgrade notes:

Removed environment variables INSIGHT_API_URL, INSIGHT_API_KEY

Solution Component Upgrades

forms-flow-bpm

  • Camunda upgrade from 7.13.0 to 7.15.0.
  • Upgraded springboot from 2.4.2 to 2.4.8
  • Upgraded spring-security-oauth2 from 2.4.2 to 2.4.8

Upgrade notes:

After v4.0.4 version upgrade, Run the migrations with upgrade file.

forms-flow-analytics

  • Upgraded redash library to version from 9.0.0-beta to 10.1.0

Upgrade notes:

After v4.0.4 version upgrade, run the following command first to run the necessary migrations with the command:

docker-compose -f docker-compose-linux.yml run --rm server manage db upgrade
docker-compose -f docker-compose-linux.yml up --force-recreate --build

In case you want to downgrade to the v9.0-beta of forms-flow-analytics component after formsflow.ai version upgrade.
To update the migrations and rebuild formsflow.ai. Use the below commands which was used in setup.
Also note that we are not supporting downgrade to any version below Redash v9.0(which has be used from formsflow.ai v4.0 onwards).

forms-flow-forms

  • Formio upgrade from 2.0.0-rc.34 to 2.3.0.

Known Issues

  • In case you are facing mongodb connection refused error for forms-flow-forms, downgrade to the next lowest mongo stable version
  • Consoles related to http://localhost:3001/current Api Failing. The console messages can be ignored. Please refer to Issue-#106 for more details.