Skip to content

Commit fc95eed

Browse files
authored
feature: Idempotency module (#717)
* Move JSON config to a new utility module Move ObjectMapper and JMESPath config to a new module, to be reused by other powertools modules * Use new utility module for JSON config * Idempotency module * Idempotency module example * Idempotency module added to lambda-powertools * solve JDK 16 build * refactoring to simplify 'around' method * solve javadoc warnings * PR #717: document exceptions * PR #717: move cache to utilities * PR #717: native libs for dynamo & sqlite * PR #717: changes post review * PR #717: add modules to GitHub workflows * PR #717: fix utilities dependency * PR #717: fix utilities dependency * PR #717: fix utilities dependency * PR #717: upgrade utilities and idempotency version to 1.10.3 * PR #717: end to end test with a handler * PR #717: upgrade version in example * PR #717: expiration in seconds instead of ms * PR #717: new test * adding documentation * removing unused dependencies * sqlite dependency for Mac M1 * update doc for sqlite dependency on M1 * change expiration to duration * update doc for utilities * PR #717: rename utilities into serialization * PR #717: move back LRU into idempotency module * PR #717: local cache disabled by default * PR #717: update documentation - add installation guide - sam template indentation - local cache disabled by default - + minors changes
1 parent 3a41ff9 commit fc95eed

File tree

68 files changed

+5395
-196
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+5395
-196
lines changed

.github/workflows/build.yml

+4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ on:
77
paths:
88
- 'powertools-cloudformation/**'
99
- 'powertools-core/**'
10+
- 'powertools-serialization/**'
1011
- 'powertools-logging/**'
1112
- 'powertools-sqs/**'
1213
- 'powertools-tracing/**'
1314
- 'powertools-validation/**'
15+
- 'powertools-idempotency/**'
1416
- 'powertools-parameters/**'
1517
- 'powertools-metrics/**'
1618
- 'powertools-test-suite/**'
@@ -22,10 +24,12 @@ on:
2224
paths:
2325
- 'powertools-cloudformation/**'
2426
- 'powertools-core/**'
27+
- 'powertools-serialization/**'
2528
- 'powertools-logging/**'
2629
- 'powertools-sqs/**'
2730
- 'powertools-tracing/**'
2831
- 'powertools-validation/**'
32+
- 'powertools-idempotency/**'
2933
- 'powertools-parameters/**'
3034
- 'powertools-metrics/**'
3135
- 'powertools-test-suite/**'

.github/workflows/spotbugs.yml

+2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ on:
77
paths:
88
- 'powertools-cloudformation/**'
99
- 'powertools-core/**'
10+
- 'powertools-serialization/**'
1011
- 'powertools-logging/**'
1112
- 'powertools-sqs/**'
1213
- 'powertools-tracing/**'
1314
- 'powertools-validation/**'
1415
- 'powertools-parameters/**'
16+
- 'powertools-idempotency/**'
1517
- 'powertools-metrics/**'
1618
- 'powertools-test-suite/**'
1719
- 'pom.xml'

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ hs_err_pid*
1414

1515
# Maven build
1616
target/
17+
native-libs/
1718

1819
######################
1920
# IntelliJ

docs/media/idempotent_sequence.png

72.9 KB
Loading
45.6 KB
Loading

0 commit comments

Comments
 (0)