Artur Souza
0523e50d58
Upgrade version to 1.4.0
...
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
2022-01-24 17:10:17 -08:00
Artur Souza
a2614c4984
Release 1.4.0-rc-2
...
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
2022-01-18 11:32:59 -08:00
Artur Souza
1099ac1bbd
Release 1.4.0-rc-1
...
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
2022-01-17 22:27:20 -08:00
Pravin Pushkar
185cdba293
Config api support ( #670 )
...
* inital draft for config api
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* Introducing new client for preview apis and code refactoring
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* Unit tests and code refactoring
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* Adding integration test
Signed-off-by: pravinpushkar <ppushkar@microsoft.com>
* Copyright changes
Signed-off-by: pravinpushkar <ppushkar@microsoft.com>
* Review comments fixes
Signed-off-by: pravinpushkar <ppushkar@microsoft.com>
* Removed DaprPreviewClientProxy and updated example README
Signed-off-by: pravinpushkar <ppushkar@microsoft.com>
* Adding validate workflow for cofiguration api example
Signed-off-by: pravinpushkar <ppushkar@microsoft.com>
* fixing example autovalidation and code coverage
Signed-off-by: pravinpushkar <ppushkar@microsoft.com>
* Fixing autovalidation and removing getAllConfiguration
Signed-off-by: pravinpushkar <ppushkar@microsoft.com>
* Fixing review comments
Signed-off-by: pravinpushkar <ppushkar@microsoft.com>
* Add regex header checkstyle.
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
* Fix headers and add javadocs to some.
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2022-01-12 16:01:13 -08:00
greenie-msft
d37881b469
Update LICENSE to Apache 2.0 ( #657 )
...
* Update LICENSE to Apache 2.0
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
* Update headers to Apache 2.
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-12-09 20:15:47 +05:30
Maarten Mulders
be7edb17f6
Migrated out of JCenter as a Maven repository manager ( #648 )
...
* Upgrade okhttp-mock dependency
Version 1.3.2 was never deployed to Maven Central
* No longer refer to JCenter, as it has been shut down
2021-10-29 14:51:10 -07:00
Artur Souza
680915e832
Fix PubSubIT due to race in map. ( #634 )
2021-09-17 16:26:42 -07:00
Artur Souza
ed1fac1f89
Upgrade the version to 1.4.0-SNAPSHOT ( #632 )
2021-09-15 22:03:12 -07:00
Maarten Mulders
3c3a5277d6
Add support for @PostMapping("/path") to pub/sub topic subscriptions ( #583 )
...
* Remove duplicate dependency
* Transform into managed dependencies
* Remove old JUnit version from dependencies
* Add tests for DaprBeanPostProcessor
* Also register PostMappings that use value
* Modify existing pub/sub test to no use @PostMapping(path="...")
* Remove added dependencies on AssertJ, Spring Test and Servlet API
* Remove test in favour of the sdk-tests one
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-08-20 19:37:18 -07:00
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