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 <hey@mike.ee>

* fix: replace dead api

Signed-off-by: Mike Nguyen <hey@mike.ee>

* fix: remove duetime and period

The scheduler reminders subsystem now being the default

Signed-off-by: Mike Nguyen <hey@mike.ee>

---------

Signed-off-by: Mike Nguyen <hey@mike.ee>
This commit is contained in:
Mike Nguyen 2025-01-13 16:37:02 +00:00 committed by GitHub
parent 2ab3420adc
commit c97fd6f30d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 10 additions and 10 deletions

View File

@ -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 }}

View File

@ -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
@ -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"
```

View File

@ -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() {

View File

@ -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)

View File

@ -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