You are here

maestro.routing.yml in Maestro 3.x

Same filename and directory in other branches
  1. 8.2 maestro.routing.yml

File

maestro.routing.yml
View source
  1. maestro.maestro_admin_settings:
  2. path: '/admin/config/workflow/maestro'
  3. defaults:
  4. _form: '\Drupal\maestro\Form\MaestroEngineSettingsForm'
  5. _title: 'Maestro Engine Module Settings'
  6. requirements:
  7. _permission: 'administer site configuration'
  8. maestro.autocomplete.roles:
  9. path: '/maestro/autocomplete/roles'
  10. defaults:
  11. _controller: '\Drupal\maestro\Controller\MaestroAutoCompleteController::autocompleteRoles'
  12. requirements:
  13. _permission: 'administer site configuration'
  14. options:
  15. no_cache: TRUE
  16. maestro.autocomplete.interactive_handlers:
  17. path: '/maestro/autocomplete/interactive_handlers'
  18. defaults:
  19. _controller: '\Drupal\maestro\Controller\MaestroAutoCompleteController::autocompleteInteractiveHandlers'
  20. requirements:
  21. _permission: 'administer site configuration'
  22. options:
  23. no_cache: TRUE
  24. maestro.autocomplete.batch_handlers:
  25. path: '/maestro/autocomplete/batch_handlers'
  26. defaults:
  27. _controller: '\Drupal\maestro\Controller\MaestroAutoCompleteController::autocompleteBatchHandlers'
  28. requirements:
  29. _permission: 'administer site configuration'
  30. options:
  31. no_cache: TRUE
  32. maestro.start_process:
  33. path: '/maestro/start/process/{templateMachineName}/{redirect}'
  34. defaults:
  35. _controller: '\Drupal\maestro\Controller\MaestroOrchestrator::startProcess'
  36. _title: 'Start Process'
  37. redirect: 'templates'
  38. requirements:
  39. _permission: 'start maestro process'
  40. options:
  41. no_cache: TRUE
  42. maestro.reassign_task:
  43. path: '/maestro/reassign/task/{assignmentID}'
  44. defaults:
  45. _form: '\Drupal\maestro\Form\MaestroReassign'
  46. _title: 'Reassign'
  47. requirements:
  48. _permission: 'administer maestro queue entities'
  49. options:
  50. no_cache: TRUE
  51. maestro.trace:
  52. path: '/maestro/trace/{processID}'
  53. defaults:
  54. _form: '\Drupal\maestro\Form\MaestroTrace'
  55. _title: 'Trace'
  56. requirements:
  57. _permission: 'administer maestro templates'
  58. options:
  59. no_cache: TRUE
  60. maestro.execute:
  61. path: '/maestro/execute/task/{queueid}/{modal}'
  62. defaults:
  63. _form: '\Drupal\maestro\Form\MaestroExecuteInteractive'
  64. _title: 'Interactive Task Execution'
  65. requirements:
  66. _permission: 'access content'
  67. options:
  68. no_cache: TRUE
  69. maestro.orchestrator:
  70. path: '/orchestrator/{token}'
  71. defaults:
  72. _controller: '\Drupal\maestro\Controller\MaestroOrchestrator::orchestrate'
  73. _title: 'Run the orchestrator'
  74. token: 'token'
  75. requirements:
  76. _permission: 'access content'
  77. options:
  78. no_cache: TRUE
  79. maestro.maestro_process_settings:
  80. path: 'admin/structure/maestro_process_entity_settings'
  81. defaults:
  82. _form: '\Drupal\maestro\Form\MaestroProcessSettingsForm'
  83. _title: 'Maestro Process Entity Settings'
  84. requirements:
  85. _permission: 'administer maestro templates'
  86. maestro.delete.task:
  87. path: 'maestro/trace/delete/task/{processID}/{idList}'
  88. defaults:
  89. _form: '\Drupal\maestro\Form\MaestroTraceDeleteTask'
  90. _title: 'Delete Task'
  91. requirements:
  92. _permission: 'administer maestro templates'
  93. maestro.delete.process:
  94. path: 'maestro/trace/delete/process/{processID}/{idList}'
  95. defaults:
  96. _form: '\Drupal\maestro\Form\MaestroTraceDeleteProcess'
  97. _title: 'Delete Process'
  98. requirements:
  99. _permission: 'administer maestro templates'
  100. entity.maestro_template.list:
  101. path: '/maestro/templates/list'
  102. defaults:
  103. _entity_list: 'maestro_template'
  104. _title: 'Maestro Templates'
  105. requirements:
  106. _permission: 'administer maestro templates'
  107. options:
  108. no_cache: TRUE
  109. _admin_route: TRUE
  110. entity.maestro_template.add:
  111. path: '/maestro/templates/add'
  112. defaults:
  113. _title: 'Add Template'
  114. _entity_form: maestro_template.add
  115. requirements:
  116. _permission: 'administer maestro templates'
  117. options:
  118. no_cache: TRUE
  119. _admin_route: TRUE
  120. entity.maestro_template.edit_form:
  121. path: '/maestro/manage/{maestro_template}/{is_modal}'
  122. defaults:
  123. _title: 'Edit Template'
  124. _entity_form: maestro_template.edit
  125. is_modal: notmodal
  126. requirements:
  127. _permission: 'administer maestro templates'
  128. options:
  129. no_cache: TRUE
  130. _admin_route: TRUE
  131. entity.maestro_template.delete_form:
  132. path: '/maestro/manage/{maestro_template}/delete'
  133. defaults:
  134. _title: 'Delete Template'
  135. _entity_form: maestro_template.delete
  136. requirements:
  137. _permission: 'administer maestro templates'
  138. options:
  139. no_cache: TRUE
  140. _admin_route: TRUE
  141. maestro.process_details_ajax_open:
  142. path: '/maestro/ajax/status/{processID}'
  143. defaults:
  144. _controller: '\Drupal\maestro\Controller\MaestroProcessStatusController::getDetails'
  145. _title: 'Process Status'
  146. processID: '0'
  147. queueID: '0'
  148. requirements:
  149. _permission: 'view maestro task console'
  150. options:
  151. no_cache: TRUE
  152. maestro.process_details_ajax_close:
  153. path: '/maestro/ajax/status/close/{processID}'
  154. defaults:
  155. _controller: '\Drupal\maestro\Controller\MaestroProcessStatusController::closeDetails'
  156. _title: 'Process Status Close'
  157. processID: '0'
  158. queueID: '0'
  159. requirements:
  160. _permission: 'view maestro task console'
  161. options:
  162. no_cache: TRUE