Commit Graph

89 Commits

Author SHA1 Message Date
Artur Souza 5a2833ca63
Update Dapr and CLI to 1.9 RC1 (#795)
* Update Dapr and CLI to 1.9 RC1

Signed-off-by: Artur Souza <artursouza.ms@outlook.com>

* Fix HTTP service invocation without content-type.

Signed-off-by: Artur Souza <artursouza.ms@outlook.com>

* Update RCs.

Signed-off-by: Artur Souza <artursouza.ms@outlook.com>

Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
2022-10-03 11:21:16 -07:00
Pravin Pushkar 04e7298702
Config API : HTTP APIs and Unsubscribe gRPC API changes (#740)
* Config API : Unsubscribe config items changes

Signed-off-by: pravinpushkar <ppushkar@microsoft.com>

* Unit and integration tests changes

Signed-off-by: pravinpushkar <ppushkar@microsoft.com>

* Addressing review comments

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* GetConfiguration HTTP API impl

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Subscribe and Unsubscribe HTTP changes

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Subscribe config http changes

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Http unsubscribe and unit tests

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Integration tests for http config apis

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Fixing lint

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Chnaging rersponse of HTTP Unsubscribe API

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Fix integration test failure

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* refactor IT tests

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* code clean up

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* setting dapr ref

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Update readme

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Modify Unit tests

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Remove failing buggy tests

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* fix review commnets and integration tests

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* trigger pr check

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Fix for getAll keys

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Fix subscribe All

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Move http subscribe handle to dapr controller

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Simplified examples

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* change dapr ref, and add unit test

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* trigger pr checks

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* trigger pr checks

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Use biConsumer to register handlers

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Re use args contructors and re add final modifier

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* put dapr run back

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* fix nitpick

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Remove the springboot HTTP "convenience".

Signed-off-by: Artur Souza <artursouza.ms@outlook.com>

Signed-off-by: pravinpushkar <ppushkar@microsoft.com>
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2022-09-29 20:37:46 -07:00
addjuarez 2cc9e536c8
Update sdk to use configuration dictionaries (#769)
* Update sdk to use configuration maps

Signed-off-by: addjuarez <addiajuarez@gmail.com>

* add ref

Signed-off-by: addjuarez <addiajuarez@gmail.com>

* add ref validate

Signed-off-by: addjuarez <addiajuarez@gmail.com>

* go 1.19

Signed-off-by: addjuarez <addiajuarez@gmail.com>

* fix it test

Signed-off-by: addjuarez <addiajuarez@gmail.com>

* update comments

Signed-off-by: addjuarez <addiajuarez@gmail.com>

* use immutable maps

Signed-off-by: addjuarez <addiajuarez@gmail.com>

Signed-off-by: addjuarez <addiajuarez@gmail.com>
2022-09-05 19:28:34 -07:00
Mukundan Sundararajan 2c62f5db3e
test with 1.8 rc3 and cli rc1 (#754)
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-06-24 13:54:30 -07:00
Artur Souza a9672c4438
Update Dapr runtime to 1.8 RC2. (#752)
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
2022-06-23 09:58:52 -07:00
dependabot[bot] b70a9e1057
Bump codecov/codecov-action from 2.1.0 to 3.1.0 (#735)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.1.0 to 3.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2.1.0...v3.1.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-05 16:56:10 +05:30
dependabot[bot] 39da710120
Bump fossas/fossa-action from 1.1.0 to 1.3.1 (#737)
Bumps [fossas/fossa-action](https://github.com/fossas/fossa-action) from 1.1.0 to 1.3.1.
- [Release notes](https://github.com/fossas/fossa-action/releases)
- [Commits](https://github.com/fossas/fossa-action/compare/v1.1.0...v1.3.1)

---
updated-dependencies:
- dependency-name: fossas/fossa-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-05 16:25:57 +05:30
www e2d4d1e1ea
replace vault to local (#719)
* replace vault to local

Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com>

* change secret store name style

Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com>

* delete vault token file

Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com>

* remove vault int validate.yml

Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com>

* fix it secret case

Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com>

* replace vault to local

Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com>

* change secret store name style

Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com>

* delete vault token file

Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com>

* remove vault int validate.yml

Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com>

* fix it secret case

Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com>

* fix it dead loop

Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com>

Co-authored-by: zjx244729 <zjx244729@alibaba-inc.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-05-05 13:55:13 +05:30
Shubham Sharma 65936ee963
Pin fossa-action version (#734)
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-04-19 22:51:54 +05:30
dependabot[bot] 81ebd763cd
Bump actions/setup-go from 2 to 3 (#731)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-10 22:00:43 -07:00
Artur Souza bfe7f3842a
Update to 1.7.0-rc2 (#720)
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
2022-03-30 18:30:00 -07:00
tanvigour 1ce67387b6
IT test for long values (#713)
* 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>
2022-03-29 15:06:41 -07:00
Mukundan Sundararajan 06d92dafca
Query State Preview API implementation. (#697)
* 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>
2022-03-20 21:03:11 -07:00
Shubham Sharma 904dbe0b18
Update FOSSA workflow condition to not run on Forks (#706)
* Add workflow and badge

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Encode space in URL

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Update FOSSA workflow condition

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-03-15 02:32:46 -07:00
Shubham Sharma eb215fbb3b
Add FOSSA workflow and badge (#703)
* Add workflow and badge

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Encode space in URL

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-03-15 09:51:11 +05:30
dependabot[bot] 36763ea16f
Bump actions/checkout from 2 to 3 (#699)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 08:57:47 +05:30
dependabot[bot] 6bb29072ac
Bump actions/github-script from 5 to 6 (#684)
Bumps [actions/github-script](https://github.com/actions/github-script) from 5 to 6.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-05 22:04:40 +05:30
dependabot[bot] 70d88e71c4
Bump actions/setup-java from 2.5.0 to 3 (#696)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2.5.0 to 3.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2.5.0...v3)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 22:19:40 +05:30
Mukundan Sundararajan 4c077e1de2
fix github action for dapr comment analyzer bot (#680)
Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com>

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2022-01-27 11:00:40 -08:00
Artur Souza 0c2fcb48a2
Update for next release: 1.5.0 snapshot (#672)
* 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>
2022-01-18 12:28:35 +05:30
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
dependabot[bot] d8b8a5b4a8
Bump actions/setup-java from 2.4.0 to 2.5.0 (#668)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2.4.0...v2.5.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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>
2022-01-10 20:48:08 +05:30
dependabot[bot] 413a036c58
Bump actions/github-script from 1 to 5 (#655)
Bumps [actions/github-script](https://github.com/actions/github-script) from 1 to 5.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v1...v5)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-17 13:59:23 -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
Artur Souza f31734d277
Fix vault example + Upgrade Dapr CLI and runtime. (#666)
* Upgrade Dapr CLI and runtime.

Signed-off-by: Artur Souza <artursouza.ms@outlook.com>

* Fix expected vault output.

Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
2021-12-08 18:39:53 -08:00
dependabot[bot] 513ca429c0
Bump actions/setup-java from 2.3.1 to 2.4.0 (#663)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2.3.1...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-07 14:22:09 -08:00
Mukundan Sundararajan 05bf66e0d4
Add auto-assign dapr_bot workflow (#654) 2021-11-12 14:22:23 -08:00
Artur Souza 6ee25196fd
Split build and publish steps in pipeline. (#644)
* Split build and publish steps in pipeline.

* Update build.yml
2021-10-14 10:57:32 -07:00
dependabot[bot] ed43ba20c0
Bump codecov/codecov-action from 2.0.3 to 2.1.0 (#635)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.0.3 to 2.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2.0.3...v2.1.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-11 16:26:22 -07:00
dependabot[bot] 8d9a171be8
Bump actions/setup-java from 2.3.0 to 2.3.1 (#637)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2.3.0...v2.3.1)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-06 11:52:36 -07:00
Artur Souza 3561d68e6b
Update dapr and proto version to 1.4 RCs. (#628)
* Update dapr and proto version to 1.4 RCs.

* Fix publish to only run with JDK 11.
2021-09-10 15:55:03 -07:00
dependabot[bot] e22de39f43
Bump actions/setup-java from 2.2.0 to 2.3.0 (#610)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2.2.0...v2.3.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
2021-08-30 22:30:38 -07:00
dependabot[bot] bab9d85620
Bump codecov/codecov-action from 2.0.2 to 2.0.3 (#609)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2.0.2...v2.0.3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-30 16:00:52 -07:00
Maarten Mulders 70e18d8b5a
Prepare build for Java16 (#598)
* 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>
2021-08-30 15:32:32 -07:00
Tom Cools a9397abce0
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>
2021-08-20 18:27:33 -07:00
dependabot[bot] d423e326f3
Bump actions/setup-java from 2.1.0 to 2.2.0 (#595)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-17 15:23:14 -07:00
dependabot[bot] df54a5dc2c
Bump codecov/codecov-action from 1 to 2.0.2 (#584)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1 to 2.0.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1...v2.0.2)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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>
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
2021-07-30 11:52:22 -07:00
Artur Souza 94448a9f09
Update to use runtime and CLI 1.3 RC1. (#580) 2021-07-19 09:19:28 -07:00
dependabot[bot] fdbd084fd4
Bump actions/setup-java from 1 to 2.1.0 (#572)
* Bump actions/setup-java from 1 to 2.1.0

Bumps [actions/setup-java](https://github.com/actions/setup-java) from 1 to 2.1.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v1...v2.1.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update build.yml

* Update validate.yml

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-07-12 15:37:49 -07:00
Bernd Verst 527d6c6aa9
Enable dependabot for all packages. (#570)
* Enable dependabot for all packages.

* Make dependabot PRs against special branch
2021-07-02 18:30:04 -07:00
Artur Souza 27ce598369
Bring back stop examples, use 1.2 RCs (#548)
* Revert "Update refs to release-1.2-rc1 (#547)"

This reverts commit 30c008939a.

* Update CLI and daprd to 1.2.0 RCs.
2021-05-19 13:08:05 -07:00
halspang 30c008939a
Update refs to release-1.2-rc1 (#547) 2021-05-18 20:28:37 -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
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 157d5bef11 Auto-validation for tracing sample. 2021-03-10 23:59:27 -08:00
Mukundan Sundararajan 99c3794a62
update CLI version to rc6 (#489) 2021-02-12 08:26:58 -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 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 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