Artur Souza
422b920811
Split publish and build pipeline.
2021-10-14 11:01:47 -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
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
Mukundan Sundararajan
135b68c09b
Setup auto validation of java examples ( #464 )
...
* Setup auto validation of java examples
* Update README.md
* Update validate.yml
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-01-30 16:12:51 -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
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
3b34267750
Update CLI and runtime for milestone. ( #412 )
2020-12-14 17:19:37 -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
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
Artur Souza
1573a46ed4
Add release note instructions to issue template. ( #360 )
2020-10-16 00:10:38 -07:00
Nghia Tran
ff8d580990
Remove set-env usage ( #351 )
...
https://nvd.nist.gov/vuln/detail/CVE-2020-15228 advises that setenv
and add-path are not secure, so they will be disabled very shortly on
workflows. This changes set-env to the recommended upgrade.
2020-10-08 20:12:06 -07:00
Artur Souza
8de29ba713
Update dapr version to 0.11 rc. ( #344 )
2020-09-28 09:43:44 -07:00
Mukundan Sundararajan
fb8580f71b
Update state, secrets examples. Fix state toString. Ignore sdk-autogen in code coverage. ( #340 )
...
* Update state, secrets example. Fix state toString. Ignore sdk-autogen in code coverage.
* Update StateClient.java
* Update README.md
* Update Readme.md
Co-authored-by: Nghia Tran <tcnghia@gmail.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Nghia Tran <tcnghia@gmail.com>
2020-09-21 15:06:46 -07:00
Nghia Tran
9240ae81db
Add CodeCov GitHub action and badge. ( #339 )
...
* Add CodeCov GitHub action and badge.
* Change comment behavior and exclude sdk-tests.
2020-09-18 15:12:29 -07:00
Mukundan Sundararajan
f6b56bb376
Initial transaction API changes ( #337 )
...
* Initial transaction API changes
* Add more unit tests
* Refactor IT
2020-09-16 14:00:57 -07:00
Artur Souza
baab109202
Bulk get state ( #335 )
...
* unfinished work
* Working version of Bulk get state API.
Co-authored-by: Haishi2016 <hbai@microsoft.com>
2020-09-16 11:29:01 -07:00
Charlie Stanley
8d86bc6f53
Remove ref-id for 0.8.0-rc.1 release
2020-08-19 13:17:15 -07:00
Charlie Stanley
63f591e877
Add support for multi-pubsub ( #309 )
2020-08-18 18:20:17 -07:00
Mukundan Sundararajan
b62fde00cd
Change proto file commit for subscribe callback response ( #316 )
...
* Change proto file commit for subscribe callback response
* Add DAPR_CLI_REF, DAPR_REF for daprd cli arg changes
2020-08-11 14:05:17 -07:00
Artur Souza
5eba96437f
Updating build pipeline for 0.9 rc. ( #302 )
2020-07-14 18:10:11 -07:00
Artur Souza
30fc85efe6
Reference to 0.8.0-rc.0. ( #291 )
2020-06-05 18:16:48 -07:00
Artur Souza
5cf8cb13f3
Bi-directional output binding + 'data' to refer to PubSub event ( #289 )
...
* Use 'data' to refer to pubsub payload.
* Add support for bi-directional output binding.
2020-05-31 20:59:04 -07:00
Charlie Stanley
8362c6347b
SDK update for breaking changes in dapr core. ( #287 )
...
* Update proto files for 0.8.0 release (#283 )
* Bump dapr core to master
* Update integration tests for 0.8.0 proto changes
* Added unit tests to ensure StateOptions enums always map to their equivalent gRPC enums
* Remove some uneed comments/imports
* Update pub/sub subscription to match new route/metdata format (#278 )
* Automatically initialize actor on first invocation (#284 )
* Update integration tests to publish to more than one pubsub topic/route
* Bump dapr CLI version
* Remove uneeded interface and exception
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2020-05-28 18:42:01 -07:00
Artur Souza
7cf5f8b354
Update for proto from dapr runtime version 0.7 ( #273 )
2020-04-30 16:50:13 -07:00
Artur Souza
9da1e250b0
Update dapr runtime and cli. ( #261 )
2020-04-01 11:16:50 -07:00
Artur Souza
66b1cad71f
Support for GetSecret + ITs + sample. ( #249 )
2020-03-10 11:39:17 -07:00
Artur Souza
b94b20202e
Change CI to use dapr runtime 0.4.0-rc.1 ( #235 )
...
Co-authored-by: Young Bu Park <youngp@microsoft.com>
2020-02-12 14:02:46 -08:00
Artur Souza
bbbd4be648
Add support for dapr 0.4 (multi-state store) ( #199 )
...
* Updating proto file from dapr.
* Adding support for multi-state store.
* Allow PubSubIT to get accept events out of order.
Co-authored-by: Shalabh Mohan Shrivastava <shalabhms@gmail.com>
2020-02-04 13:31:57 -08:00
Artur Souza
89ad2edb19
Excluding examples from deploy command. ( #196 )
2020-01-31 19:58:09 -08:00