* run IT test for long values
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* Fix the class name
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* assert for all messages and fix class name
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* test for Long.MAX_VALUE
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* revert back long number and print
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* fix the typo
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* update the latest dapr commit in workflow files
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* log some more data to debug
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* debug
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* get the value from messages
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* fix long values assert
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* increasing TTL
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Co-authored-by: tanvigour <tanvi.gour@gmail.com>
Co-authored-by: tanvigour <60332928+tanvigour@users.noreply.github.com>
* run IT test for long values
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* Fix the class name
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* assert for all messages and fix class name
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* test for Long.MAX_VALUE
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* revert back long number and print
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* fix the typo
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* update the latest dapr commit in workflow files
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* log some more data to debug
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* debug
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* get the value from messages
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* address feedback
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* change the assertion
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* Add hashcode and equals functione and create new obj while adding value to set
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* move iterator
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* log value before adding to hashset
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* log value before adding to hashset
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* log value before adding to hashset
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* change assertion
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* fix equals method
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* adding debugging for expected value
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* adding logs for expected value
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* log value before adding to hashset
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* Catering to all possible routes for Post Request
Signed-off-by: deepanshuagarwal <deepanshu.agarwal1984@gmail.com>
* Correcting checkstyle related violations
Signed-off-by: deepanshuagarwal <deepanshu.agarwal1984@gmail.com>
* Refactoring and Adding UTs for post method routes
Signed-off-by: deepanshuagarwal <deepanshu.agarwal1984@gmail.com>
* Using resolved topic name
Signed-off-by: deepanshuagarwal <deepanshu.agarwal1984@gmail.com>
* Shifting routesPostMethod to reduce its access
Signed-off-by: deepanshuagarwal <deepanshu.agarwal1984@gmail.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* Query State Preview API implementation.
Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com>
* Use latest dapr ref and fix grpc query state api
Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com>
* fix service invocation automatic unesacpe
Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com>
* add more unit tests
Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com>
* Add query state API docs
Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com>
* Fix example to be user friendly
Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com>
* Fix example in docs
Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com>
* make pagination immutable
Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
* set maxRequestsPerHost of okjava to support slow response requests and high TPS
Signed-off-by: Sky Ao <aoxiaojian@gmail.com>
* fix typo in comments
Signed-off-by: Sky Ao <aoxiaojian@gmail.com>
* update comments
Signed-off-by: Sky Ao <aoxiaojian@gmail.com>
* update javadoc
Signed-off-by: Sky Ao <aoxiaojian@gmail.com>
* Update CLI and runtime to 1.6.0-rc.x
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
* Upgrade the version to 1.5.0-SNAPSHOT
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
* 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>
* Upgrade Mockito to latest version
* Run GitHub Actions on Java 11 and 16
* Run JUnit tests with `--add-opens java.base/java.util=ALL-UNNAMED`
* Move Surefire JVM arguments to Maven property
* Update build.yml
* Update validate.yml
* simplily build singleton dapr http (#590)
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
* Add Automerge workflow (#605)
* Add Automerge workflow
The automerge workflow will check for complete and approved pull requests and will merge them automatically.
Sources:
- For the python script to execute the merge: https://raw.githubusercontent.com/dapr/dapr/master/.github/scripts/automerge.py (only changed the label from "automerge" to "auto-merge")
- https://raw.githubusercontent.com/dapr/dapr/master/.github/workflows/dapr-bot-schedule.yml (only copied the automerge part, not the prune_stale part as that was not part of the issue.
Resolves https://github.com/dapr/java-sdk/issues/603
* Update automerge-bot.yml
* Update automerge-bot.yml
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
* Cleanup Maven POM files (#604)
Added fixed versions for maven-deploy-plugin & spring-boot-maven-plugin as this would otherwise break in a future maven version.
Also fixed some indenting and removed duplicate declarations.
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
* 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>
* Run JUnit tests in all modules with java.base/java.util and java.base/java.lang opened to all modules
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: 浩 <inf2inf2@outlook.com>
Co-authored-by: Tom Cools <tom.cools@live.be>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
* 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>
Added fixed versions for maven-deploy-plugin & spring-boot-maven-plugin as this would otherwise break in a future maven version.
Also fixed some indenting and removed duplicate declarations.
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>