Skip to content

Support TTL in PubSub. Fixes + refactor of CloudEvent. Fix handling c…#431

Merged
artursouza merged 1 commit into
dapr:masterfrom
artursouza:pubsub_ttl
Dec 30, 2020
Merged

Support TTL in PubSub. Fixes + refactor of CloudEvent. Fix handling c…#431
artursouza merged 1 commit into
dapr:masterfrom
artursouza:pubsub_ttl

Conversation

@artursouza

@artursouza artursouza commented Dec 30, 2020

Copy link
Copy Markdown
Contributor

Description

Support TTL in PubSub.
Fixes + refactor of CloudEvent.
Fix handling content-type in PubSub over GRPC

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #430
Please reference the issue this PR will close: #385
Please reference the issue this PR will close: #432

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

deserializeData.apply("true"));
assertEquals("123.45",
deserializeData.apply("123.45"));
assertEquals(123,

@artursouza artursouza Dec 30, 2020

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These tests show why this is a breaking change.

@codecov

codecov Bot commented Dec 30, 2020

Copy link
Copy Markdown

Codecov Report

Merging #431 (f745e5d) into master (2714402) will increase coverage by 0.09%.
The diff coverage is 82.14%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #431      +/-   ##
============================================
+ Coverage     83.29%   83.39%   +0.09%     
  Complexity      840      840              
============================================
  Files            72       72              
  Lines          2485     2481       -4     
  Branches        260      254       -6     
============================================
- Hits           2070     2069       -1     
- Misses          289      292       +3     
+ Partials        126      120       -6     
Impacted Files Coverage Δ Complexity Δ
...k/src/main/java/io/dapr/client/DaprClientGrpc.java 83.88% <44.44%> (-1.36%) 86.00 <1.00> (ø)
sdk/src/main/java/io/dapr/client/DaprHttp.java 89.36% <100.00%> (ø) 26.00 <0.00> (ø)
...rc/main/java/io/dapr/client/domain/CloudEvent.java 78.26% <100.00%> (+10.40%) 19.00 <10.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 2714402...f745e5d. Read the comment docs.

@wcs1only wcs1only left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@artursouza artursouza merged commit 1a6675a into dapr:master Dec 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants