Changelog

For information on upgrading from previous versions, see the Atoti What-If Migration Notes

Note on issue keys

Each update is referenced with an issue key which is an internal reference. You can quote this to ActiveViam support if you have any questions about an item listed below.

4.0.0-AS6.1

2024-09-10

Summary

  • Java 21: Atoti What-If has been upgraded to Java 21.
  • Atoti Server 6.1.0: Atoti What-If has been upgraded to Atoti Server 6.1.0.
  • Removed IDistributedQueryResultsMerger methods: The IDistributedQueryResultsMerger interface has been updated to reflect the core database service API.
  • The DatabaseSimulationsRestService now matches Atoti Server REST services: The DatabaseSimulationsRestService is correctly added to the Atoti Server versions REST endpoint. The namespace and path have also been updated to match Atoti Server REST services.

Dependency versions

Component Version
Atoti Server 6.1.0
Common Dependencies BOM 2.1.0 (com.activeviam.apps)
Common Parent POM 2.1.0 (com.activeviam.apps)
Java JDK21

Fixed

Issue Key Details
BAST-1087 Upgraded Atoti What-If to Atoti Server 6.1.0 and Java 21.

3.0.4-AS6.0

2024-08-07

Summary

  • Fixed distribution authentication: Fixed issues with authentication when executing distributed simulations concurrently.

Dependency versions

Component Version
Atoti Server 6.0.11-sb3
Common Dependencies BOM 2.0.0 (com.activeviam.apps)
Common Parent POM 2.0.0 (com.activeviam.apps)
Java JDK17

Fixed

Issue Key Details
BAST-1110 Fixed issues with authentication when executing distributed simulations concurrently.

3.0.3-AS6.0

2024-07-19

Summary

  • Fixed persistence-related API methods: Fixed issues preventing the HibernateSimulationPersistenceManager from being used with the default simulation workflow and REST service.

Dependency versions

Component Version
Atoti Server 6.0.11-sb3
Common Dependencies BOM 2.0.0 (com.activeviam.apps)
Common Parent POM 2.0.0 (com.activeviam.apps)
Java JDK17

Fixed

Issue Key Details
BAST-1108 Fixed issues preventing the HibernateSimulationPersistenceManager from being used with the default simulation workflow and REST service.

3.0.2-AS6.0

2024-07-05

Summary

  • Fixed Hibernate Persistence Manager: Fixed issue in the HibernateSimulationPersistenceManager preventing simulation updates.

Dependency versions

Component Version
Atoti Server 6.0.11-sb3
Common Dependencies BOM 2.0.0 (com.activeviam.apps)
Common Parent POM 2.0.0 (com.activeviam.apps)
Java JDK17

Fixed

Issue Key Details
BAST-1104 Fixed issue in the HibernateSimulationPersistenceManager preventing simulation updates.

3.0.1-AS6.0

2024-03-19

Summary

  • Enabled parameter name retention: Enabled parameter name retention in the maven-compiler-plugin configuration to prevent Spring REST call failures.

Dependency versions

Component Version
Atoti Server 6.0.11-sb3
Common Dependencies BOM 2.0.0 (com.activeviam.apps)
Common Parent POM 2.0.0 (com.activeviam.apps)
Java JDK17

3.0.0-AS6.0

2024-02-06

Summary

  • Java 17: Atoti What-If has been upgraded to Java 17.
  • Spring Boot 3.2: Atoti What-If has been upgraded to Spring Boot 3.2.
  • Atoti Server 6.0.11-sb3: Atoti What-If has been upgraded to Atoti Server 6.0.11-sb3.
  • Refactored deletion workflow: The branch deletion workflow has been redesigned to better fit UI use-cases.
  • Removed deprecated /version endpoint: The previously deprecated REST endpoint has been removed.

Dependency versions

Component Version
Atoti Server 6.0.11-sb3
Common Dependencies BOM 2.0.0 (com.activeviam.apps)
Common Parent POM 2.0.0 (com.activeviam.apps)
Java JDK17

Version upgrades

The Atoti What-If has been upgraded to Java 17, Spring Boot 3.2 and Atoti Server 6.0.5. There is no backwards compatibility with older versions of Java and Spring Boot.

Deletion workflow changes

To fit UI use-cases better, the branch deletion workflow in Atoti What-If has been modified to allow for clearer status changes. The workflow now consists of:

  • A check for simulation deletion authorization - this can result in the UNAUTHORIZED status.
  • The deletion of all simulations contained in the branch - any failure will set the deletion as FAILED.
  • A check for branch deletion authorization (through a combination of branch permissions and simulation security management) - this can result in the UNAUTHORIZED status.
  • The deletion of the branch - any failure will set the deletion as FAILED.

2.1.2-AS6.0

2023-09-22

Summary

  • Common Parent POM and Common Dependencies BOM upgrade: The Common Parent POM and Common Dependencies BOM have been upgraded to 1.2.0.
  • Spring Boot upgrade: Spring Boot has been upgraded to 2.7.16.
  • Spring Security upgrade: Spring Security has been upgraded to 5.8.7.

Dependency versions

Component Version
Atoti Server 6.0.5
Common Dependencies BOM 1.2.0 (com.activeviam.apps)
Common Parent POM 1.2.0 (com.activeviam.apps)
Java JDK11

Changed

Issue Key Details
GENACL-1004 Upgraded to Common Parent POM 1.2.0 and Common Dependencies BOM 1.2.0 to upgrade to Spring Boot 2.7.16 and Spring Security 5.8.7.

2.1.1-AS6.0

2023-08-17

Summary

  • Distribution synchronization fix: The RestDistributedDatabaseService now waits for cluster notifications between all operations that trigger a cluster update.
  • Query pagination temporary fix: All JsonDatabaseQuery queries generated internally now set the page size to Integer.MAX_VALUE - 100000 to minimize the potential for missing rows due to pagination.

Dependency versions

Component Version
Atoti Server 6.0.5
Common Dependencies BOM 1.1.0 (com.activeviam.apps)
Common Parent POM 1.1.0 (com.activeviam.apps)
Java JDK11

Distribution synchronization fix

Distributed datastore operations could result in synchronization issues if cluster updates were in progress when the next operation was started. The RestDistributedDatabaseService now waits for cluster notifications whenever this is the case.

Query pagination temporary fix

The default query pagination sets a page size of 20 rows. Subsequent pages were ignored by the What-if library. As a temporary fix, all JsonDatabaseQuery queries generated internally now set the page size to Integer.MAX_VALUE - 100000.

2.1.0-AS6.0

2023-07-27

Summary

  • Atoti Server 6.0.5 upgrade: Updated the Atoti Server dependency to 6.0.5, Common Parent POM to 1.1.0 and Common Dependencies BOM to 1.1.0.
  • Added field index retrieval to provided utilities: A method to retrieve table fields and their indexes is now available in DatabaseSimulationsUtils.
  • Removed DatabaseSimulationsUtils.MASTER_BRANCH constant: The DatabaseSimulationsUtils.MASTER_BRANCH constant has been removed.
  • Added DatabaseSimulationsRestService to Spring versions endpoint: DatabaseSimulationsRestService now extends ASpringVersionedRestServerConfig

Dependency versions

Component Version
Atoti Server 6.0.5
Common Dependencies BOM 1.1.0 (com.activeviam.apps)
Common Parent POM 1.1.0 (com.activeviam.apps)
Java JDK11

Added DatabaseSimulationsRestService to Spring versions endpoint

/version endpoint which returned the WhatIf module version inside of DatabaseSimulationsRestService has been marked deprecated now that we extend ASpringVersionedRestServerConfig. Extending this class exposes our endpoint in the spring versions endpoint. It is recommended that each WhatIf REST service is exposed in the versions endpoint in a similar way. The version in the versions endpoint is 2.

Changed

Issue Key Details
GENACL-954 Upgraded to AS 6.0.5, Common Parent POM 1.1.0 and Common Dependencies BOM 1.1.0 to synchronize third party dependencies.
PST-947 /BAS-1396 Fixed branch permissions check to allow creating new branches from within the simulations workflow.
PST-948 /BAS-1398 Added a Map<String, Integer> getFieldIndexes(String table) method to the DatabaseSimulationsUtils utility class.
PST-949 /BAS-1391 Removed the DatabaseSiomulationsUtils.MASTER_BRANCH constant.
PST-950 Added DatabaseSimulationsRestService to Spring versions endpoint.

2.0.1-AS6.0

2023-04-27

Summary

  • Provided Atoti What-If dependency : To allow projects to use Atoti What-If for any Atoti Server 6.0.x version, the dependency is now used as provided.

Dependency versions

Component Version
Atoti Server 6.0.3
Common Dependencies BOM 3.0.0 (com.activeviam.tools)
Java JDK11
Tools Parent POM 2.0.0 (com.activeviam.tools)

2.0.0-AS6.0

2023-04-17

Summary

  • Top to bottom redesign : The API has been extensively redesigned to reduce coupling between implementation details and simulation parameters and make use of Atoti Server database service APIs.
  • Simplified deliverables : Merged the whatif-core and whatif-examples libraries into a single whatif library.
  • Support for distributed simulations : Simulations are now fully supported in a distributed environment.
  • Removal of Netty messaging : The distribution implementation based on Netty messaging has been removed.
  • JSON-based persistence : Simulations are now persisted using JSON-based serialization.
  • Removal of the merge mechanism : Merging simulations into a parent branch is no longer supported.

Dependency versions

Component Version
Atoti Server 6.0.3
Common Dependencies BOM 3.0.0 (com.activeviam.tools)
Java JDK11
Tools Parent POM 2.0.0 (com.activeviam.tools)