Skip to content

Commit f8d1c84

Browse files
author
Sanchit Garg
committed
PLUGIN-1823: Add propertiess to widget json
1 parent 3f332d1 commit f8d1c84

File tree

3 files changed

+93
-0
lines changed

3 files changed

+93
-0
lines changed

mariadb-plugin/widgets/Mariadb-batchsink.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,37 @@
166166
}
167167
}
168168
]
169+
},
170+
{
171+
"properties": [
172+
{
173+
"widget-type": "hidden",
174+
"label": "Initial Retry Duration (sec)",
175+
"name": "initialRetryDuration",
176+
"widget-attributes": {
177+
"default": 5,
178+
"minimum": 0
179+
}
180+
},
181+
{
182+
"widget-type": "hidden",
183+
"label": "Maximum Retry Duration (sec)",
184+
"name": "maxRetryDuration",
185+
"widget-attributes": {
186+
"default": 80,
187+
"minimum": 0
188+
}
189+
},
190+
{
191+
"widget-type": "hidden",
192+
"label": "Maximum Retry Count",
193+
"name": "maxRetryCount",
194+
"widget-attributes": {
195+
"default": 5,
196+
"minimum": 0
197+
}
198+
}
199+
]
169200
}
170201
],
171202
"outputs": [],

mariadb-plugin/widgets/Mariadb-batchsource.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,37 @@
217217
}
218218
}
219219
]
220+
},
221+
{
222+
"properties": [
223+
{
224+
"widget-type": "hidden",
225+
"label": "Initial Retry Duration (sec)",
226+
"name": "initialRetryDuration",
227+
"widget-attributes": {
228+
"default": 5,
229+
"minimum": 0
230+
}
231+
},
232+
{
233+
"widget-type": "hidden",
234+
"label": "Maximum Retry Duration (sec)",
235+
"name": "maxRetryDuration",
236+
"widget-attributes": {
237+
"default": 80,
238+
"minimum": 0
239+
}
240+
},
241+
{
242+
"widget-type": "hidden",
243+
"label": "Maximum Retry Count",
244+
"name": "maxRetryCount",
245+
"widget-attributes": {
246+
"default": 5,
247+
"minimum": 0
248+
}
249+
}
250+
]
220251
}
221252
],
222253
"outputs": [

mariadb-plugin/widgets/Mariadb-postaction.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,37 @@
171171
}
172172
}
173173
]
174+
},
175+
{
176+
"properties": [
177+
{
178+
"widget-type": "hidden",
179+
"label": "Initial Retry Duration (sec)",
180+
"name": "initialRetryDuration",
181+
"widget-attributes": {
182+
"default": 5,
183+
"minimum": 0
184+
}
185+
},
186+
{
187+
"widget-type": "hidden",
188+
"label": "Maximum Retry Duration (sec)",
189+
"name": "maxRetryDuration",
190+
"widget-attributes": {
191+
"default": 80,
192+
"minimum": 0
193+
}
194+
},
195+
{
196+
"widget-type": "hidden",
197+
"label": "Maximum Retry Count",
198+
"name": "maxRetryCount",
199+
"widget-attributes": {
200+
"default": 5,
201+
"minimum": 0
202+
}
203+
}
204+
]
174205
}
175206
]
176207
}

0 commit comments

Comments
 (0)