-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathgenerator.yaml
38 lines (38 loc) · 962 Bytes
/
generator.yaml
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
resources:
StateMachine:
fields:
Name:
is_immutable: true
Tags:
compare:
is_ignored: True
exceptions:
errors:
404:
code: StateMachineDoesNotExist
hooks:
delta_pre_compare:
code: customPreCompare(delta, a, b)
sdk_read_one_post_set_output:
template_path: hooks/statemachine/sdk_read_one_post_set_output.go.tpl
update_operation:
custom_method_name: customUpdateStateMachine
Activity:
exceptions:
errors:
404:
code: ActivityDoesNotExist
fields:
Name:
is_immutable: true
Tags:
compare:
is_ignored: True
hooks:
delta_pre_compare:
code: customPreCompare(delta, a, b)
sdk_read_one_post_set_output:
template_path: hooks/activity/sdk_read_one_post_set_output.go.tpl
update_operation:
custom_method_name: customUpdateActivity
model_name: states