Skip to content

Releases: americanexpress/unify-flowret

unify-flowret-1.7.3

05 Jul 17:51
Compare
Choose a tag to compare

Correction of one test case and update of others.

unify-flowret-1.7.1

13 Jun 04:26
Compare
Choose a tag to compare

This release consists of a revamp of the unit test suite. There is no functional change.

It was observed that the unit test cases were not running correctly when using Maven mvn test command from the terminal. If tests in only one class were run, they ran fine but when multiple test classes were selected to run, only the tests for the first class ran fine.

However, if they were run from inside of IntelliJ, they all ran fine irrespective of whether tests in only one test class were run or tests from multiple classes were run.

The issue, it seems, was due to a certain way consoles were being used to collect the output of test cases. Though I still am not able to tell why they run successfully from inside IntelliJ but failed when run from the terminal, I was able to implement a workaround to make them run correctly from both terminal (using Maven) and from inside IntelliJ.

The other significant change to the test suite is that all of them now run in memory and in silent mode meaning that they do not emit progress messages to the console. Earlier, they used to write process documents to the file system as well as output progress log messages, The ability to write process related documents to the file system and emit progress logs has however been retained through the use of a couple of boolean variables in the class TestManager. The readme has been updated with a new step 9 in the "Getting started in 5 minutes" section, that talks of running unit test cases and using these couple of boolean variables.

unify-flowret-1.6.0

10 Feb 04:54
Compare
Choose a tag to compare

Someone a few months back had recommended to have a simple tutorial in place to help the engineers / developers quickly understand Flowret. Something like a "Getting started in 5 minutes" guide. It did not happen till now primarily because at the back of my mind was the thought that how hard could it be to write a sample program by referring to test cases. And that was the reason that I kept deferring it. It may not be all that hard to write a sample program by referring to the test cases, but it definitely is a stumbling block in adoption - imagine people coming here, going through the documentation and then wanting to try it out but realizing that they cannot because they need to spend a couple of hours understanding the test cases and then giving up and moving on. I came to this realization just recently when I started out to write a sample program. What good is a piece of software or its documentation if it cannot be brought up and running in five minutes to demonstrate its core concept? And so here it is - a sample program added in the code and a chapter added in the documentation. This was long overdue, and I hope it helps in adoption with people being easily able to understand the working of Flowret in five minutes.

Note -> I am seeing some markdown formatting issues while rendering code samples in the section added in the documentation (readme.md). Will correct in the next version in a few days.

unify-flowret-1.4.4

03 Oct 16:57
Compare
Choose a tag to compare

Fixed the defect of a pend in a parallel execution path which is not the direct descendent of the parent execution path. Explaining with an example - assume that there is a parallel route (r1) that creates 5 branches and each of the 5 branches in turn have a parallel routes (r2*) that each create 5 more branches. Now, if parallel execution is happening and there is a pend encountered in an execution path created from route r2*, then the same was not being recognized and the parent execution path pending at route r1 (for threads to complete) was proceeding ahead with the flow (instead of pending). This is now fixed. If you are not doing parallel within parallel processing then you are not impacted.

Test cases have been added. Also unify-jdocs dependency has been updated.

unify-flowret-1.4.3

09 Aug 03:25
Compare
Choose a tag to compare

Fixed following three issues:

SLA milestones not getting setup
In the scenario that a case pends at a step with OK_PEND_EOR in work basket 1, then work management service is used to move the case to work basket 2 and then the case is resumed and again pends in work basket 1. In this scenario, the SLA milestones for work basket 1 were not being setup which is now fixed.

Crash recovery fix
In the scenario of Flowret not being able to write the process info file and the case is resumed, the crash recovery program was not able to recover the process info file to move ahead in the process. This is now addressed.

Pause fix
If the step Pause is used, then the status of the execution path was not being set to completed in the process info file leading to crash recovery process to kick in (though there was no adverse effect). The same has been fixed

unify-flowret-1.4.2

24 Jul 21:44
Compare
Choose a tag to compare

The init method which takes in a ThreadFactory as an input parameter has been withdrawn as it was not serving the objective for which it was introduced.

A new way of parallel processing has been introduced wherein the threads for parallel processing will be created as child threads of the running thread. This is being done to give a chance to clients to be able to propagate the thread context to child threads. For example, the main thread could specify inheritable thread local properties which would propagate to child threads. Clients will need to take into consideration that this mode is not bounded.

Documentation has been updated and test case added.

unify-flowret-1.4.1

20 Jul 19:07
Compare
Choose a tag to compare

Added a new init method which allows clients to pass in their own thread factory implementation.

unify-flowret-1.4.0

19 Jun 15:49
Compare
Choose a tag to compare
  1. Documentation updated for reopen API
  2. Updated exception handling to take care of Flowret not proceeding ahead in certain cases if an exception is thrown from an event handler
  3. startCase method now throws an exception instead of returning null if an exception is encountered. This may be a breaking change for consumers who were testing for null to see if the case started or not
  4. Updated unify-jdocs dependency