-
Notifications
You must be signed in to change notification settings - Fork 13
/
StartAndWait.http
54 lines (39 loc) · 1.72 KB
/
StartAndWait.http
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
POST http://localhost:7071/api/startandwait/LargeMessageOrchestrator
Content-Type: application/json
10
### Start the Hello Name Orchestrator Function and wait until it has finished
### using the default values the Durable Functions extension uses.
POST http://localhost:7071/api/startandwait/HelloNameOrchestrator
Content-Type: application/json
"I ❤ Serverless (using defaults)"
### Start the Hello Name Orchestrator Function and wait until it has finished
### using the speficied timeout value.
POST http://localhost:7071/api/startandwait/HelloNameOrchestrator
?timeout=8
Content-Type: application/json
"I ❤ Serverless (only timeout)"
### Start the Hello Name Orchestrator Function and wait until it has finished
### using the specified values for timeout and retry interval.
POST http://localhost:7071/api/startandwait/HelloNameOrchestrator
?timeout=12
&interval=2
Content-Type: application/json
"I ❤ Serverless (timeout and interval)"
### Start the LongRunning Orchestrator Function.
### The Execution time will be longer than the timeout so the
### StatusResponseMessage is returned instead of the orchestrator result.
POST http://localhost:7071/api/startandwait/LongRunningOrchestrator
?timeout=12
&interval=2
Content-Type: application/json
20
### Checks the status of an orchestrator function.
### Update this orchestratorInstanceId so it matches the ID of your
### running orchestrator instance.
@orchestratorInstanceId = d8b1daa9c048474fb89c1139c981f12d
@storageCode = jLm5dvj2FG6pIVhnZaI2Pf5InGpM1uMoRkhzFRGnmnL3LPWsQ5a3ag==
@hubName=DurableDemo
GET http://localhost:7071/runtime/webhooks/durabletask/instances/{{orchestratorInstanceId}}
?taskHub={{hubName}}
&connection=Storage
&code={{storageCode}}