github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

intalio / tempo

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 31
    • 7
  • Source
  • Commits
  • Network (7)
  • Issues (0)
  • Downloads (55)
  • Wiki (1)
  • Graphs
  • Tree: f93c06c

click here to add a description

click here to add a homepage

  • Branches (9)
    • b4p
    • deploy-cluster
    • master
    • metadata
    • opensso
    • opensso-patched
    • sita
    • sita2
    • stibo
  • Tags (55)
    • topic/b4removing-deploy
    • 6.0.4.001
    • 6.0.0.87
    • 6.0.0.86
    • 6.0.0.85
    • 6.0.0.84
    • 6.0.0.83
    • 6.0.0.82
    • 6.0.0.81
    • 6.0.0.80
    • 6.0.0.79
    • 6.0.0.78
    • 6.0.0.77
    • 6.0.0.76
    • 6.0.0.75
    • 6.0.0.74
    • 6.0.0.73
    • 6.0.0.72
    • 6.0.0.71
    • 6.0.0.70
    • 6.0.0.69
    • 6.0.0.68
    • 6.0.0.67
    • 6.0.0.66
    • 6.0.0.64
    • 6.0.0.63
    • 6.0.0.62
    • 6.0.0.61
    • 6.0.0.60
    • 6.0.0.59
    • 6.0.0.58
    • 6.0.0.57
    • 6.0.0.56
    • 6.0.0.55
    • 6.0.0.54
    • 6.0.0.53
    • 6.0.0.52
    • 6.0.0.51
    • 6.0.0.50
    • 6.0.0.49
    • 6.0.0.48
    • 6.0.0.47
    • 6.0.0.46
    • 6.0.0.45
    • 6.0.0.44
    • 6.0.0.43
    • 6.0.0.42
    • 6.0.0.40
    • 6.0.0.39
    • 6.0.0.38
    • 6.0.0.37
    • 6.0.0.36
    • 6.0.0.35
    • 6.0.0.34
    • 6.0.0.33
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Tempo is a set of runtime components that support human workflow within an service-oriented architecture (SOA) — Read more

  cancel

http://tempo.intalio.org

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Changed version number to 6.0.0.37-SNAPSHOT 
release (author)
Thu Mar 12 08:17:11 -0700 2009
commit  f93c06c589f487a0d562498ff8a9d9413f6ee407
tree    3126afcb9f4bc37960a3cacd63c69d697ce2479c
parent  98576b5922778261683f219368477b7e417ee436
tempo / rsc / samples / create_tasks.rb rsc/samples/create_tasks.rb
100755 48 lines (42 sloc) 1.668 kb
edit raw blame history
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/usr/bin/env ruby
gem "soap4r"
require 'soap/marshal'
require 'soap/mapping'
require 'soap/soap'
require 'soap/baseData'
require "rexml/document"
 
include SOAP
load File.dirname(File.expand_path("#{$0}"))+"/lib/sample_tms_client.rb"
 
# {http://www.intalio.com/BPMS/Workflow/TaskManagementServices-20051109/}taskMetadata
# taskId - SOAP::SOAPString
# taskState - SOAP::SOAPToken
# taskType - SOAP::SOAPToken
# description - SOAP::SOAPString
# processId - SOAP::SOAPString
# creationDate - SOAP::SOAPDateTime
# deadline - SOAP::SOAPDateTime
# priority - SOAP::SOAPInt
# userOwner - SOAP::SOAPString
# roleOwner - SOAP::SOAPString
# formUrl - SOAP::SOAPAnyURI
# failureCode - SOAP::SOAPString
# failureReason - SOAP::SOAPString
# userProcessCompleteSOAPAction - SOAP::SOAPString
# processEndpoint - SOAP::SOAPAnyURI
# initMessageNamespaceURI - SOAP::SOAPAnyURI
# initOperationSOAPAction - SOAP::SOAPString
# isChainedBefore - SOAP::SOAPString
# previousTaskId - SOAP::SOAPString
# claimAction - AccessControlType
# revokeAction - AccessControlType
# saveAction - AccessControlType
# completeAction - AccessControlType
# attachments - Attachments
 
 
input = REXML::Document.new "<input><test>inputest-input></test></input>"
s = SOAPREXMLElementWrap.new(input)
 
st = SampleTMSClient.new
(1..5000).each do |d|
  t = {:metadata=>
    {:taskId=>"001#{d}", :taskType=>"activity", :description=>"Hello#{d}", :processId=>"Fake", :formUrl=>"http://localhost/11", :userProcessCompleteSOAPAction=>"urn:complete", :userOwner=>"intalio\\admin"}, :input=>s, :output=>s}
  
st.tms_client.create(:task=>t, :participantToken=>st.token)
end
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server