Commit ec36926
authored
SAA drop type and task queue (#959)
## What was changed
Drop execution type and task queue from start standalone activity output
## Why?
They are not currently guaranteed correct in the
`conflictPolicy=UseExisting` case
## Testing
```
$ temporal activity start --start-to-close-timeout 1s --task-queue hello-standalone-activity-task-queue --type compose_greeting --activity-id act-1 --input '{"greeting": "mygreeting", "name": "myname"}'
Running execution:
ActivityId act-1
RunId 019cd407-83cc-7c8e-ba17-5a3125e4e7cd
Namespace default
$ temporal activity result -a act-1
Results:
Status COMPLETED
Result "mygreeting, myname!"
$ temporal activity start --start-to-close-timeout 1s --task-queue hello-standalone-activity-task-queue --type compose_greeting --activity-id act-2 -o json --input '{"greeting": "mygreeting", "name": "myname"}'
{
"activityId": "act-2",
"runId": "019cd408-38a3-7e15-8b36-58f966f156de",
"namespace": "default"
}
```1 parent 1e42cea commit ec36926
2 files changed
Lines changed: 3 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | 118 | | |
120 | | - | |
121 | 119 | | |
122 | 120 | | |
123 | 121 | | |
124 | | - | |
125 | 122 | | |
126 | | - | |
127 | 123 | | |
128 | 124 | | |
129 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
545 | | - | |
546 | 545 | | |
547 | | - | |
548 | 546 | | |
549 | 547 | | |
550 | 548 | | |
| |||
561 | 559 | | |
562 | 560 | | |
563 | 561 | | |
564 | | - | |
565 | 562 | | |
566 | | - | |
567 | 563 | | |
568 | 564 | | |
569 | 565 | | |
| |||
0 commit comments