<commit_before># WaterFlow

WaterFlow is a *non-magical* - relatively small framework for use with [Amazon SWF](https://aws.amazon.com/swf/).

# Philosophy

The framework is deeply routed in the original implementation of [SWiFt](https://bitbucket.org/clarioanalytics/services-swift)
which is a great example of achieving a very usable and simple SWF framework.

WaterFlow aims to add new features that are common in the [AWS Flow Framework](https://aws.amazon.com/swf/details/flow/)
without the need for [AspectJ](https://eclipse.org/aspectj/) and the *magical* annotation processing that occurs.

Here is a short list of philosphy decisions that differentiate this framework from [SWiFt](https://bitbucket.org/clarioanalytics/services-swift)
and [Glisten](https://github.com/Netflix/glisten/)

1. JDK8 target - heavy use of new JDK8 features such as Optional and Streams make for simpler code
2. Allow arbitrary types to be passed as input or sent as output for a given Activity through the use of a `DataConverter`
3. Deciders are written through asynchronous interfaces - `CompletionStage` - without any magic!
4. Heavy **Heavy** use of of the [Immutables](https://immutables.github.io/) library<commit_msg>Added hyperlink<commit_after># WaterFlow

WaterFlow is a *non-magical* - relatively small framework for use with [Amazon SWF](https://aws.amazon.com/swf/).

# Philosophy

The framework is deeply routed in the original implementation of [SWiFt](https://bitbucket.org/clarioanalytics/services-swift)
which is a great example of achieving a very usable and simple SWF framework.

WaterFlow aims to add new features that are common in the [AWS Flow Framework](https://aws.amazon.com/swf/details/flow/)
without the need for [AspectJ](https://eclipse.org/aspectj/) and the *magical* annotation processing that occurs.

Here is a short list of philosphy decisions that differentiate this framework from [SWiFt](https://bitbucket.org/clarioanalytics/services-swift)
and [Glisten](https://github.com/Netflix/glisten/)

1. JDK8 target - heavy use of new JDK8 features such as Optional and Streams make for simpler code
2. Allow arbitrary types to be passed as input or sent as output for a given Activity through the use of a `DataConverter`
3. Deciders are written through asynchronous interfaces - [CompletionStage](https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletionStage.html) - without any magic!
4. Heavy **Heavy** use of of the [Immutables](https://immutables.github.io/) library
{'fraction_non_alphanumeric': 0.09166998804304503, 'fraction_numerical': 0.0051813471502590676, 'mean_word_length': 4.8508158508158505, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 15, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2667699', 'n_tokens_mistral': 714, 'n_tokens_neox': 685, 'n_words': 286}