Skip to content

Commit

Permalink
chore: bump validation dapr runtime to 1.15.0-rc.2 (#667)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
mikeee authored Jan 13, 2025
1 parent 2ab3420 commit c97fd6f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/validate_examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ jobs:
GOARCH: amd64
GOPROXY: https://proxy.golang.org
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/master/install/install.sh
DAPR_CLI_REF: 8bf3a1605f7b2ecfa7d4633ce4c5de13cdb65c5e
DAPR_REF: c86a77f6db5fb9f294f39d096ff0d9a053e55982
DAPR_CLI_REF: ${{ github.event.inputs.daprcli_commit }}
DAPR_REF: ${{ github.event.inputs.daprdapr_commit }}
CHECKOUT_REPO: ${{ github.repository }}
CHECKOUT_REF: ${{ github.ref }}
outputs:
DAPR_INSTALL_URL: ${{ env.DAPR_INSTALL_URL }}
DAPR_CLI_VER: ${{ steps.outputs.outputs.DAPR_CLI_VER }}
DAPR_CLI_REF: ${{ steps.outputs.outputs.DAPR_CLI_REF }}
DAPR_RUNTIME_VER: ${{ steps.outputs.outputs.DAPR_RUNTIME_VER }}
DAPR_RUNTIME_VER: 1.15.0-rc.2
CHECKOUT_REPO: ${{ steps.outputs.outputs.CHECKOUT_REPO }}
CHECKOUT_REF: ${{ steps.outputs.outputs.CHECKOUT_REF }}
DAPR_REF: ${{ steps.outputs.outputs.DAPR_REF }}
Expand Down
8 changes: 4 additions & 4 deletions examples/actor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ expected_stdout_lines:
- '== APP == get post request = laurence'
- '== APP == get req = hello'
- '== APP == get req = hello'
- '== APP == receive reminder = testReminderName state = "hello" duetime = 5s period = 5s'
- '== APP == receive reminder = testReminderName state = "hello" duetime = 5s period = 5s'
- '== APP == receive reminder = testReminderName state = "hello"'
- '== APP == receive reminder = testReminderName state = "hello"'
background: true
sleep: 30
timeout_seconds: 60
Expand Down Expand Up @@ -99,6 +99,6 @@ dapr stop --app-id actor-serving
== APP == get post request = laurence
== APP == get req = hello
== APP == get req = hello
== APP == receive reminder = testReminderName state = "hello" duetime = 5s period = 5s
== APP == receive reminder = testReminderName state = "hello" duetime = 5s period = 5s
== APP == receive reminder = testReminderName state = "hello"
== APP == receive reminder = testReminderName state = "hello"
```
2 changes: 1 addition & 1 deletion examples/actor/serving/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func (t *TestActor) IncrementAndGet(ctx context.Context, stateKey string) (*api.
}

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

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/service/client/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func main() {

in := &dapr.InvokeBindingRequest{
Name: "example-http-binding",
Operation: "create",
Operation: "get",
}
if err := client.InvokeOutputBinding(ctx, in); err != nil {
panic(err)
Expand Down
2 changes: 1 addition & 1 deletion examples/service/config/binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ spec:
version: v1
metadata:
- name: url
value: https://http2.pro/api/v1
value: https://sandbox.api.service.nhs.uk/hello-world/hello/world
- name: method
value: GET

0 comments on commit c97fd6f

Please sign in to comment.