Skip to content

Commit a1d6a53

Browse files
deploy: 52d3d65
1 parent 8971c42 commit a1d6a53

60 files changed

Lines changed: 1264 additions & 235 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

JVM-business-logic/data-driven/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,14 @@
108108
ReactDOM.render(React.createElement(Documentation, {
109109
"docMeta" : {
110110
"viewOn" : {
111-
"link" : "https://github.com/testingisdocumenting/webtau/tree/master/webtau-docs/webtau",
111+
"link" : "https://github.com/testingisdocumenting/webtau/tree/master/webtau-docs/znai",
112112
"title" : "View On GitHub"
113113
},
114114
"id" : "webtau",
115115
"title" : "WebTau",
116116
"type" : "Guide",
117-
"previewEnabled" : false
117+
"previewEnabled" : false,
118+
"allowedGroups" : [ "admin" ]
118119
},
119120
"page" : {
120121
"type" : "Page",
@@ -233,7 +234,7 @@
233234
} ]
234235
} ]
235236
} ],
236-
"lastModifiedTime" : 1590882383851,
237+
"lastModifiedTime" : 1597542284759,
237238
"tocItem" : {
238239
"sectionTitle" : "JVM Business Logic",
239240
"pageTitle" : "Data Driven",

JVM-business-logic/documentation-artifacts/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,14 @@
113113
ReactDOM.render(React.createElement(Documentation, {
114114
"docMeta" : {
115115
"viewOn" : {
116-
"link" : "https://github.com/testingisdocumenting/webtau/tree/master/webtau-docs/webtau",
116+
"link" : "https://github.com/testingisdocumenting/webtau/tree/master/webtau-docs/znai",
117117
"title" : "View On GitHub"
118118
},
119119
"id" : "webtau",
120120
"title" : "WebTau",
121121
"type" : "Guide",
122-
"previewEnabled" : false
122+
"previewEnabled" : false,
123+
"allowedGroups" : [ "admin" ]
123124
},
124125
"page" : {
125126
"type" : "Page",
@@ -427,7 +428,7 @@
427428
"type" : "Table"
428429
} ]
429430
} ],
430-
"lastModifiedTime" : 1590882383851,
431+
"lastModifiedTime" : 1597542284759,
431432
"tocItem" : {
432433
"sectionTitle" : "JVM Business Logic",
433434
"pageTitle" : "Documentation Artifacts",

REST/CRUD-separated/index.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,14 @@
103103
ReactDOM.render(React.createElement(Documentation, {
104104
"docMeta" : {
105105
"viewOn" : {
106-
"link" : "https://github.com/testingisdocumenting/webtau/tree/master/webtau-docs/webtau",
106+
"link" : "https://github.com/testingisdocumenting/webtau/tree/master/webtau-docs/znai",
107107
"title" : "View On GitHub"
108108
},
109109
"id" : "webtau",
110110
"title" : "WebTau",
111111
"type" : "Guide",
112-
"previewEnabled" : false
112+
"previewEnabled" : false,
113+
"allowedGroups" : [ "admin" ]
113114
},
114115
"page" : {
115116
"type" : "Page",
@@ -227,14 +228,14 @@
227228
}, {
228229
"fit" : true,
229230
"imageSrc" : "/webtau/doc-artifacts/reports/report-crud-separated-http-calls.png",
230-
"timestamp" : 1590882735259,
231+
"timestamp" : 1597542618704,
231232
"shapes" : [ ],
232233
"width" : 1200.0,
233234
"height" : 804.0,
234235
"type" : "AnnotatedImage"
235236
} ]
236237
} ],
237-
"lastModifiedTime" : 1590882383851,
238+
"lastModifiedTime" : 1597542284759,
238239
"tocItem" : {
239240
"sectionTitle" : "REST",
240241
"pageTitle" : "CRUD Separated",

REST/CRUD/index.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,14 @@
113113
ReactDOM.render(React.createElement(Documentation, {
114114
"docMeta" : {
115115
"viewOn" : {
116-
"link" : "https://github.com/testingisdocumenting/webtau/tree/master/webtau-docs/webtau",
116+
"link" : "https://github.com/testingisdocumenting/webtau/tree/master/webtau-docs/znai",
117117
"title" : "View On GitHub"
118118
},
119119
"id" : "webtau",
120120
"title" : "WebTau",
121121
"type" : "Guide",
122-
"previewEnabled" : false
122+
"previewEnabled" : false,
123+
"allowedGroups" : [ "admin" ]
123124
},
124125
"page" : {
125126
"type" : "Page",
@@ -252,7 +253,7 @@
252253
}, {
253254
"fit" : true,
254255
"imageSrc" : "/webtau/doc-artifacts/reports/report-crud-http-calls.png",
255-
"timestamp" : 1590882736504,
256+
"timestamp" : 1597542616944,
256257
"shapes" : [ ],
257258
"width" : 1200.0,
258259
"height" : 804.0,
@@ -363,7 +364,7 @@
363364
} ]
364365
} ]
365366
} ],
366-
"lastModifiedTime" : 1590882383851,
367+
"lastModifiedTime" : 1597542284759,
367368
"tocItem" : {
368369
"sectionTitle" : "REST",
369370
"pageTitle" : "CRUD",

REST/JSON-schema/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,14 @@
108108
ReactDOM.render(React.createElement(Documentation, {
109109
"docMeta" : {
110110
"viewOn" : {
111-
"link" : "https://github.com/testingisdocumenting/webtau/tree/master/webtau-docs/webtau",
111+
"link" : "https://github.com/testingisdocumenting/webtau/tree/master/webtau-docs/znai",
112112
"title" : "View On GitHub"
113113
},
114114
"id" : "webtau",
115115
"title" : "WebTau",
116116
"type" : "Guide",
117-
"previewEnabled" : false
117+
"previewEnabled" : false,
118+
"allowedGroups" : [ "admin" ]
118119
},
119120
"page" : {
120121
"type" : "Page",
@@ -257,7 +258,7 @@
257258
"type" : "Snippet"
258259
} ]
259260
} ],
260-
"lastModifiedTime" : 1590882383851,
261+
"lastModifiedTime" : 1597542284759,
261262
"tocItem" : {
262263
"sectionTitle" : "REST",
263264
"pageTitle" : "JSON Schema",

REST/PDF/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,14 @@
9898
ReactDOM.render(React.createElement(Documentation, {
9999
"docMeta" : {
100100
"viewOn" : {
101-
"link" : "https://github.com/testingisdocumenting/webtau/tree/master/webtau-docs/webtau",
101+
"link" : "https://github.com/testingisdocumenting/webtau/tree/master/webtau-docs/znai",
102102
"title" : "View On GitHub"
103103
},
104104
"id" : "webtau",
105105
"title" : "WebTau",
106106
"type" : "Guide",
107-
"previewEnabled" : false
107+
"previewEnabled" : false,
108+
"allowedGroups" : [ "admin" ]
108109
},
109110
"page" : {
110111
"type" : "Page",
@@ -156,7 +157,7 @@
156157
} ]
157158
} ]
158159
} ],
159-
"lastModifiedTime" : 1590882383851,
160+
"lastModifiedTime" : 1597542284759,
160161
"tocItem" : {
161162
"sectionTitle" : "REST",
162163
"pageTitle" : "PDF",

REST/complex-types/index.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595

9696
<article>
9797
<header><h1>Order Agnostic Match</h1></header>
98-
<p>Use *key column(s) if list order is not guaranteed package scenarios.rest.springboot import static org.testingisdocumenting.webtau.WebTauGroovyDsl.* scenario(&quot;list Customers and assert with a Table Data using key column&quot;) { def id1 = createCustomer firstName: &quot;FN1&quot;, lastName: &quot;LN1&quot; def id2 = createCustomer firstName: &quot;FN2&quot;, lastName: &quot;LN2&quot; def id3 = createCustomer firstName: &quot;FN3&quot;, lastName: &quot;LN3&quot; http.get(&quot;/customers&quot;) { body.should == ['*id' | 'firstName' | 'lastName'] { _________________________________ id2 | 'FN2' | 'LN2' id1 | 'FN1' | 'LN1' id3 | 'FN3' | 'LN3'} } } def createCustomer(Map payload) { def id = http.post(&quot;/customers&quot;, payload) { id } http.doc.capture('create-customer') return id }</p>
98+
<p>Use *key column(s) if list order is not guaranteed package scenarios.rest.springboot import static org.testingisdocumenting.webtau.WebTauGroovyDsl.* scenario(&quot;list Customers and assert with a Table Data using key column&quot;) { def id1 = createCustomer firstName: &quot;FN1&quot;, lastName: &quot;LN1&quot; def id2 = createCustomer firstName: &quot;FN2&quot;, lastName: &quot;LN2&quot; def id3 = createCustomer firstName: &quot;FN3&quot;, lastName: &quot;LN3&quot; http.get(&quot;/customers&quot;) { body.should == ['*id' | 'firstName' | 'lastName'] { _________________________________ id2 | 'FN2' | 'LN2' id1 | 'FN1' | 'LN1' id3 | 'FN3' | 'LN3'} } } def createCustomer(Map payload) { return http.post(&quot;/customers&quot;, payload) { id } }</p>
9999
</article>
100100
</section>
101101
</div>
@@ -108,13 +108,14 @@
108108
ReactDOM.render(React.createElement(Documentation, {
109109
"docMeta" : {
110110
"viewOn" : {
111-
"link" : "https://github.com/testingisdocumenting/webtau/tree/master/webtau-docs/webtau",
111+
"link" : "https://github.com/testingisdocumenting/webtau/tree/master/webtau-docs/znai",
112112
"title" : "View On GitHub"
113113
},
114114
"id" : "webtau",
115115
"title" : "WebTau",
116116
"type" : "Guide",
117-
"previewEnabled" : false
117+
"previewEnabled" : false,
118+
"allowedGroups" : [ "admin" ]
118119
},
119120
"page" : {
120121
"type" : "Page",
@@ -218,11 +219,11 @@
218219
} ]
219220
}, {
220221
"lang" : "groovy",
221-
"snippet" : "package scenarios.rest.springboot\n\nimport static org.testingisdocumenting.webtau.WebTauGroovyDsl.*\n\nscenario(\"list Customers and assert with a Table Data using key column\") {\n def id1 = createCustomer firstName: \"FN1\", lastName: \"LN1\"\n def id2 = createCustomer firstName: \"FN2\", lastName: \"LN2\"\n def id3 = createCustomer firstName: \"FN3\", lastName: \"LN3\"\n\n http.get(\"/customers\") {\n body.should == ['*id' | 'firstName' | 'lastName'] {\n _________________________________\n id2 | 'FN2' | 'LN2'\n id1 | 'FN1' | 'LN1'\n id3 | 'FN3' | 'LN3'}\n }\n}\n\ndef createCustomer(Map payload) {\n def id = http.post(\"/customers\", payload) { id }\n http.doc.capture('create-customer')\n\n return id\n}",
222+
"snippet" : "package scenarios.rest.springboot\n\nimport static org.testingisdocumenting.webtau.WebTauGroovyDsl.*\n\nscenario(\"list Customers and assert with a Table Data using key column\") {\n def id1 = createCustomer firstName: \"FN1\", lastName: \"LN1\"\n def id2 = createCustomer firstName: \"FN2\", lastName: \"LN2\"\n def id3 = createCustomer firstName: \"FN3\", lastName: \"LN3\"\n\n http.get(\"/customers\") {\n body.should == ['*id' | 'firstName' | 'lastName'] {\n _________________________________\n id2 | 'FN2' | 'LN2'\n id1 | 'FN1' | 'LN1'\n id3 | 'FN3' | 'LN3'}\n }\n}\n\ndef createCustomer(Map payload) {\n return http.post(\"/customers\", payload) { id }\n}",
222223
"type" : "Snippet"
223224
} ]
224225
} ],
225-
"lastModifiedTime" : 1590882383851,
226+
"lastModifiedTime" : 1597542284759,
226227
"tocItem" : {
227228
"sectionTitle" : "REST",
228229
"pageTitle" : "Complex Types",

REST/data-node/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,14 @@
138138
ReactDOM.render(React.createElement(Documentation, {
139139
"docMeta" : {
140140
"viewOn" : {
141-
"link" : "https://github.com/testingisdocumenting/webtau/tree/master/webtau-docs/webtau",
141+
"link" : "https://github.com/testingisdocumenting/webtau/tree/master/webtau-docs/znai",
142142
"title" : "View On GitHub"
143143
},
144144
"id" : "webtau",
145145
"title" : "WebTau",
146146
"type" : "Guide",
147-
"previewEnabled" : false
147+
"previewEnabled" : false,
148+
"allowedGroups" : [ "admin" ]
148149
},
149150
"page" : {
150151
"type" : "Page",
@@ -543,7 +544,7 @@
543544
"type" : "Snippet"
544545
} ]
545546
} ],
546-
"lastModifiedTime" : 1590882383851,
547+
"lastModifiedTime" : 1597542284759,
547548
"tocItem" : {
548549
"sectionTitle" : "REST",
549550
"pageTitle" : "Data Node",

REST/documentation/index.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100

101101
<article>
102102
<header><h1>Test Artifacts</h1></header>
103-
<p>A number of artifacts will be created depending on the exact call being captured.Request bodies are captured in either request.json , request.pdf or request.data depending on the type.Similarly, response bodies are captured in either response.json , response.pdf or response.data .Just like payloads, request and response headers are captured in request.header.txt and response.header.txt respectively. These files contain a header per line with the name and values colon separated. The values are redacted for any potentially sensitive headers.Any assertions you perform on the response body in your scenarios are captured in a paths.json file. This contains an array with the list of paths within the body whose values were asserted.The actual request URL is captured in two forms into two different files: request.fullurl.txt - contains the full URL request.url.txt - contains only the part specified in the http call in the scenario /params?a=1&amp;b=text http://10.1.0.4:35615/params?a=1&amp;b=text</p>
103+
<p>A number of artifacts will be created depending on the exact call being captured.Request bodies are captured in either request.json , request.pdf or request.data depending on the type.Similarly, response bodies are captured in either response.json , response.pdf or response.data .Just like payloads, request and response headers are captured in request.header.txt and response.header.txt respectively. These files contain a header per line with the name and values colon separated. The values are redacted for any potentially sensitive headers.Any assertions you perform on the response body in your scenarios are captured in a paths.json file. This contains an array with the list of paths within the body whose values were asserted.The actual request URL is captured in two forms into two different files: request.fullurl.txt - contains the full URL request.url.txt - contains only the part specified in the http call in the scenario /params?a=1&amp;b=text http://10.1.0.4:41411/params?a=1&amp;b=text</p>
104104
</article>
105105

106106
<article>
@@ -118,13 +118,14 @@
118118
ReactDOM.render(React.createElement(Documentation, {
119119
"docMeta" : {
120120
"viewOn" : {
121-
"link" : "https://github.com/testingisdocumenting/webtau/tree/master/webtau-docs/webtau",
121+
"link" : "https://github.com/testingisdocumenting/webtau/tree/master/webtau-docs/znai",
122122
"title" : "View On GitHub"
123123
},
124124
"id" : "webtau",
125125
"title" : "WebTau",
126126
"type" : "Guide",
127-
"previewEnabled" : false
127+
"previewEnabled" : false,
128+
"allowedGroups" : [ "admin" ]
128129
},
129130
"page" : {
130131
"type" : "Page",
@@ -418,7 +419,7 @@
418419
"type" : "Snippet"
419420
}, {
420421
"lang" : "txt",
421-
"snippet" : "http://10.1.0.4:35615/params?a=1&b=text",
422+
"snippet" : "http://10.1.0.4:41411/params?a=1&b=text",
422423
"title" : "request.fullurl.txt",
423424
"type" : "Snippet"
424425
} ]
@@ -458,7 +459,7 @@
458459
} ]
459460
} ]
460461
} ],
461-
"lastModifiedTime" : 1590882383851,
462+
"lastModifiedTime" : 1597542284759,
462463
"tocItem" : {
463464
"sectionTitle" : "REST",
464465
"pageTitle" : "Documentation",

REST/files-upload/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,14 @@
103103
ReactDOM.render(React.createElement(Documentation, {
104104
"docMeta" : {
105105
"viewOn" : {
106-
"link" : "https://github.com/testingisdocumenting/webtau/tree/master/webtau-docs/webtau",
106+
"link" : "https://github.com/testingisdocumenting/webtau/tree/master/webtau-docs/znai",
107107
"title" : "View On GitHub"
108108
},
109109
"id" : "webtau",
110110
"title" : "WebTau",
111111
"type" : "Guide",
112-
"previewEnabled" : false
112+
"previewEnabled" : false,
113+
"allowedGroups" : [ "admin" ]
113114
},
114115
"page" : {
115116
"type" : "Page",
@@ -254,7 +255,7 @@
254255
"type" : "Snippet"
255256
} ]
256257
} ],
257-
"lastModifiedTime" : 1590882383851,
258+
"lastModifiedTime" : 1597542284759,
258259
"tocItem" : {
259260
"sectionTitle" : "REST",
260261
"pageTitle" : "Files Upload",

0 commit comments

Comments
 (0)