@@ -71,127 +71,196 @@ gateway:
71
71
kind : " {{ .Values.gateway.target.kind }}"
72
72
name : " {{ include \" hedera-mirror-rest.fullname\" $ }}"
73
73
port : 80
74
- matches :
75
- # Account Endpoints
74
+ matches : |
75
+ # Airdrops
76
+ {{- if false }}
76
77
- path:
77
78
type: RegularExpression
78
79
value: '/api/v1/accounts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/airdrops/outstanding$'
80
+ {{- end }}
81
+ {{- if false }}
79
82
- path:
80
83
type: RegularExpression
81
84
value: '/api/v1/accounts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/airdrops/pending'
85
+ {{- end }}
86
+ {{- if true }}
87
+ # Accounts
82
88
- path:
83
89
type: RegularExpression
84
90
value: '/api/v1/accounts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/allowances/crypto'
91
+ {{- end }}
92
+ {{- if true }}
85
93
- path:
86
94
type: RegularExpression
87
95
value: '/api/v1/accounts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/allowances/tokens'
96
+ {{- end }}
97
+ {{- if false }}
88
98
- path:
89
99
type: RegularExpression
90
100
value: '/api/v1/accounts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/allowances/nfts'
101
+ {{- end }}
102
+ {{- if true }}
91
103
- path:
92
104
type: RegularExpression
93
105
value: '/api/v1/accounts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/nfts'
106
+ {{- end }}
107
+ {{- if true }}
94
108
- path:
95
109
type: RegularExpression
96
110
value: '/api/v1/accounts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/rewards'
111
+ {{- end }}
112
+ {{- if true }}
97
113
- path:
98
114
type: RegularExpression
99
115
value: '/api/v1/accounts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/tokens'
100
- # Balances Endpoint
116
+ {{- end }}
117
+ # Balances
118
+ {{- if true }}
101
119
- path:
102
120
type: PathPrefix
103
121
value: /api/v1/balances
104
- # Block Endpoints
122
+ {{- end }}
123
+ # Blocks
124
+ {{- if true }}
105
125
- path:
106
126
type: RegularExpression
107
127
value: '/api/v1/blocks/((0x)?[0-9a-fA-F]+|\d+)$'
128
+ {{- end }}
129
+ {{- if true }}
108
130
- path:
109
131
type: PathPrefix
110
132
value: /api/v1/blocks
111
- # Contract Endpoints
133
+ {{- end }}
134
+ # Contracts
135
+ {{- if true }}
112
136
- path:
113
137
type: RegularExpression
114
138
value: '/api/v1/contracts/results/[0-9a-zA-Z.-]+/actions$'
139
+ {{- end }}
140
+ {{- if true }}
115
141
- path:
116
142
type: RegularExpression
117
143
value: '/api/v1/contracts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/results/logs$'
144
+ {{- end }}
145
+ {{- if true }}
118
146
- path:
119
147
type: RegularExpression
120
148
value: '/api/v1/contracts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/results/\d{10}\.\d{9}$'
149
+ {{- end }}
150
+ {{- if true }}
121
151
- path:
122
152
type: RegularExpression
123
153
value: '/api/v1/contracts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/results$'
154
+ {{- end }}
155
+ {{- if true }}
124
156
- path:
125
157
type: RegularExpression
126
158
value: '/api/v1/contracts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/state$'
159
+ {{- end }}
160
+ {{- if true }}
127
161
- path:
128
162
type: RegularExpression
129
163
value: '/api/v1/contracts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))$'
164
+ {{- end }}
165
+ {{- if true }}
130
166
- path:
131
167
type: RegularExpression
132
168
value: '/api/v1/contracts/results/[0-9a-zA-Z.-]+$'
169
+ {{- end }}
170
+ {{- if true }}
133
171
- path:
134
172
type: PathPrefix
135
173
value: /api/v1/contracts/results/logs
174
+ {{- end }}
175
+ {{- if true }}
136
176
- path:
137
177
type: PathPrefix
138
178
value: /api/v1/contracts/results
179
+ {{- end }}
180
+ {{- if true }}
139
181
- path:
140
182
type: PathPrefix
141
183
value: /api/v1/contracts
142
- # Message Endpoints
143
- - path :
144
- type : RegularExpression
145
- value : ' /api/v1/messages/\d{10}\.\d{9}$'
146
- # Network Endpoints
184
+ {{- end }}
185
+ # Network
186
+ {{- if true }}
147
187
- path:
148
188
type: PathPrefix
149
189
value: /api/v1/network/exchangerate
190
+ {{- end }}
191
+ {{- if true }}
150
192
- path:
151
193
type: PathPrefix
152
194
value: /api/v1/network/fees
195
+ {{- end }}
196
+ {{- if true }}
153
197
- path:
154
198
type: PathPrefix
155
199
value: /api/v1/network/nodes
200
+ {{- end }}
201
+ {{- if true }}
156
202
- path:
157
203
type: PathPrefix
158
204
value: /api/v1/network/stake
205
+ {{- end }}
206
+ {{- if true }}
159
207
- path:
160
208
type: PathPrefix
161
209
value: /api/v1/network/supply
162
- # Schedule Endpoints
210
+ {{- end }}
211
+ # Schedules
212
+ {{- if true }}
163
213
- path:
164
214
type: RegularExpression
165
215
value: '/api/v1/schedules/\d+\.\d+\.\d+$'
216
+ {{- end }}
217
+ {{- if true }}
166
218
- path:
167
219
type: PathPrefix
168
220
value: /api/v1/schedules
169
- # Token Endpoints
221
+ {{- end }}
222
+ # Tokens
223
+ {{- if true }}
170
224
- path:
171
225
type: RegularExpression
172
226
value: '/api/v1/tokens/(\d+\.\d+\.\d+|(0x)?[A-Fa-f0-9]{40})/nfts/\d+/transactions$'
227
+ {{- end }}
228
+ {{- if true }}
173
229
- path:
174
230
type: RegularExpression
175
231
value: '/api/v1/tokens/(\d+\.\d+\.\d+|(0x)?[A-Fa-f0-9]{40})/nfts/\d+$'
232
+ {{- end }}
233
+ {{- if true }}
176
234
- path:
177
235
type: RegularExpression
178
236
value: '/api/v1/tokens/(\d+\.\d+\.\d+|(0x)?[A-Fa-f0-9]{40})/nfts$'
237
+ {{- end }}
238
+ {{- if true }}
179
239
- path:
180
240
type: RegularExpression
181
241
value: '/api/v1/tokens/(\d+\.\d+\.\d+|(0x)?[A-Fa-f0-9]{40})/balances$'
242
+ {{- end }}
243
+ {{- if true }}
182
244
- path:
183
245
type: RegularExpression
184
246
value: '/api/v1/tokens/(\d+\.\d+\.\d+|(0x)?[A-Fa-f0-9]{40})$'
247
+ {{- end }}
248
+ {{- if true }}
185
249
- path:
186
250
type: PathPrefix
187
251
value: /api/v1/tokens
188
- # Topic Message Endpoints
252
+ {{- end }}
253
+ # Topics
254
+ {{- if true }}
189
255
- path:
190
256
type: RegularExpression
191
257
value: '/api/v1/topics/\d+\.\d+\.\d+/messages/\d+$'
258
+ {{- end }}
259
+ {{- if true }}
192
260
- path:
193
261
type: RegularExpression
194
262
value: '/api/v1/topics/\d+\.\d+\.\d+/messages$'
263
+ {{- end }}
195
264
target :
196
265
group : " "
197
266
kind : Service
@@ -235,15 +304,16 @@ ingress:
235
304
hosts :
236
305
- host : " "
237
306
paths :
238
- # Account Endpoints
307
+ # Airdrops
239
308
- path : ' /api/v1/accounts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/airdrops/outstanding$'
240
- enabled : true
309
+ enabled : false
241
310
- path : ' /api/v1/accounts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/airdrops/pending'
242
- enabled : true
311
+ enabled : false
312
+ # Accounts
243
313
- path : ' /api/v1/accounts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/allowances/crypto'
244
314
enabled : true
245
315
- path : ' /api/v1/accounts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/allowances/nfts'
246
- enabled : true
316
+ enabled : false
247
317
- path : ' /api/v1/accounts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/allowances/tokens'
248
318
enabled : true
249
319
- path : ' /api/v1/accounts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/nfts'
@@ -252,15 +322,15 @@ ingress:
252
322
enabled : true
253
323
- path : ' /api/v1/accounts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/tokens'
254
324
enabled : true
255
- # Balances Endpoint
325
+ # Balances
256
326
- path : /api/v1/balances
257
327
enabled : true
258
- # Block Endpoints
328
+ # Blocks
259
329
- path : ' /api/v1/blocks/((0x)?[0-9a-fA-F]+|\d+)$'
260
330
enabled : true
261
331
- path : /api/v1/blocks
262
332
enabled : true
263
- # Contract Endpoints
333
+ # Contracts
264
334
- path : ' /api/v1/contracts/results/[0-9a-zA-Z.-]+/actions$'
265
335
enabled : true
266
336
- path : ' /api/v1/contracts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/results/logs$'
@@ -281,10 +351,7 @@ ingress:
281
351
enabled : true
282
352
- path : /api/v1/contracts
283
353
enabled : true
284
- # Message Endpoints
285
- - path : ' /api/v1/messages/\d{10}\.\d{9}$'
286
- enabled : true
287
- # Network Endpoints
354
+ # Network
288
355
- path : /api/v1/network/exchangerate
289
356
enabled : true
290
357
- path : /api/v1/network/fees
@@ -295,12 +362,12 @@ ingress:
295
362
enabled : true
296
363
- path : /api/v1/network/supply
297
364
enabled : true
298
- # Schedule Endpoints
365
+ # Schedules
299
366
- path : ' /api/v1/schedules/\d+\.\d+\.\d+$'
300
367
enabled : true
301
368
- path : /api/v1/schedules
302
369
enabled : true
303
- # Token Endpoints
370
+ # Tokens
304
371
- path : ' /api/v1/tokens/(\d+\.\d+\.\d+|(0x)?[A-Fa-f0-9]{40})/nfts/\d+/transactions$'
305
372
enabled : true
306
373
- path : ' /api/v1/tokens/(\d+\.\d+\.\d+|(0x)?[A-Fa-f0-9]{40})/nfts/\d+$'
@@ -313,7 +380,7 @@ ingress:
313
380
enabled : true
314
381
- path : /api/v1/tokens
315
382
enabled : true
316
- # Topic Message Endpoints
383
+ # Topics
317
384
- path : ' /api/v1/topics/\d+\.\d+\.\d+/messages/\d+$'
318
385
enabled : true
319
386
- path : ' /api/v1/topics/\d+\.\d+\.\d+/messages$'
0 commit comments