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 / delete_tasks.rb rsc/samples/delete_tasks.rb
100755 30 lines (23 sloc) 1.018 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
#!/usr/bin/env ruby
load File.dirname(File.expand_path("#{$0}"))+"/lib/sample_tms_client.rb"
 
# create a new tms client
tms_client = SampleTMSClient.new
tms_client.fake_delete = true
 
# sample to delete task by query
# those task have to be accessible by the authenticated user, since the query use the getAvailableTask method on the server
# tms_client.delete_all "PATask", "", false
 
 
# ids = ["9edef9aa63f0e40d:51bb29f8:11fe8f338b8:-7fbf114.48.183.2115602"]
# delete by ids
# task don't have to be accessible by the user, but the user needs to have the rights to delete tasks
# tms_client.delete_by_ids ids
 
# delete all the tasks and their attachments, using ids from the array below
# ids = ["9edef9aa63f0e40d:51bb29f8:11fe8f338b8:-7fbf114.48.183.2115602"]
# ids.each do |id|
# tms_client delete_task(id)
# end
 
 
# to retrieve tasks in mysql, generate a query like:
#
# SELECT id FROM tempo_task t where creation_date < '2009-03-07'
#
# require "active_support"
# puts (Time.now - 3.months).strftime("%Y-%M-%d")
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