-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjson2table.dsl
45 lines (43 loc) · 956 Bytes
/
json2table.dsl
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
def TableData = '''
[
{
"col1": "123",
"col2": "456",
},
{
"col1": "789",
"col2": "012",
"col3": "345"
},
{
"Text": "<b>Bold</b>",
"Image": "<img src=\\\\"../../../flow/public/app/assets/img/svg-icons/icon-nodes.svg\\\\" height=\\\\"20\\\\" width=\\\\"20\\\\">",
"Link": "<a href=\\\\"../..\\\\">Commander UI</a>"
}
]
'''
project "Test", {
procedure "Test - json2table", resourceName: 'local', {
step 'Generate Report',
subproject : '/plugins/EF-ReportingTools/project',
subprocedure : 'json2table',
actualParameter : [
jsonData: TableData,
reportName: "Test Report",
columnOrnamentation: ""
]
}
pipeline "Test - json2table",{
stage "Test", {
task "Test",
taskType : 'PLUGIN',
subpluginKey : 'EF-ReportingTools',
subprocedure : 'json2table',
actualParameter : [
jsonData: TableData,
reportName: "Test Report",
columnOrnamentation: ""
]
}
}
}