Skip to content

Commit c97fd6f

Browse files
authored
chore: bump validation dapr runtime to 1.15.0-rc.2 (#667)
* chore: bump validation dapr runtime to 1.15.0-rc.2 Signed-off-by: Mike Nguyen <[email protected]> * fix: replace dead api Signed-off-by: Mike Nguyen <[email protected]> * fix: remove duetime and period The scheduler reminders subsystem now being the default Signed-off-by: Mike Nguyen <[email protected]> --------- Signed-off-by: Mike Nguyen <[email protected]>
1 parent 2ab3420 commit c97fd6f

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.github/workflows/validate_examples.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ jobs:
3232
GOARCH: amd64
3333
GOPROXY: https://proxy.golang.org
3434
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/master/install/install.sh
35-
DAPR_CLI_REF: 8bf3a1605f7b2ecfa7d4633ce4c5de13cdb65c5e
36-
DAPR_REF: c86a77f6db5fb9f294f39d096ff0d9a053e55982
35+
DAPR_CLI_REF: ${{ github.event.inputs.daprcli_commit }}
36+
DAPR_REF: ${{ github.event.inputs.daprdapr_commit }}
3737
CHECKOUT_REPO: ${{ github.repository }}
3838
CHECKOUT_REF: ${{ github.ref }}
3939
outputs:
4040
DAPR_INSTALL_URL: ${{ env.DAPR_INSTALL_URL }}
4141
DAPR_CLI_VER: ${{ steps.outputs.outputs.DAPR_CLI_VER }}
4242
DAPR_CLI_REF: ${{ steps.outputs.outputs.DAPR_CLI_REF }}
43-
DAPR_RUNTIME_VER: ${{ steps.outputs.outputs.DAPR_RUNTIME_VER }}
43+
DAPR_RUNTIME_VER: 1.15.0-rc.2
4444
CHECKOUT_REPO: ${{ steps.outputs.outputs.CHECKOUT_REPO }}
4545
CHECKOUT_REF: ${{ steps.outputs.outputs.CHECKOUT_REF }}
4646
DAPR_REF: ${{ steps.outputs.outputs.DAPR_REF }}

examples/actor/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ expected_stdout_lines:
1717
- '== APP == get post request = laurence'
1818
- '== APP == get req = hello'
1919
- '== APP == get req = hello'
20-
- '== APP == receive reminder = testReminderName state = "hello" duetime = 5s period = 5s'
21-
- '== APP == receive reminder = testReminderName state = "hello" duetime = 5s period = 5s'
20+
- '== APP == receive reminder = testReminderName state = "hello"'
21+
- '== APP == receive reminder = testReminderName state = "hello"'
2222
background: true
2323
sleep: 30
2424
timeout_seconds: 60
@@ -99,6 +99,6 @@ dapr stop --app-id actor-serving
9999
== APP == get post request = laurence
100100
== APP == get req = hello
101101
== APP == get req = hello
102-
== APP == receive reminder = testReminderName state = "hello" duetime = 5s period = 5s
103-
== APP == receive reminder = testReminderName state = "hello" duetime = 5s period = 5s
102+
== APP == receive reminder = testReminderName state = "hello"
103+
== APP == receive reminder = testReminderName state = "hello"
104104
```

examples/actor/serving/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func (t *TestActor) IncrementAndGet(ctx context.Context, stateKey string) (*api.
124124
}
125125

126126
func (t *TestActor) ReminderCall(reminderName string, state []byte, dueTime string, period string) {
127-
fmt.Println("receive reminder = ", reminderName, " state = ", string(state), "duetime = ", dueTime, "period = ", period)
127+
fmt.Println("receive reminder = ", reminderName, " state = ", string(state))
128128
}
129129

130130
func main() {

examples/service/client/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func main() {
9595

9696
in := &dapr.InvokeBindingRequest{
9797
Name: "example-http-binding",
98-
Operation: "create",
98+
Operation: "get",
9999
}
100100
if err := client.InvokeOutputBinding(ctx, in); err != nil {
101101
panic(err)

examples/service/config/binding.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ spec:
77
version: v1
88
metadata:
99
- name: url
10-
value: https://http2.pro/api/v1
10+
value: https://sandbox.api.service.nhs.uk/hello-world/hello/world
1111
- name: method
1212
value: GET

0 commit comments

Comments
 (0)