Commit Graph

492 Commits

Author SHA1 Message Date
Artur Souza 7467575a97
Revert "Adjusted the configuration of Maven. (#532)" (#536)
This reverts commit 5cc79811cb.
2021-04-29 18:48:29 -07:00
LLLLimbo 5cc79811cb
Adjusted the configuration of Maven. (#532)
* Adjusted the configuration of Maven.

* Update pom.xml

* Remove os-maven-plugin and spring-boot-maven-plugin in parent pom

* Add version of spring-boot-maven-plugin in the example pom.
Add spring-boot-dependencies dependency management in sdk-springboot.
Add maven-compiler-plugin to the parent pom's pluginManagement
Remove protoc-jar-maven-plugin in  example's dependencies.

* Update pom.xml

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
2021-04-26 23:26:11 -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 621d4f846f
Update to runtime and cli v1.1.0-rc.1 (#527)
* Update to runtime and cli v1.1.0-rc.1

* Update sample validation too.
2021-03-25 15:02:42 -07:00
Artur Souza c9ab3a6390
Revert "Merge pull request #504 from abogdanov37/feature_fix-statestore-serialization" (#519)
This reverts commit 1eff655d82, reversing
changes made to a5051e07a8.
2021-03-23 17:09:52 -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 9662265426
Generate updated javadocs for 1.0.2 (#521) 2021-03-23 14:08:21 -07:00
Artur Souza 6c90286f8a
Merge pull request #516 from artursouza/fix_state_trx
Fix HTTP save state transaction.
2021-03-17 10:10:11 -07:00
Artur Souza 788eea605c Fix HTTP save state transaction. 2021-03-17 00:14:46 -07:00
Artur Souza 9c5084b56f
Merge pull request #511 from xiazuojie/master
remove protoc-jar-maven-plugin as dependency for sdk-autogen
2021-03-12 12:41:59 -08:00
Xia Zuojie fdefe91690 remove protoc-jar-maven-plugin as dependency for sdk-autogen 2021-03-12 11:11:13 +08:00
Artur Souza dcaffe8932
Merge pull request #508 from artursouza/tracing_example_validate
Auto-validation for tracing sample.
2021-03-11 15:08:51 -08:00
Artur Souza 5f379f2637
Merge branch 'master' into tracing_example_validate 2021-03-11 11:26:03 -08:00
Artur Souza 1eff655d82
Merge pull request #504 from abogdanov37/feature_fix-statestore-serialization
Fix issue where custom JSOn serializer generates Base64 encoded data in state store
2021-03-11 11:25:19 -08:00
abogdanov37 51b44be76d
Merge branch 'master' into feature_fix-statestore-serialization 2021-03-11 22:06:14 +03:00
Artur Souza 1d36d550f9
Merge branch 'master' into tracing_example_validate 2021-03-11 10:20:29 -08:00
Artur Souza a5051e07a8
Merge pull request #507 from artursouza/remove_pngs
Remove all example PNGs that are text only.
2021-03-11 10:19:25 -08:00
Artur Souza 157d5bef11 Auto-validation for tracing sample. 2021-03-10 23:59:27 -08:00
Andrey Bogdanov db97c19bd0 Fix unit tests. Add comments. 2021-03-11 10:23:55 +03:00
Andrey Bogdanov 9bf4adeae5 Revert changes with ObjectSerializer class. 2021-03-11 09:54:44 +03:00
Andrey Bogdanov a3c7056be2 Revert changes with ObjectSerializer class. 2021-03-11 09:52:57 +03:00
Artur Souza c574955214 Remove all example PNGs that are text only. 2021-03-10 22:12:42 -08:00
Andrey Bogdanov 4c0d043fb4 Change strategy to find Json serializer by content type 2021-03-10 15:42:09 +03:00
Andrey Bogdanov 6bfd6844bc Up test coverage. 2021-03-10 14:12:30 +03:00
Andrey Bogdanov c58b9b3bca Refactor ObjectSerializer class to add ability set custom object mapper. Refactor DaprStateAsyncprovider class to use custom serializers based on ObjectSerializer class as Json serializer. Add unit tests. 2021-03-09 16:10:23 +03:00
Artur Souza 9296a83323
Merge pull request #495 from artursouza/merge_release_100
Merge release 1.0.0 into master
2021-02-16 19:01:08 -08:00
Artur Souza 3ca641c429 Merge remote-tracking branch 'upstream/release-1.0' into merge_release_100 2021-02-16 18:19:15 -08:00
Artur Souza 45c81afa06
Upgrade the version to 1.1.0-SNAPSHOT (#494) 2021-02-16 18:14:23 -08:00
Artur Souza 048d934041 Generate updated javadocs for 1.0.0 2021-02-16 18:01:14 -08:00
Artur Souza 564b0870f9 Upgrade version to 1.0.0 2021-02-16 17:56:14 -08:00
Artur Souza a47cfb880d
Update README for v1.0.0 release. (#490) 2021-02-16 17:45:20 -08:00
Artur Souza 9dd312310d Release 1.0.0-rc-6 2021-02-16 00:14:04 -08:00
Artur Souza c03441c782 Merge remote-tracking branch 'upstream/master' into release-1.0 2021-02-16 00:10: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 4e73440ef6 Merge remote-tracking branch 'upstream/master' into release-1.0 2021-02-12 20:10:09 -08:00
Mukundan Sundararajan 99c3794a62
update CLI version to rc6 (#489) 2021-02-12 08:26:58 -08:00
Artur Souza f4a35e7b7f
Merge pull request #488 from dapr/master 2021-02-12 08:26:02 -08:00
Mukundan Sundararajan 0a826d0726
fix examples for latest rc. validate build with latest rc (#487) 2021-02-11 17:01:26 -08:00
Artur Souza 207ed0231d Release 1.0.0-rc-5 2021-02-10 21:16:11 -08:00
Artur Souza 6b9a0e1bce Merge branch 'master' into release-1.0 2021-02-10 21:11:44 -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
xiazuojie 0cd2f373d2
remove io.dapr.client.domain.Response from DaprClient APIs (#476)
* change: remove io.dapr.client.domain.Response from getState API. This is just a showcase of how to use reactor.util.context.Context

* fix: code style

* change: remove io.dapr.client.domain.Response from invokeMethod API

* change: completely remove io.dapr.client.domain.Response and update all APIs
change: remove reactor.util.context.Context from "request" classes.

* removed getStateContext test case
update README.md

* removed default impl from DaprClient

Co-authored-by: Xia Zuojie <zuojie@alibaba-inc.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-02-05 23:20:25 -08:00
Artur Souza a66337aa4b
Unit test to deserialize CloudEvent. (#480) 2021-02-04 14:11:39 -08:00
Charlie Stanley 717480d804
Merge pull request #481 from artursouza/discord_link
Switch to Discord.
2021-02-04 11:11:23 -08:00
Artur Souza 222c493597 Switch to Discord. 2021-02-04 10:49:58 -08:00
Andrey Pechkurov b7eb723445
Improve concurrent data structures in ActorRuntime (#479)
* Switch ActorManager registry to CHM in ActorRuntime

Synchronized HashMap may lead to unnecessary contention during
ActorManager lookups.

* Change ActorRuntimeConfig to be thread-safe
2021-02-04 09:45:33 -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