-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimport.yaml
129 lines (121 loc) · 2.58 KB
/
import.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
flags:
- key: boolean-flag
type: BOOLEAN_FLAG_TYPE
name: Boolean Flag
enabled: true
- key: string-flag
name: String Flag
enabled: true
variants:
- key: hi
name: greeting
- key: bye
name: parting
rules:
- segment: true-segment
rank: 1
distributions:
- variant: hi
rollout: 100
- key: integer-flag
name: Integer Flag
enabled: true
variants:
- key: 1
name: one
- key: 10
name: ten
rules:
- segment: true-segment
rank: 1
distributions:
- variant: 10
rollout: 100
- key: float-flag
name: Float Flag
enabled: true
variants:
- key: 0.1
name: tenth
- key: 0.5
name: half
rules:
- segment: true-segment
rank: 1
distributions:
- variant: 0.5
rollout: 100
- key: object-flag
name: Object Flag
enabled: true
variants:
- key: empty
name: empty
attachment: {}
- key: template
name: template
attachment:
showImages: true
title: Check out these pics!
imagesPerPage: 100
rules:
- segment: true-segment
rank: 1
distributions:
- variant: template
rollout: 100
- key: context-aware
name: Context Aware
enabled: true
variants:
- key: internal
name: Internal
- key: external
name: External
rules:
- segment: context-aware
rank: 1
distributions:
- variant: internal
rollout: 100
- key: wrong-flag
name: Wrong Flag
enabled: true
variants:
- key: one
value: uno
- key: two
value: dos
rules:
- segment: true-segment
rank: 1
distributions:
- variant: one
rollout: 100
segments:
- key: true-segment
name: Boolean Segment
match_type: "ANY_MATCH_TYPE"
constraints:
- type: BOOLEAN_COMPARISON_TYPE
property: evaluate
operator: true
- key: context-aware
name: Context Aware
match_type: "ALL_MATCH_TYPE"
constraints:
- type: STRING_COMPARISON_TYPE
property: fn
operator: eq
value: Sulisław
- type: STRING_COMPARISON_TYPE
property: ln
operator: eq
value: Świętopełk
- type: NUMBER_COMPARISON_TYPE
property: age
operator: eq
value: 29
- type: BOOLEAN_COMPARISON_TYPE
property: customer
operator: false