Knotx / knotx-fragments

Fragments map-reduce processing using Graph flows, supplier and assembler.
https://knotx.io
Apache License 2.0
3 stars 5 forks source link

Feature/sync fragment operation #186

Closed marcinus closed 4 years ago

marcinus commented 4 years ago

Description

Provides FutureFragmentOperation that ensures proper error handling and SyncFragmentOperation. Both simplify implementation of asynchronous and synchronous actions. Updates library actions to use these interfaces.

Motivation and Context

Closes #184

Types of changes

Checklist:


I hereby agree to the terms of the Knot.x Contributor License Agreement.

codecov[bot] commented 4 years ago

Codecov Report

Merging #186 into master will increase coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #186      +/-   ##
============================================
+ Coverage     91.41%   91.43%   +0.01%     
- Complexity     1729     1730       +1     
============================================
  Files           165      166       +1     
  Lines          7212     7192      -20     
  Branches        207      207              
============================================
- Hits           6593     6576      -17     
+ Misses          514      511       -3     
  Partials        105      105              
Impacted Files Coverage Δ Complexity Δ
...nts/action/library/InMemoryCacheActionFactory.java 94.11% <100.00%> (ø) 15.00 <0.00> (ø)
...gments/action/library/InlineBodyActionFactory.java 100.00% <100.00%> (+4.16%) 7.00 <2.00> (ø)
...nts/action/library/InlinePayloadActionFactory.java 100.00% <100.00%> (+3.84%) 7.00 <3.00> (-1.00) :arrow_up:
...nts/action/library/PayloadToBodyActionFactory.java 86.66% <100.00%> (+1.66%) 9.00 <4.00> (ø)
...gments/action/library/helper/ValidationHelper.java 100.00% <100.00%> (ø) 2.00 <2.00> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d9517b5...cc0404e. Read the comment docs.