@@ -114,10 +114,6 @@ export class MockServer {
114114 <th>Pagepattern</th>
115115 <th>Maintainer</th>
116116 </tr>
117- <tr>
118- <td>main/Test/.*</td>
119- <td>maintainer,_lastauthor</td>
120- </tr>
121117 </tbody>
122118 </table>
123119 </ac:rich-text-body>
@@ -261,6 +257,139 @@ export class MockServer {
261257 </table>
262258 </ac:rich-text-body>
263259</ac:structured-macro>
260+ <ac:structured-macro ac:name='panel' ac:schema-version='1' ac:macro-id='1d192d60-7e69-4af8-8dd6-4006a7bfc952'>
261+ <ac:parameter ac:name='title'>Maintainer</ac:parameter>
262+ <ac:rich-text-body>
263+ <table class='wrapped'>
264+ <colgroup>
265+ <col/>
266+ <col/>
267+ </colgroup>
268+ <tbody>
269+ <tr>
270+ <th>Pagepattern</th>
271+ <th>Maintainer</th>
272+ </tr>
273+ </tbody>
274+ </table>
275+ </ac:rich-text-body>
276+ </ac:structured-macro>
277+ <ac:structured-macro ac:name='panel' ac:schema-version='1' ac:macro-id='1d192d60-7e69-4af8-8dd6-4006a7bfc952'>
278+ <ac:parameter ac:name='title'>Exceptions</ac:parameter>
279+ <ac:rich-text-body>
280+ <table class='wrapped'>
281+ <colgroup>
282+ <col/>
283+ </colgroup>
284+ <tbody>
285+ <tr>
286+ <th>RegularExpression</th>
287+ </tr>
288+ <tr>
289+ <td></td>
290+ </tr>
291+ </tbody>
292+ </table>
293+ </ac:rich-text-body>
294+ </ac:structured-macro>
295+ <ac:structured-macro ac:name='panel' ac:schema-version='1' ac:macro-id='93f1d981-c841-4cb4-b6e2-5940dfe69132'>
296+ <ac:parameter ac:name='title'>Notification Template</ac:parameter>
297+ <ac:rich-text-body>
298+ <ac:structured-macro ac:name='panel' ac:schema-version='1' ac:macro-id='f8503e48-c671-4ed6-897c-def2b2c3fa29'>
299+ <ac:parameter ac:name='title'>Subject</ac:parameter>
300+ <ac:rich-text-body><p>${ MockServer . NOTIFICATION_SUBJECT } </p></ac:rich-text-body>
301+ </ac:structured-macro>
302+ <ac:structured-macro ac:name='panel' ac:schema-version='1' ac:macro-id='63c16112-dea3-434e-b1cb-467ff4e36d5f'>
303+ <ac:parameter ac:name='title'>Body</ac:parameter>
304+ <ac:rich-text-body>${ MockServer . NOTIFICATION_BODY } </ac:rich-text-body>
305+ </ac:structured-macro>
306+ </ac:rich-text-body>
307+ </ac:structured-macro>
308+ ` ,
309+ } ,
310+ } ,
311+ } )
312+ this . _scope
313+ . get ( '/rest/api/content/12347?expand=body.storage' )
314+ . basicAuth ( {
315+ user : 'nobody' ,
316+ pass : 'nothing' ,
317+ } )
318+ . reply ( 200 , {
319+ body : {
320+ storage : {
321+ value : `
322+ <ac:structured-macro ac:name='panel' ac:schema-version='1' ac:macro-id='4671afbe-d914-470a-bb9e-8b7321f60f79'>
323+ <ac:parameter ac:name='title'>Configuration</ac:parameter>
324+ <ac:rich-text-body>
325+ <table class='wrapped'>
326+ <colgroup>
327+ <col/>
328+ <col/>
329+ </colgroup>
330+ <tbody>
331+ <tr>
332+ <th>Space</th>
333+ <td>SAMPLE</td>
334+ </tr>
335+ <tr>
336+ <th>Domain</th>
337+ <td>example.com</td>
338+ </tr>
339+ <tr>
340+ <th>NotificationFrom</th>
341+ <td>Notification <[email protected] ></td> 342+ </tr>
343+ </tbody>
344+ </table>
345+ </ac:rich-text-body>
346+ </ac:structured-macro>
347+ <ac:structured-macro ac:name='panel' ac:schema-version='1' ac:macro-id='ecfe796e-b701-4f30-a74a-b94dbb33daff'>
348+ <ac:parameter ac:name='title'>SMTP</ac:parameter>
349+ <ac:rich-text-body>
350+ <table>
351+ <colgroup>
352+ <col/>
353+ <col/>
354+ </colgroup>
355+ <tbody>
356+ <tr>
357+ <th>Host</th>
358+ <td colspan='1'>localhost</td>
359+ </tr>
360+ <tr>
361+ <th>Port</th>
362+ <td colspan='1'>25</td>
363+ </tr>
364+ </tbody>
365+ </table>
366+ </ac:rich-text-body>
367+ </ac:structured-macro>
368+ <ac:structured-macro ac:name='panel' ac:schema-version='1' ac:macro-id='f19cd8b2-57e0-4c68-a823-8a2daee08c12'>
369+ <ac:parameter ac:name='title'>Checks</ac:parameter>
370+ <ac:rich-text-body>
371+ <table class='wrapped'>
372+ <colgroup>
373+ <col/>
374+ <col/>
375+ </colgroup>
376+ <tbody>
377+ <tr>
378+ <th>Labels</th>
379+ <th>MaxAge</th>
380+ </tr>
381+ <tr>
382+ <td>test1</td>
383+ <td>356</td>
384+ </tr>
385+ <tr>
386+ <td colspan='1'>test2</td>
387+ <td colspan='1'>1234</td>
388+ </tr>
389+ </tbody>
390+ </table>
391+ </ac:rich-text-body>
392+ </ac:structured-macro>
264393<ac:structured-macro ac:name='panel' ac:schema-version='1' ac:macro-id='1d192d60-7e69-4af8-8dd6-4006a7bfc952'>
265394 <ac:parameter ac:name='title'>Maintainer</ac:parameter>
266395 <ac:rich-text-body>
@@ -294,7 +423,30 @@ export class MockServer {
294423 <th>RegularExpression</th>
295424 </tr>
296425 <tr>
297- <td></td>
426+ <td>main/Test/NOT</td>
427+ </tr>
428+ </tbody>
429+ </table>
430+ </ac:rich-text-body>
431+ </ac:structured-macro>
432+ <ac:structured-macro ac:name="panel" ac:schema-version="1" ac:macro-id="1d192d60-7e69-4af8-8dd6-4006a7bfc952">
433+ <ac:parameter ac:name="title">Excluded labels</ac:parameter>
434+ <ac:rich-text-body>
435+ <i>This table holds a list of labels. A document which has one of these will be excluded from notifications.</i>
436+ <table class="wrapped">
437+ <colgroup>
438+ <col/>
439+ <col/>
440+ </colgroup>
441+ <tbody>
442+ <tr>
443+ <th>Label</th>
444+ </tr>
445+ <tr>
446+ <td>NOT</td>
447+ </tr>
448+ <tr>
449+ <td>NOT2</td>
298450 </tr>
299451 </tbody>
300452 </table>
0 commit comments