Skip to content

Commit 14edf50

Browse files
committed
save
1 parent f4f0b95 commit 14edf50

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

samples/ScheduleWebApp/Properties/launchSettings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"applicationUrl": "http://localhost:5008",
1515
"dotnetRunMessages": true,
1616
"environmentVariables": {
17-
"ASPNETCORE_ENVIRONMENT": "Development"
17+
"ASPNETCORE_ENVIRONMENT": "Development",
18+
"DURABLE_TASK_SCHEDULER_CONNECTION_STRING": "Endpoint=https://wbtestschedule01-g7fvgkfhe4ac.eastus2euap.durabletask.io;TaskHub=wbtestschedule01th01;Authentication=DefaultAzure"
1819
}
1920
}
2021
}

samples/ScheduleWebApp/ScheduleWebApp.http

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ Content-Type: application/json
99

1010
{
1111
"id": "{{scheduleId}}",
12-
"orchestrationName": "CacheClearingOrchestrator",
12+
"orchestrationName": "CacheClearingOrchestrator",
1313
"input": "{{scheduleId}}",
14-
"interval": "PT10S"
14+
"interval": "00:00:10"
1515
}
1616

1717
### Get a specific schedule by ID
@@ -25,7 +25,7 @@ PUT {{baseUrl}}/schedules/{{scheduleId}}
2525
Content-Type: application/json
2626

2727
{
28-
"interval": "PT20S"
28+
"interval": "00:00:20"
2929
}
3030

3131
### Pause a schedule
@@ -40,7 +40,12 @@ DELETE {{baseUrl}}/schedules/{{scheduleId}}
4040
### Tips:
4141
# - Replace the baseUrl variable if your application runs on a different port
4242
# - The scheduleId variable can be changed to test different schedule instances
43-
# - Time intervals use ISO 8601 format (PT1H = 1 hour, PT30M = 30 minutes)
43+
# - Time intervals use TimeSpan format (hh:mm:ss)
44+
# Examples:
45+
# - "00:00:10" = 10 seconds
46+
# - "00:30:00" = 30 minutes
47+
# - "01:00:00" = 1 hour
48+
# - "24:00:00" = 1 day
4449
# - Dates are in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ)
4550
# - You can use the REST Client extension in VS Code to execute these requests
4651
# - The @name directive allows referencing the response in subsequent requests

0 commit comments

Comments
 (0)