Loading...
 
Skip to main content

History: Webservice_Sequence_Diagram

Source of version: 35

Copy to clipboard
            Generates sequence diagrams using [http://www.websequencediagrams.com/|Web Sequence Diagrams]

The profile adds a new plugin and a registered webservice.

{CODE(caption=Wiki Markup,ishtml=1)}
{SEQUENCEDIAGRAM(style="modern-blue")}
Client -> Server : getSomething
Server --> Client : something
Client -> Server : setFoo( foo )
Server --> Client : true
{SEQUENCEDIAGRAM}
{CODE}

Multiple styles are available:
{img src=http://profiles.tikiwiki.org/tiki-download_wiki_attachment.php?attId=5&page=Webservice_Sequence_Diagram&download=y} {img src=http://profiles.tikiwiki.org/tiki-download_wiki_attachment.php?attId=6&page=Webservice_Sequence_Diagram&download=y}


{CODE(caption=>YAML,wrap=1)}
preferences:
 enable: [ feature_webservices, wikiplugin_webservice, wikiplugin_$profileobject:seqdiag_ws$ ]
objects:
 -
  type: webservice
  ref: seqdiag_ws
  data:
   name: $profilerequest:Webservice Name$sequencediagram$
   url: $profilerequest:Sequence Diagram Webservice URL$http://www.websequencediagrams.com/?style=%style%&message=%message%$
   schema_version: 1.0
   schema_documentation: http://www.websequencediagrams.com/embedding.html
 -
  type: webservice_template
  data:
   webservice: $seqdiag_ws
   name: default
   engine: smarty
   output: tikiwiki
   content: "{img src=http://www.websequencediagrams.com/{{$response.img}} }"
 -
  type: plugin_alias
  ref: plugin
  data:
   name: $seqdiag_ws
   implementation: webservice
   description:
    name: Sequence Diagram
    description: Displays a sequence diagram based on the body of the plugin
    prefs: [ wikiplugin_$profileobject:seqdiag_ws$ ]
    params:
     style:
      name: Style
      filter: striptags
      required: n
      description: Visual style of the diagram (default, earth, modern-blue, mscgen, omegapple, qsd, rose, roundgreen, napkin)
   body:
    input: use
    default: "A -> B : Hello"
   params:
    service: $seqdiag_ws
    template: default
    bodyname: message
    style: napkin
{CODE}
        

History

Information Version
Mon 27 of Jul, 2020 18:43 GMT-0000 Xavier de Pedro re categ page and a few tags added 41
Sat 07 of Mar, 2015 16:52 GMT-0000 Marc Laporte Code Plugin modified by editor. 40
Sat 07 of Mar, 2015 16:52 GMT-0000 Marc Laporte Code Plugin modified by editor. 39
Tue 14 of Sep, 2010 01:07 GMT-0000 Marc Laporte cleaner 38
Sat 21 of Aug, 2010 05:05 GMT-0000 luciash d' being ๐Ÿง™ 37
Sat 21 of Aug, 2010 04:48 GMT-0000 luciash d' being ๐Ÿง™ [rollback version 34] 36
Sat 21 of Aug, 2010 04:56 GMT-0000 luciash d' being ๐Ÿง™ 35
Sat 21 of Aug, 2010 03:34 GMT-0000 luciash d' being ๐Ÿง™ webservice body must be in quotes (?) [rollback version 31] 33
Sat 21 of Aug, 2010 04:45 GMT-0000 luciash d' being ๐Ÿง™ correct URL 32
Sat 21 of Aug, 2010 03:12 GMT-0000 luciash d' being ๐Ÿง™ correct Wiki Markup example 30
Sat 21 of Aug, 2010 02:55 GMT-0000 luciash d' being ๐Ÿง™ make sure Web Services feature is enabled 29
Sat 21 of Aug, 2010 02:48 GMT-0000 luciash d' being ๐Ÿง™ make sure Plugin Webservice is enabled 28
Tue 14 of Apr, 2009 16:49 GMT-0000 Marc Laporte 27
Sun 14 of Dec, 2008 23:43 GMT-0000 System Administrator 25
Wed 17 of Dec, 2008 14:54 GMT-0000 System Administrator 24
Sun 14 of Dec, 2008 23:43 GMT-0000 System Administrator 23
Sun 14 of Dec, 2008 23:43 GMT-0000 System Administrator 22
Sun 14 of Dec, 2008 23:41 GMT-0000 System Administrator 21
Sun 14 of Dec, 2008 23:39 GMT-0000 System Administrator 20
Sun 14 of Dec, 2008 21:20 GMT-0000 System Administrator 19
Sun 14 of Dec, 2008 21:09 GMT-0000 System Administrator 11
Sun 14 of Dec, 2008 21:04 GMT-0000 System Administrator 10
Sun 14 of Dec, 2008 20:59 GMT-0000 System Administrator 9
Sun 14 of Dec, 2008 20:58 GMT-0000 System Administrator 8
Sun 14 of Dec, 2008 20:06 GMT-0000 System Administrator 7