|
| 1 | +<?xml version="1.0" ?> |
| 2 | + |
| 3 | +<container xmlns="http://symfony.com/schema/dic/services" |
| 4 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 5 | + xmlns:framework="http://symfony.com/schema/dic/symfony" |
| 6 | + xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd |
| 7 | + http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd"> |
| 8 | + |
| 9 | + <framework:config> |
| 10 | + <framework:workflow name="article" type="workflow" initial-place="draft"> |
| 11 | + <framework:marking-store type="multiple_state"> |
| 12 | + <framework:argument>a</framework:argument> |
| 13 | + <framework:argument>a</framework:argument> |
| 14 | + </framework:marking-store> |
| 15 | + <framework:support>Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest</framework:support> |
| 16 | + <framework:place>draft</framework:place> |
| 17 | + <framework:place>wait_for_journalist</framework:place> |
| 18 | + <framework:place>approved_by_journalist</framework:place> |
| 19 | + <framework:place>wait_for_spellchecker</framework:place> |
| 20 | + <framework:place>approved_by_spellchecker</framework:place> |
| 21 | + <framework:place>published</framework:place> |
| 22 | + <framework:transition name="request_review"> |
| 23 | + <framework:from>draft</framework:from> |
| 24 | + <framework:to>wait_for_journalist</framework:to> |
| 25 | + <framework:to>wait_for_spellchecker</framework:to> |
| 26 | + </framework:transition> |
| 27 | + <framework:transition name="journalist_approval"> |
| 28 | + <framework:from>wait_for_journalist</framework:from> |
| 29 | + <framework:to>approved_by_journalist</framework:to> |
| 30 | + </framework:transition> |
| 31 | + <framework:transition name="spellchecker_approval"> |
| 32 | + <framework:from>wait_for_spellcheker</framework:from> |
| 33 | + <framework:to>approved_by_spellchker</framework:to> |
| 34 | + </framework:transition> |
| 35 | + <framework:transition name="publish"> |
| 36 | + <framework:from>approved_by_journalist</framework:from> |
| 37 | + <framework:from>approved_by_spellchker</framework:from> |
| 38 | + <framework:to>published</framework:to> |
| 39 | + </framework:transition> |
| 40 | + </framework:workflow> |
| 41 | + |
| 42 | + <framework:workflow name="pull_request" type="state_machine" initial-place="start"> |
| 43 | + <framework:marking-store type="single_state"/> |
| 44 | + <framework:support>Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest</framework:support> |
| 45 | + <framework:place>start</framework:place> |
| 46 | + <framework:place>coding</framework:place> |
| 47 | + <framework:place>travis</framework:place> |
| 48 | + <framework:place>review</framework:place> |
| 49 | + <framework:place>merged</framework:place> |
| 50 | + <framework:place>closed</framework:place> |
| 51 | + <framework:transition name="submit"> |
| 52 | + <framework:from>start</framework:from> |
| 53 | + <framework:to>travis</framework:to> |
| 54 | + </framework:transition> |
| 55 | + <framework:transition name="update"> |
| 56 | + <framework:from>coding</framework:from> |
| 57 | + <framework:from>travis</framework:from> |
| 58 | + <framework:from>review</framework:from> |
| 59 | + <framework:to>travis</framework:to> |
| 60 | + </framework:transition> |
| 61 | + <framework:transition name="wait_for_review"> |
| 62 | + <framework:from>travis</framework:from> |
| 63 | + <framework:to>review</framework:to> |
| 64 | + </framework:transition> |
| 65 | + <framework:transition name="request_change"> |
| 66 | + <framework:from>review</framework:from> |
| 67 | + <framework:to>coding</framework:to> |
| 68 | + </framework:transition> |
| 69 | + <framework:transition name="accept"> |
| 70 | + <framework:from>review</framework:from> |
| 71 | + <framework:to>merged</framework:to> |
| 72 | + </framework:transition> |
| 73 | + <framework:transition name="reject"> |
| 74 | + <framework:from>review</framework:from> |
| 75 | + <framework:to>closed</framework:to> |
| 76 | + </framework:transition> |
| 77 | + <framework:transition name="reopen"> |
| 78 | + <framework:from>closed</framework:from> |
| 79 | + <framework:to>review</framework:to> |
| 80 | + </framework:transition> |
| 81 | + </framework:workflow> |
| 82 | + </framework:config> |
| 83 | +</container> |
0 commit comments