Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/github_actions/actions/checkout-3
Browse files Browse the repository at this point in the history
  • Loading branch information
mukundansundar authored Dec 5, 2022
2 parents 8a13d47 + 7593b0e commit 66d04e0
Show file tree
Hide file tree
Showing 674 changed files with 2,192 additions and 2,018 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
GOARCH: amd64
GOPROXY: https://proxy.golang.org
JDK_VER: ${{ matrix.java }}
DAPR_CLI_VER: 1.9.0-rc.2
DAPR_RUNTIME_VER: 1.9.0-rc.3
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/v1.9.0-rc.2/install/install.sh
DAPR_CLI_VER: 1.9.1
DAPR_RUNTIME_VER: 1.9.3
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/v1.9.1/install/install.sh
DAPR_CLI_REF:
DAPR_REF:
steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
GOARCH: amd64
GOPROXY: https://proxy.golang.org
JDK_VER: ${{ matrix.java }}
DAPR_CLI_VER: 1.9.0-rc.2
DAPR_RUNTIME_VER: 1.9.0-rc.3
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/v1.9.0-rc.2/install/install.sh
DAPR_CLI_VER: 1.9.1
DAPR_RUNTIME_VER: 1.9.3
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/v1.9.1/install/install.sh
DAPR_CLI_REF:
DAPR_REF:
steps:
Expand Down
23 changes: 13 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,19 @@ For a Maven project, add the following to your `pom.xml` file:
<dependency>
<groupId>io.dapr</groupId>
<artifactId>dapr-sdk</artifactId>
<version>1.7.0</version>
<version>1.7.1</version>
</dependency>
<!-- Dapr's SDK for Actors (optional). -->
<dependency>
<groupId>io.dapr</groupId>
<artifactId>dapr-sdk-actors</artifactId>
<version>1.7.0</version>
<version>1.7.1</version>
</dependency>
<!-- Dapr's SDK integration with SpringBoot (optional). -->
<dependency>
<groupId>io.dapr</groupId>
<artifactId>dapr-sdk-springboot</artifactId>
<version>1.7.0</version>
<version>1.7.1</version>
</dependency>
...
</dependencies>
Expand All @@ -78,11 +78,11 @@ For a Gradle project, add the following to your `build.gradle` file:
dependencies {
...
// Dapr's core SDK with all features, except Actors.
compile('io.dapr:dapr-sdk:1.7.0')
compile('io.dapr:dapr-sdk:1.7.1')
// Dapr's SDK for Actors (optional).
compile('io.dapr:dapr-sdk-actors:1.7.0')
compile('io.dapr:dapr-sdk-actors:1.7.1')
// Dapr's SDK integration with SpringBoot (optional).
compile('io.dapr:dapr-sdk-springboot:1.7.0')
compile('io.dapr:dapr-sdk-springboot:1.7.1')
}
```

Expand Down Expand Up @@ -191,17 +191,20 @@ Most exceptions thrown from the SDK are instances of `DaprException`. `DaprExcep
## Development
### Update proto files
### Update URL to fetch proto files
Change the properties below in [pom.xml](./pom.xml) to point to the desired reference URL in Git. Avoid pointing to `master` branch since it can change over time and create unpredictable behavior in the build.
Change the `dapr.proto.baseurl` property below in [pom.xml](./pom.xml) to point to the URL for the desired commit hash in Git if you need to target a proto file that is not been merged into master yet.
Note: You may need to run `mvn clean` after changing this setting to remove any auto-generated files so that the new proto files get downloaded and compiled.
```xml
<project>
...
<properties>
...
<dapr.proto.url>https://raw.githubusercontent.com/dapr/dapr/v1.0.0/pkg/proto/dapr/dapr.proto</dapr.proto.url>
<dapr.client.proto.url>https://raw.githubusercontent.com/dapr/dapr/v1.0.0/pkg/proto/daprclient/daprclient.proto</dapr.client.proto.url>
<!-- change this .... -->
<dapr.proto.baseurl>https://raw.githubusercontent.com/dapr/dapr/(current ref in pom.xml)/dapr/proto</dapr.proto.baseurl>
<!-- to something like this: -->
<dapr.proto.baseurl>https://raw.githubusercontent.com/dapr/dapr/1ac5d0e8590a7d6772c9957c236351ed992ccb19/dapr/proto</dapr.proto.baseurl>
...
</properties>
...
Expand Down
23 changes: 13 additions & 10 deletions daprdocs/content/en/java-sdk-docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ For a Maven project, add the following to your `pom.xml` file:
<dependency>
<groupId>io.dapr</groupId>
<artifactId>dapr-sdk</artifactId>
<version>1.7.0</version>
<version>1.7.1</version>
</dependency>
<!-- Dapr's SDK for Actors (optional). -->
<dependency>
<groupId>io.dapr</groupId>
<artifactId>dapr-sdk-actors</artifactId>
<version>1.7.0</version>
<version>1.7.1</version>
</dependency>
<!-- Dapr's SDK integration with SpringBoot (optional). -->
<dependency>
<groupId>io.dapr</groupId>
<artifactId>dapr-sdk-springboot</artifactId>
<version>1.7.0</version>
<version>1.7.1</version>
</dependency>
...
</dependencies>
Expand All @@ -57,11 +57,11 @@ For a Gradle project, add the following to your `build.gradle` file:
dependencies {
...
// Dapr's core SDK with all features, except Actors.
compile('io.dapr:dapr-sdk:1.7.0')
compile('io.dapr:dapr-sdk:1.7.1')
// Dapr's SDK for Actors (optional).
compile('io.dapr:dapr-sdk-actors:1.7.0')
compile('io.dapr:dapr-sdk-actors:1.7.1')
// Dapr's SDK integration with SpringBoot (optional).
compile('io.dapr:dapr-sdk-springboot:1.7.0')
compile('io.dapr:dapr-sdk-springboot:1.7.1')
}
```

Expand Down Expand Up @@ -292,13 +292,16 @@ try (DaprPreviewClient client = (new DaprClientBuilder()).buildPreviewClient())
// Get configuration for a single key
Mono<ConfigurationItem> item = client.getConfiguration(CONFIG_STORE_NAME, CONFIG_KEY).block();

// Get Configurations for multiple keys
Mono<List<ConfigurationItem>> items =
// Get configurations for multiple keys
Mono<Map<String, ConfigurationItem>> items =
client.getConfiguration(CONFIG_STORE_NAME, CONFIG_KEY_1, CONFIG_KEY_2);

// Susbcribe to Confifuration changes
Flux<List<ConfigurationItem>> outFlux = client.subscribeToConfiguration(CONFIG_STORE_NAME, CONFIG_KEY_1, CONFIG_KEY_2);
// Subscribe to configuration changes
Flux<SubscribeConfigurationResponse> outFlux = client.subscribeConfiguration(CONFIG_STORE_NAME, CONFIG_KEY_1, CONFIG_KEY_2);
outFlux.subscribe(configItems -> configItems.forEach(...));

// Unsubscribe from configuration changes
Mono<UnsubscribeConfigurationResponse> unsubscribe = client.unsubscribeConfiguration(SUBSCRIPTION_ID, CONFIG_STORE_NAME)
}
```

Expand Down
14 changes: 7 additions & 7 deletions daprdocs/content/en/java-sdk-docs/_index.mdbak
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ For a Maven project, add the following to your `pom.xml` file:
<dependency>
<groupId>io.dapr</groupId>
<artifactId>dapr-sdk</artifactId>
<version>1.7.0</version>
<version>1.7.1</version>
</dependency>
<!-- Dapr's SDK for Actors (optional). -->
<dependency>
<groupId>io.dapr</groupId>
<artifactId>dapr-sdk-actors</artifactId>
<version>1.7.0</version>
<version>1.7.1</version>
</dependency>
<!-- Dapr's SDK integration with SpringBoot (optional). -->
<dependency>
<groupId>io.dapr</groupId>
<artifactId>dapr-sdk-springboot</artifactId>
<version>1.7.0</version>
<version>1.7.1</version>
</dependency>
...
</dependencies>
Expand All @@ -57,11 +57,11 @@ For a Gradle project, add the following to your `build.gradle` file:
dependencies {
...
// Dapr's core SDK with all features, except Actors.
compile('io.dapr:dapr-sdk:1.6.0')
compile('io.dapr:dapr-sdk:1.7.0')
// Dapr's SDK for Actors (optional).
compile('io.dapr:dapr-sdk-actors:1.6.0')
compile('io.dapr:dapr-sdk-actors:1.7.0')
// Dapr's SDK integration with SpringBoot (optional).
compile('io.dapr:dapr-sdk-springboot:1.6.0')
compile('io.dapr:dapr-sdk-springboot:1.7.0')
}
```

Expand All @@ -72,7 +72,7 @@ You can fix this by specifying a compatible OkHttp version in your project to ma
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>1.7.0</version>
<version>1.7.1</version>
</dependency>
```

Expand Down
6 changes: 3 additions & 3 deletions docs/allclasses-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (16) on Thu Oct 13 17:23:51 PDT 2022 -->
<title>All Classes (dapr-sdk-parent 1.7.0 API)</title>
<!-- Generated by javadoc (16) on Mon Nov 14 17:14:47 PST 2022 -->
<title>All Classes (dapr-sdk-parent 1.7.1 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-10-13">
<meta name="dc.created" content="2022-11-14">
<meta name="description" content="class index">
<meta name="generator" content="javadoc/AllClassesIndexWriter">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
Expand Down
6 changes: 3 additions & 3 deletions docs/allpackages-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (16) on Thu Oct 13 17:23:51 PDT 2022 -->
<title>All Packages (dapr-sdk-parent 1.7.0 API)</title>
<!-- Generated by javadoc (16) on Mon Nov 14 17:14:47 PST 2022 -->
<title>All Packages (dapr-sdk-parent 1.7.1 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-10-13">
<meta name="dc.created" content="2022-11-14">
<meta name="description" content="package index">
<meta name="generator" content="javadoc/AllPackagesIndexWriter">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
Expand Down
6 changes: 3 additions & 3 deletions docs/constant-values.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (16) on Thu Oct 13 17:23:51 PDT 2022 -->
<title>Constant Field Values (dapr-sdk-parent 1.7.0 API)</title>
<!-- Generated by javadoc (16) on Mon Nov 14 17:14:47 PST 2022 -->
<title>Constant Field Values (dapr-sdk-parent 1.7.1 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-10-13">
<meta name="dc.created" content="2022-11-14">
<meta name="description" content="summary of constants">
<meta name="generator" content="javadoc/ConstantsSummaryWriterImpl">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
Expand Down
6 changes: 3 additions & 3 deletions docs/deprecated-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (16) on Thu Oct 13 17:23:51 PDT 2022 -->
<title>Deprecated List (dapr-sdk-parent 1.7.0 API)</title>
<!-- Generated by javadoc (16) on Mon Nov 14 17:14:47 PST 2022 -->
<title>Deprecated List (dapr-sdk-parent 1.7.1 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-10-13">
<meta name="dc.created" content="2022-11-14">
<meta name="description" content="deprecated elements">
<meta name="generator" content="javadoc/DeprecatedListWriter">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
Expand Down
6 changes: 3 additions & 3 deletions docs/help-doc.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (16) on Thu Oct 13 17:23:51 PDT 2022 -->
<title>API Help (dapr-sdk-parent 1.7.0 API)</title>
<!-- Generated by javadoc (16) on Mon Nov 14 17:14:47 PST 2022 -->
<title>API Help (dapr-sdk-parent 1.7.1 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-10-13">
<meta name="dc.created" content="2022-11-14">
<meta name="description" content="help">
<meta name="generator" content="javadoc/HelpWriter">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
Expand Down
6 changes: 3 additions & 3 deletions docs/index-all.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (16) on Thu Oct 13 17:23:51 PDT 2022 -->
<title>Index (dapr-sdk-parent 1.7.0 API)</title>
<!-- Generated by javadoc (16) on Mon Nov 14 17:14:47 PST 2022 -->
<title>Index (dapr-sdk-parent 1.7.1 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-10-13">
<meta name="dc.created" content="2022-11-14">
<meta name="description" content="index">
<meta name="generator" content="javadoc/IndexWriter">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
Expand Down
8 changes: 4 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (16) on Thu Oct 13 17:23:51 PDT 2022 -->
<title>Overview (dapr-sdk-parent 1.7.0 API)</title>
<!-- Generated by javadoc (16) on Mon Nov 14 17:14:47 PST 2022 -->
<title>Overview (dapr-sdk-parent 1.7.1 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-10-13">
<meta name="dc.created" content="2022-11-14">
<meta name="description" content="package index">
<meta name="generator" content="javadoc/PackageIndexWriter">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
Expand Down Expand Up @@ -53,7 +53,7 @@
<div class="flex-content">
<main role="main">
<div class="header">
<h1 class="title">dapr-sdk-parent 1.7.0 API</h1>
<h1 class="title">dapr-sdk-parent 1.7.1 API</h1>
</div>
<div id="all-packages-table">
<div class="caption"><span>Packages</span></div>
Expand Down
6 changes: 3 additions & 3 deletions docs/io/dapr/Rule.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (16) on Thu Oct 13 17:23:51 PDT 2022 -->
<title>Rule (dapr-sdk-parent 1.7.0 API)</title>
<!-- Generated by javadoc (16) on Mon Nov 14 17:14:47 PST 2022 -->
<title>Rule (dapr-sdk-parent 1.7.1 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-10-13">
<meta name="dc.created" content="2022-11-14">
<meta name="description" content="declaration: package: io.dapr, annotation type: Rule">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
Expand Down
6 changes: 3 additions & 3 deletions docs/io/dapr/Topic.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (16) on Thu Oct 13 17:23:51 PDT 2022 -->
<title>Topic (dapr-sdk-parent 1.7.0 API)</title>
<!-- Generated by javadoc (16) on Mon Nov 14 17:14:47 PST 2022 -->
<title>Topic (dapr-sdk-parent 1.7.1 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-10-13">
<meta name="dc.created" content="2022-11-14">
<meta name="description" content="declaration: package: io.dapr, annotation type: Topic">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
Expand Down
6 changes: 3 additions & 3 deletions docs/io/dapr/actors/ActorId.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (16) on Thu Oct 13 17:23:51 PDT 2022 -->
<title>ActorId (dapr-sdk-parent 1.7.0 API)</title>
<!-- Generated by javadoc (16) on Mon Nov 14 17:14:47 PST 2022 -->
<title>ActorId (dapr-sdk-parent 1.7.1 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-10-13">
<meta name="dc.created" content="2022-11-14">
<meta name="description" content="declaration: package: io.dapr.actors, class: ActorId">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
Expand Down
6 changes: 3 additions & 3 deletions docs/io/dapr/actors/ActorMethod.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (16) on Thu Oct 13 17:23:51 PDT 2022 -->
<title>ActorMethod (dapr-sdk-parent 1.7.0 API)</title>
<!-- Generated by javadoc (16) on Mon Nov 14 17:14:47 PST 2022 -->
<title>ActorMethod (dapr-sdk-parent 1.7.1 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-10-13">
<meta name="dc.created" content="2022-11-14">
<meta name="description" content="declaration: package: io.dapr.actors, annotation type: ActorMethod">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
Expand Down
6 changes: 3 additions & 3 deletions docs/io/dapr/actors/ActorTrace.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (16) on Thu Oct 13 17:23:51 PDT 2022 -->
<title>ActorTrace (dapr-sdk-parent 1.7.0 API)</title>
<!-- Generated by javadoc (16) on Mon Nov 14 17:14:47 PST 2022 -->
<title>ActorTrace (dapr-sdk-parent 1.7.1 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-10-13">
<meta name="dc.created" content="2022-11-14">
<meta name="description" content="declaration: package: io.dapr.actors, class: ActorTrace">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
Expand Down
6 changes: 3 additions & 3 deletions docs/io/dapr/actors/ActorType.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (16) on Thu Oct 13 17:23:51 PDT 2022 -->
<title>ActorType (dapr-sdk-parent 1.7.0 API)</title>
<!-- Generated by javadoc (16) on Mon Nov 14 17:14:47 PST 2022 -->
<title>ActorType (dapr-sdk-parent 1.7.1 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-10-13">
<meta name="dc.created" content="2022-11-14">
<meta name="description" content="declaration: package: io.dapr.actors, annotation type: ActorType">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
Expand Down
Loading

0 comments on commit 66d04e0

Please sign in to comment.