Maarten Mulders
ae5c2a1314
Declare CloudEvent generic to allow automatic payload deserialization using Jackson ( #591 )
...
* Declare CloudEvent generic
* Fix timestamp in logging
* Declare Spring Boot version once
* Simplify administration of received events
* Update docs
* Always return a list, even if it's empty
Rather than returning `null` when no
messages are present for a topic.
2021-08-13 13:52:37 -07:00
Bernd Verst
48b2d44aa7
Add support for configuring actor reminder storage partitions ( #574 )
...
* Update GRPC libraries for security updates
* AdConfigurable actor reminder storage patitions
* autoformat code
* Fix test and linter error
* more autoformatting
* competing style checker :(
Co-authored-by: Ubuntu <beverst@beverst-ubuntu.4gvshbv0hrpejbsei5kugsxnoc.xx.internal.cloudapp.net>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-07-12 16:02:25 -07:00
Justin Rovang
0e5e3112de
Added SPEL evaluation against spring boot @Topic attributes ( #556 )
...
* [WIP] Added SPEL evaluation against spring boot @Topic name and pubsubname attributes
* [WIP] Updated SubscriberController to use SPEL in @Topic
* 554 - SPEL for @Topic attributes: Updated documentation and examples
* Updated documentation as discussed
* Update README.md
* Update SubscriberController.java
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-06-17 22:48:45 -07:00
Artur Souza
5c05f3d9c7
Change Actor gRPC client to async. ( #564 )
2021-06-14 13:37:31 -07:00
halspang
2eb6e1d9e3
Upgrade the version to 1.2.0-SNAPSHOT ( #549 )
2021-05-19 22:01:28 -07:00
Artur Souza
33f793c186
Return empty metadata for key not found + add IT test. ( #528 )
2021-05-14 11:37:09 -07:00
halspang
a654861def
Add shutdown API support ( #530 )
...
* Add shutdown API support
https://github.com/dapr/java-sdk/issues/529
* Utilize POST instead of GET for shutdown API
2021-04-07 11:42:00 -07:00
halspang
bdf8e86b87
Add pause between stopping/starting runtime ( #526 )
...
ActorReminderRecoveryIT and ActorTimerRecoveryIT both rely
on reminders/timers being persisted when dapr restarts. On some
restarts, it appears that the placement service shares its placement
table during on ongoing update. This causes the dapr runtime to use
the wrong address for the actor.
https://github.com/dapr/java-sdk/issues/425
2021-04-05 09:29:09 -07:00
Artur Souza
589a352450
w3c tracing integration test ( #522 )
...
* w3c tracing integration test
* Addresses PR comments.
2021-03-23 14:30:34 -07:00
Artur Souza
45c81afa06
Upgrade the version to 1.1.0-SNAPSHOT ( #494 )
2021-02-16 18:14:23 -08:00
Artur Souza
ce7ecb9965
Allows override of content-type in pubsub publish. ( #492 )
2021-02-16 00:03:08 -08:00
Artur Souza
e46ef319cd
Support many query strings in HTTP and binary data in Cloud Event for PubSub. ( #485 )
...
* Handles base64 data from CloudEvent.
* Support for multiple query strings.
* Addressing comments.
2021-02-09 19:38:13 -08:00
Artur Souza
1b3077071f
Update license header. ( #483 )
2021-02-06 00:18:47 -08:00
Artur Souza
5147ad0202
Adds IT to confirm eTag is parsed correctly to/from runtime. ( #475 )
2021-02-02 20:21:21 -08:00
Artur Souza
1527d31640
Enhancing validation for ActorTurnBasedConcurrencyIT. ( #474 )
2021-02-02 14:39:19 -08:00
Artur Souza
5d7700b570
Refactor params for State class + Unit test example ( #473 )
...
* Refactor order of params for State class.
* Example for unit testing.
* Change toString() for State class.
* Add unittesting example to main README.
* Fix cmd for unittesting example.
* Add sleep to http inputing binding example validation.
* Fix unittesting example check.
2021-02-01 19:03:25 -08:00
Artur Souza
277f9958a6
Fix PubSub publish + Update IT to use RC3 bits. ( #471 )
...
* Update IT to use RC3 bits.
* Fixing publish method not to handle content-type metadata in GRPC.
* Fix flaky actor ITs.
2021-02-01 18:19:50 -08:00
Artur Souza
ba496064d1
Removing OpenTelemetry and OpenCensus SDK. ( #463 )
2021-01-29 09:23:48 -08:00
Artur Souza
5d20a217a7
Fix IT to switch to GRPC service invocation.
2021-01-27 23:19:27 -08:00
Artur Souza
7eacfcc88f
Fix error handling in http invoke.
...
ITs to validate invoke errors on http and grpc services.
Handle serialization of proto objects.
2021-01-27 22:22:22 -08:00
Artur Souza
6c26942dd5
Adds autoconfiguration for springboot apps. ( #459 )
...
* Adding Dapr Spring Boot Starter.
* Move Dapr Spring Boot Starter into existing sdk-springboot project.
Co-authored-by: Darren Wang <darren_wang@outlook.com>
2021-01-27 10:40:14 -08:00
Artur Souza
c5b4cbd3f5
Add version to Components. ( #455 )
2021-01-25 22:14:19 -08:00
Artur Souza
907748f162
Adding GetBulkSecret API.
2021-01-25 12:21:46 -08:00
Artur Souza
57345ebf3e
Use DaprChannel instead of closeable ActorProxyBuilder. ( #451 )
...
* Use DaprChannel instead of closeable ActorProxyBuilder.
* Refactor Actor channel into DaprChannel and out of ActorProxyBuilder.
* Rename DaprChannel to ActorClient and make it a DaprClient.
* Make ActorClient not implement DaprClient but implement same method.
* Update sdk-actors/src/main/java/io/dapr/actors/client/ActorProxyBuilder.java
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
* Update sdk-actors/src/test/java/io/dapr/actors/client/ActorProxyBuilderTest.java
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
* Rename ActorProxyForTestsImpl to ActorProxyImplForTests
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
2021-01-25 12:04:58 -08:00
Artur Souza
befed4a01b
Makes service method API invocations over HTTP by default. ( #450 )
...
* Makes service method API invocations over HTTP by default.
* Add logic to avoid building managedchannel in case of http API for actor runtime.
2021-01-23 12:12:34 -08:00
Artur Souza
81b47f85b3
Makes http call async and allows timeout in Mono. ( #445 )
2021-01-21 15:23:24 -08:00
Artur Souza
446cd17e18
Support ActorMethod to change method's name. ( #448 )
2021-01-19 23:34:14 -08:00
Artur Souza
d43272fdc6
Rename InvokeServiceRequest to InvokeMethodRequest. ( #443 )
...
* Rename InvokeServiceRequest to InvokeMethodRequest.
* Organize imports.
2021-01-15 04:51:48 -08:00
Artur Souza
019dee9a8b
Fix handling of metadata, headers. Removes etag from getState. ( #440 )
...
* Fix handling of metadata, headers. Removes etag from getState().
* Update CLI and runtime.
* Fix ITs.
2021-01-14 15:01:22 -08:00
Artur Souza
1a6675add8
Support TTL in PubSub. Fixes + refactor of CloudEvent. Fix handling content-type in PubSub over GRPC ( #431 )
2020-12-30 13:37:15 -08:00
kerr
3b51b5b6c4
Rename ActorProxy invoke to invokeMethod. ( #420 )
...
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2020-12-18 14:41:16 -08:00
Arghya Sadhu
a35e41480e
set etag to be null if it's empty ( #414 )
...
Signed-off-by: Arghya Sadhu <arghya88@gmail.com>
2020-12-18 12:13:46 -08:00
Arghya Sadhu
11d9e3b0b8
Rename methods and parameters for consistency across SDKs ( #410 )
...
Signed-off-by: Arghya Sadhu <arghya88@gmail.com>
2020-12-16 00:06:54 -08:00
Artur Souza
de4c37e3a5
Upgrade the version to 1.0.0-SNAPSHOT ( #413 )
2020-12-15 23:34:20 -08:00
Artur Souza
85bdb24fa9
IT for failover actor reminder. ( #411 )
...
* IT for failover actor reminder.
* Refactoring for actor tests.
2020-12-11 15:28:55 -08:00
Artur Souza
3f51e29dde
Fix actor sample + remove HTTP reference in docs and code. ( #407 )
...
* Fix actor sample + remove HTTP reference in docs and code.
* Fix logging for IT.
2020-12-11 13:54:23 -08:00
Artur Souza
f871b1f51f
IT for recovering reminder after sidecar restart. ( #406 )
2020-12-09 21:40:08 -08:00
Artur Souza
adce91f743
Throw DaprException consistently + doc + example. ( #403 )
2020-12-08 15:58:07 -08:00
Artur Souza
cf1c10d85a
Actor over GRPC. ( #395 )
2020-11-24 15:23:35 -08:00
Artur Souza
a5c9bf73ba
Upgrade the version to 0.11.0-SNAPSHOT ( #390 )
2020-11-16 12:34:44 -08:00
Artur Souza
c466e211f1
Fix build due to deprecated maven repo, using jcenter now. ( #392 )
2020-11-16 12:01:53 -08:00
Artur Souza
43107c3492
Update cli and runtime ITs to 1.0.0-rc.1 ( #387 )
...
* Fix ITs due to change in logs in daprd.
* Update to 1.0.0-rc.1 runtime and cli.
2020-11-12 15:32:23 -08:00
Artur Souza
2bafc05e4c
Updating proto, daprd and cli + fix ITs for v1.0.0 Milestone 1. ( #384 )
...
* Updating proto, daprd and cli prior to v1.0.0 Milestone 1.
* Fixes integration tests.
2020-11-10 09:29:39 -08:00
Mukundan Sundararajan
97eacf9598
update open telemetry lib version 0.7.1 ( #380 )
...
* update readme with secrets example link
* Update opentelemetry to 0.7.1, change repo id for sping
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2020-11-09 21:52:36 -08:00
Mukundan Sundararajan
751ea2168c
upgrade dependency versions ( #378 )
2020-11-04 16:22:39 -08:00
dependabot[bot]
f911756444
Bump junit from 4.12 to 4.13.1 in /sdk-tests ( #359 )
...
Bumps [junit](https://github.com/junit-team/junit4 ) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases )
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md )
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2020-10-16 15:38:18 -07:00
Artur Souza
76c848bb6f
Fixes timer invocation after app restarts. ( #363 )
2020-10-16 14:29:31 -07:00
Artur Souza
9076d9f60e
Fix save bytes ( #353 )
...
* IT for save byte error in actor state.
* Update proto version.
* Fixes bug on read/write byte[] in actor state.
* Addresses comments round 1.
2020-10-08 15:55:14 -07:00
Artur Souza
7f261be7ed
Upgrade the version to 0.10.0-SNAPSHOT ( #345 )
2020-09-28 11:15:38 -07:00
Mukundan Sundararajan
75efc3a633
Fix port collision in java ITs ( #342 )
2020-09-22 10:18:37 -07:00