teamforge 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/teamforge/services/categorizationapp.rb +17 -73
- data/lib/teamforge/services/collabnet.rb +109 -473
- data/lib/teamforge/services/discussionapp.rb +24 -84
- data/lib/teamforge/services/documentapp.rb +26 -102
- data/lib/teamforge/services/frsapp.rb +24 -92
- data/lib/teamforge/services/integrationdataapp.rb +9 -41
- data/lib/teamforge/services/newsapp.rb +8 -32
- data/lib/teamforge/services/pageapp.rb +23 -95
- data/lib/teamforge/services/planningapp.rb +32 -112
- data/lib/teamforge/services/pluggableapp.rb +33 -133
- data/lib/teamforge/services/rbacapp.rb +51 -215
- data/lib/teamforge/services/scmapp.rb +28 -104
- data/lib/teamforge/services/simplefilestorageapp.rb +5 -25
- data/lib/teamforge/services/taskapp.rb +24 -100
- data/lib/teamforge/services/trackerapp.rb +59 -223
- data/lib/teamforge/services/wikiapp.rb +12 -48
- data/lib/teamforge/tfsoaprequest.rb +14 -0
- data/lib/teamforge/tftype.rb +12 -0
- data/lib/teamforge/version.rb +1 -1
- data/lib/teamforge.rb +4 -1
- metadata +8 -6
@@ -5,96 +5,36 @@ module TeamForge
|
|
5
5
|
######################
|
6
6
|
# DiscussionApp Messages
|
7
7
|
######################
|
8
|
-
CreateForum2 =
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
CreatePost = Struct.new(:session_id, :parent_post_id, :title, :message, :attachment_file_name, :attachment_mime_type, :attachment_file_id, :cc_recipients) do
|
24
|
-
def send (server=nil, proxy=nil)
|
25
|
-
TeamForge.request(self, server, proxy)
|
26
|
-
end
|
27
|
-
end
|
28
|
-
CreatePrivateForum2 = Struct.new(:session_id, :project_id, :list_name, :forum_name, :description, :list_enabled, :prefix, :footer, :forum_type, :moderators, :trusted_users, :reply_to, :message_size, :email_posting, :email_monitoring, :web_posting, :captcha) do
|
29
|
-
def send (server=nil, proxy=nil)
|
30
|
-
TeamForge.request(self, server, proxy)
|
31
|
-
end
|
32
|
-
end
|
33
|
-
CreatePrivateForum = Struct.new(:session_id, :project_id, :list_name, :forum_name, :description, :list_enabled, :prefix, :footer, :forum_type, :moderators, :trusted_users, :reply_to, :message_size) do
|
34
|
-
def send (server=nil, proxy=nil)
|
35
|
-
TeamForge.request(self, server, proxy)
|
36
|
-
end
|
37
|
-
end
|
38
|
-
CreateTopic2 = Struct.new(:session_id, :forum_id, :title, :message, :attachments, :cc_recipients) do
|
39
|
-
def send (server=nil, proxy=nil)
|
40
|
-
TeamForge.request(self, server, proxy)
|
41
|
-
end
|
42
|
-
end
|
43
|
-
CreateTopic = Struct.new(:session_id, :forum_id, :title, :message, :attachment_file_name, :attachment_mime_type, :attachment_file_id, :cc_recipients) do
|
44
|
-
def send (server=nil, proxy=nil)
|
45
|
-
TeamForge.request(self, server, proxy)
|
46
|
-
end
|
47
|
-
end
|
48
|
-
DeletePost = Struct.new(:session_id, :post_id) do
|
49
|
-
def send (server=nil, proxy=nil)
|
50
|
-
TeamForge.request(self, server, proxy)
|
51
|
-
end
|
52
|
-
end
|
53
|
-
DeleteTopic = Struct.new(:session_id, :topic_id) do
|
54
|
-
def send (server=nil, proxy=nil)
|
55
|
-
TeamForge.request(self, server, proxy)
|
56
|
-
end
|
57
|
-
end
|
58
|
-
FindPosts = Struct.new(:session_id, :query_string, :project_id, :search_attachments) do
|
59
|
-
def send (server=nil, proxy=nil)
|
60
|
-
TeamForge.request(self, server, proxy)
|
61
|
-
end
|
62
|
-
end
|
63
|
-
GetForumList2 = Struct.new(:session_id, :project_id) do
|
64
|
-
def send (server=nil, proxy=nil)
|
65
|
-
TeamForge.request(self, server, proxy)
|
66
|
-
end
|
67
|
-
end
|
68
|
-
GetForumList = Struct.new(:session_id, :project_id) do
|
69
|
-
def send (server=nil, proxy=nil)
|
70
|
-
TeamForge.request(self, server, proxy)
|
71
|
-
end
|
72
|
-
end
|
73
|
-
GetPostList = Struct.new(:session_id, :topic_id) do
|
74
|
-
def send (server=nil, proxy=nil)
|
75
|
-
TeamForge.request(self, server, proxy)
|
76
|
-
end
|
77
|
-
end
|
78
|
-
GetTopicList = Struct.new(:session_id, :forum_id) do
|
79
|
-
def send (server=nil, proxy=nil)
|
80
|
-
TeamForge.request(self, server, proxy)
|
81
|
-
end
|
82
|
-
end
|
8
|
+
CreateForum2 = TFSoapRequest.new(:session_id, :project_id, :list_name, :forum_name, :description, :list_enabled, :prefix, :footer, :forum_type, :moderators, :trusted_users, :reply_to, :message_size, :email_posting, :email_monitoring, :web_posting, :captcha)
|
9
|
+
CreateForum = TFSoapRequest.new(:session_id, :project_id, :list_name, :forum_name, :description, :list_enabled, :prefix, :footer, :forum_type, :moderators, :trusted_users, :reply_to, :message_size)
|
10
|
+
CreatePost2 = TFSoapRequest.new(:session_id, :parent_post_id, :title, :message, :attachments, :cc_recipients)
|
11
|
+
CreatePost = TFSoapRequest.new(:session_id, :parent_post_id, :title, :message, :attachment_file_name, :attachment_mime_type, :attachment_file_id, :cc_recipients)
|
12
|
+
CreatePrivateForum2 = TFSoapRequest.new(:session_id, :project_id, :list_name, :forum_name, :description, :list_enabled, :prefix, :footer, :forum_type, :moderators, :trusted_users, :reply_to, :message_size, :email_posting, :email_monitoring, :web_posting, :captcha)
|
13
|
+
CreatePrivateForum = TFSoapRequest.new(:session_id, :project_id, :list_name, :forum_name, :description, :list_enabled, :prefix, :footer, :forum_type, :moderators, :trusted_users, :reply_to, :message_size)
|
14
|
+
CreateTopic2 = TFSoapRequest.new(:session_id, :forum_id, :title, :message, :attachments, :cc_recipients)
|
15
|
+
CreateTopic = TFSoapRequest.new(:session_id, :forum_id, :title, :message, :attachment_file_name, :attachment_mime_type, :attachment_file_id, :cc_recipients)
|
16
|
+
DeletePost = TFSoapRequest.new(:session_id, :post_id)
|
17
|
+
DeleteTopic = TFSoapRequest.new(:session_id, :topic_id)
|
18
|
+
FindPosts = TFSoapRequest.new(:session_id, :query_string, :project_id, :search_attachments)
|
19
|
+
GetForumList2 = TFSoapRequest.new(:session_id, :project_id)
|
20
|
+
GetForumList = TFSoapRequest.new(:session_id, :project_id)
|
21
|
+
GetPostList = TFSoapRequest.new(:session_id, :topic_id)
|
22
|
+
GetTopicList = TFSoapRequest.new(:session_id, :forum_id)
|
83
23
|
|
84
24
|
|
85
25
|
######################
|
86
26
|
# DiscussionApp Types
|
87
27
|
######################
|
88
28
|
|
89
|
-
AttachmentSoapDO =
|
90
|
-
Forum2SoapDO =
|
91
|
-
Forum2SoapRow =
|
92
|
-
ForumSoapDO =
|
93
|
-
ForumSoapRow =
|
94
|
-
PostSoapDO =
|
95
|
-
PostSoapRow =
|
96
|
-
TopicSoapDO =
|
97
|
-
TopicSoapRow =
|
29
|
+
AttachmentSoapDO = TFType.new(:attachment_file_id,:attachment_file_name,:attachment_mime_type,:created_by,:created_date,:id,:last_modified_by,:last_modified_date,:version, :attributes!)
|
30
|
+
Forum2SoapDO = TFType.new(:captcha,:created_by,:created_date,:description,:email_monitoring,:email_posting,:footer,:forum_type,:id,:last_modified_by,:last_modified_date,:list_enabled,:list_name,:message_size,:parent_folder_id,:path,:prefix,:private_forum,:project_id,:reply_to,:title,:version,:web_posting, :attributes!)
|
31
|
+
Forum2SoapRow = TFType.new(:captcha,:created_by,:created_on,:description,:email_monitoring,:email_posting,:footer,:forum_type,:id,:is_list_enabled,:last_modified_by,:last_modified_on,:list_name,:message_size,:parent_folder_id,:path,:prefix,:private_forum,:project_id,:replyto,:title,:web_posting, :attributes!)
|
32
|
+
ForumSoapDO = TFType.new(:created_by,:created_date,:description,:footer,:forum_type,:id,:last_modified_by,:last_modified_date,:list_enabled,:list_name,:parent_folder_id,:path,:prefix,:private_forum,:project_id,:reply_to,:title,:version, :attributes!)
|
33
|
+
ForumSoapRow = TFType.new(:created_by,:created_on,:description,:footer,:forum_type,:id,:is_list_enabled,:last_modified_by,:last_modified_on,:list_name,:parent_folder_id,:path,:prefix,:private_forum,:project_id,:replyto,:title, :attributes!)
|
34
|
+
PostSoapDO = TFType.new(:content,:created_by,:created_date,:folder_id,:id,:last_modified_by,:last_modified_date,:path,:reply_to_id,:status,:title,:version, :attributes!)
|
35
|
+
PostSoapRow = TFType.new(:content,:created_by_user_name,:created_date,:forum_id,:id,:project_id,:reply_to_id,:status,:title,:topic_id, :attributes!)
|
36
|
+
TopicSoapDO = TFType.new(:created_by,:created_date,:description,:id,:last_modified_by,:last_modified_date,:last_post_by,:last_post_date,:parent_folder_id,:path,:project_id,:status,:title,:version,:view_count, :attributes!)
|
37
|
+
TopicSoapRow = TFType.new(:created_by,:created_on,:description,:id,:last_modified_by,:last_modified_on,:parent_folder_id,:path,:project_id,:title, :attributes!)
|
98
38
|
|
99
39
|
end # module DiscussionApp
|
100
40
|
|
@@ -5,114 +5,38 @@ module TeamForge
|
|
5
5
|
######################
|
6
6
|
# DocumentApp Messages
|
7
7
|
######################
|
8
|
-
CreateDocumentFolder =
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
end
|
28
|
-
DeleteDocumentFolder = Struct.new(:session_id, :folder_id) do
|
29
|
-
def send (server=nil, proxy=nil)
|
30
|
-
TeamForge.request(self, server, proxy)
|
31
|
-
end
|
32
|
-
end
|
33
|
-
DeleteDocument = Struct.new(:session_id, :document_id) do
|
34
|
-
def send (server=nil, proxy=nil)
|
35
|
-
TeamForge.request(self, server, proxy)
|
36
|
-
end
|
37
|
-
end
|
38
|
-
FindDocuments = Struct.new(:session_id, :query_string, :project_id, :search_attachments, :current_versions_only) do
|
39
|
-
def send (server=nil, proxy=nil)
|
40
|
-
TeamForge.request(self, server, proxy)
|
41
|
-
end
|
42
|
-
end
|
43
|
-
GetAssignedDocumentReviewList = Struct.new(:session_id, :username) do
|
44
|
-
def send (server=nil, proxy=nil)
|
45
|
-
TeamForge.request(self, server, proxy)
|
46
|
-
end
|
47
|
-
end
|
48
|
-
GetDocumentData = Struct.new(:session_id, :document_id, :document_version) do
|
49
|
-
def send (server=nil, proxy=nil)
|
50
|
-
TeamForge.request(self, server, proxy)
|
51
|
-
end
|
52
|
-
end
|
53
|
-
GetDocumentFileId = Struct.new(:session_id, :document_id, :document_version) do
|
54
|
-
def send (server=nil, proxy=nil)
|
55
|
-
TeamForge.request(self, server, proxy)
|
56
|
-
end
|
57
|
-
end
|
58
|
-
GetDocumentFolderData = Struct.new(:session_id, :folder_id) do
|
59
|
-
def send (server=nil, proxy=nil)
|
60
|
-
TeamForge.request(self, server, proxy)
|
61
|
-
end
|
62
|
-
end
|
63
|
-
GetDocumentFolderList = Struct.new(:session_id, :parent_id, :recursive) do
|
64
|
-
def send (server=nil, proxy=nil)
|
65
|
-
TeamForge.request(self, server, proxy)
|
66
|
-
end
|
67
|
-
end
|
68
|
-
GetDocumentList = Struct.new(:session_id, :parent_id, :filters) do
|
69
|
-
def send (server=nil, proxy=nil)
|
70
|
-
TeamForge.request(self, server, proxy)
|
71
|
-
end
|
72
|
-
end
|
73
|
-
GetDocumentReviewList = Struct.new(:session_id, :container_id, :filters) do
|
74
|
-
def send (server=nil, proxy=nil)
|
75
|
-
TeamForge.request(self, server, proxy)
|
76
|
-
end
|
77
|
-
end
|
78
|
-
MoveDocumentFolder = Struct.new(:session_id, :folder_id, :dest_folder_id) do
|
79
|
-
def send (server=nil, proxy=nil)
|
80
|
-
TeamForge.request(self, server, proxy)
|
81
|
-
end
|
82
|
-
end
|
83
|
-
MoveDocument = Struct.new(:session_id, :document_id, :target_folder_id) do
|
84
|
-
def send (server=nil, proxy=nil)
|
85
|
-
TeamForge.request(self, server, proxy)
|
86
|
-
end
|
87
|
-
end
|
88
|
-
SetDocumentData = Struct.new(:session_id, :document_data, :file_id) do
|
89
|
-
def send (server=nil, proxy=nil)
|
90
|
-
TeamForge.request(self, server, proxy)
|
91
|
-
end
|
92
|
-
end
|
93
|
-
SetDocumentDataWithAssociation = Struct.new(:session_id, :document_data, :file_id, :association_id, :association_comment) do
|
94
|
-
def send (server=nil, proxy=nil)
|
95
|
-
TeamForge.request(self, server, proxy)
|
96
|
-
end
|
97
|
-
end
|
98
|
-
SetDocumentFolderData = Struct.new(:session_id, :document_folder_data) do
|
99
|
-
def send (server=nil, proxy=nil)
|
100
|
-
TeamForge.request(self, server, proxy)
|
101
|
-
end
|
102
|
-
end
|
8
|
+
CreateDocumentFolder = TFSoapRequest.new(:session_id, :parent_id, :title, :description)
|
9
|
+
CreateDocument = TFSoapRequest.new(:session_id, :parent_id, :title, :description, :version_comment, :status, :create_locked, :file_name, :mime_type, :file_id, :association_id, :association_desc)
|
10
|
+
CreateDocumentWithUrl = TFSoapRequest.new(:session_id, :parent_id, :title, :description, :version_comment, :status, :create_locked, :file_url, :association_id, :association_desc)
|
11
|
+
CreateReview = TFSoapRequest.new(:session_id, :document_id, :version, :title, :description, :due_date, :required_reviewers, :optional_reviewers, :attach_document)
|
12
|
+
DeleteDocumentFolder = TFSoapRequest.new(:session_id, :folder_id)
|
13
|
+
DeleteDocument = TFSoapRequest.new(:session_id, :document_id)
|
14
|
+
FindDocuments = TFSoapRequest.new(:session_id, :query_string, :project_id, :search_attachments, :current_versions_only)
|
15
|
+
GetAssignedDocumentReviewList = TFSoapRequest.new(:session_id, :username)
|
16
|
+
GetDocumentData = TFSoapRequest.new(:session_id, :document_id, :document_version)
|
17
|
+
GetDocumentFileId = TFSoapRequest.new(:session_id, :document_id, :document_version)
|
18
|
+
GetDocumentFolderData = TFSoapRequest.new(:session_id, :folder_id)
|
19
|
+
GetDocumentFolderList = TFSoapRequest.new(:session_id, :parent_id, :recursive)
|
20
|
+
GetDocumentList = TFSoapRequest.new(:session_id, :parent_id, :filters)
|
21
|
+
GetDocumentReviewList = TFSoapRequest.new(:session_id, :container_id, :filters)
|
22
|
+
MoveDocumentFolder = TFSoapRequest.new(:session_id, :folder_id, :dest_folder_id)
|
23
|
+
MoveDocument = TFSoapRequest.new(:session_id, :document_id, :target_folder_id)
|
24
|
+
SetDocumentData = TFSoapRequest.new(:session_id, :document_data, :file_id)
|
25
|
+
SetDocumentDataWithAssociation = TFSoapRequest.new(:session_id, :document_data, :file_id, :association_id, :association_comment)
|
26
|
+
SetDocumentFolderData = TFSoapRequest.new(:session_id, :document_folder_data)
|
103
27
|
|
104
28
|
|
105
29
|
######################
|
106
30
|
# DocumentApp Types
|
107
31
|
######################
|
108
32
|
|
109
|
-
DocumentFolderSoapDO =
|
110
|
-
DocumentFolderSoapRow =
|
111
|
-
DocumentReviewSoapDO =
|
112
|
-
DocumentReviewSoapRow =
|
113
|
-
DocumentSoapDO =
|
114
|
-
DocumentSoapRow =
|
115
|
-
SoapFilter =
|
33
|
+
DocumentFolderSoapDO = TFType.new(:created_by,:created_date,:description,:id,:last_modified_by,:last_modified_date,:parent_folder_id,:path,:project_id,:title,:version, :attributes!)
|
34
|
+
DocumentFolderSoapRow = TFType.new(:created_by,:created_on,:description,:id,:last_modified_by,:last_modified_on,:parent_folder_id,:path,:project_id,:title, :attributes!)
|
35
|
+
DocumentReviewSoapDO = TFType.new(:created_by,:created_date,:description,:document_version,:due_date,:end_date,:folder_id,:id,:last_modified_by,:last_modified_date,:path,:status,:title,:version, :attributes!)
|
36
|
+
DocumentReviewSoapRow = TFType.new(:created_by,:date_created,:description,:document_id,:due_date,:end_date,:id,:optional_reviewers_usernames,:required_reviewers_usernames,:status,:title,:version_number, :attributes!)
|
37
|
+
DocumentSoapDO = TFType.new(:created_by,:created_date,:current_version,:date_version_created,:description,:document_version,:file_name,:file_size,:file_url,:folder_id,:id,:last_modified_by,:last_modified_date,:latest_version,:locale,:locked_by,:mime_type,:path,:status,:title,:version,:version_comment,:version_created_by, :attributes!)
|
38
|
+
DocumentSoapRow = TFType.new(:created_by,:current_version,:date_created,:date_last_modified,:date_version_created,:description,:file_name,:file_size,:file_url,:folder_id,:folder_path_string,:folder_title,:id,:last_modified_by,:last_modified_by_full_name,:locked_by,:mime_type,:project_id,:project_path_string,:project_title,:title,:version_comment,:version_created_by,:version_created_by_fullname,:version_id,:version_number,:version_status, :attributes!)
|
39
|
+
SoapFilter = TFType.new(:name,:value, :attributes!)
|
116
40
|
|
117
41
|
end # module DocumentApp
|
118
42
|
|
@@ -5,104 +5,36 @@ module TeamForge
|
|
5
5
|
######################
|
6
6
|
# FrsApp Messages
|
7
7
|
######################
|
8
|
-
CreateFrsFile =
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
TeamForge.request(self, server, proxy)
|
26
|
-
end
|
27
|
-
end
|
28
|
-
DeletePackage = Struct.new(:session_id, :package_id) do
|
29
|
-
def send (server=nil, proxy=nil)
|
30
|
-
TeamForge.request(self, server, proxy)
|
31
|
-
end
|
32
|
-
end
|
33
|
-
DeleteRelease = Struct.new(:session_id, :release_id) do
|
34
|
-
def send (server=nil, proxy=nil)
|
35
|
-
TeamForge.request(self, server, proxy)
|
36
|
-
end
|
37
|
-
end
|
38
|
-
GetArtifactListReportedInRelease = Struct.new(:session_id, :release_id) do
|
39
|
-
def send (server=nil, proxy=nil)
|
40
|
-
TeamForge.request(self, server, proxy)
|
41
|
-
end
|
42
|
-
end
|
43
|
-
GetArtifactListResolvedInRelease = Struct.new(:session_id, :release_id) do
|
44
|
-
def send (server=nil, proxy=nil)
|
45
|
-
TeamForge.request(self, server, proxy)
|
46
|
-
end
|
47
|
-
end
|
48
|
-
GetFrsFileData = Struct.new(:session_id, :frs_file_id) do
|
49
|
-
def send (server=nil, proxy=nil)
|
50
|
-
TeamForge.request(self, server, proxy)
|
51
|
-
end
|
52
|
-
end
|
53
|
-
GetFrsFileId = Struct.new(:session_id, :frs_file_id) do
|
54
|
-
def send (server=nil, proxy=nil)
|
55
|
-
TeamForge.request(self, server, proxy)
|
56
|
-
end
|
57
|
-
end
|
58
|
-
GetFrsFileList = Struct.new(:session_id, :release_id) do
|
59
|
-
def send (server=nil, proxy=nil)
|
60
|
-
TeamForge.request(self, server, proxy)
|
61
|
-
end
|
62
|
-
end
|
63
|
-
GetPackageData = Struct.new(:session_id, :package_id) do
|
64
|
-
def send (server=nil, proxy=nil)
|
65
|
-
TeamForge.request(self, server, proxy)
|
66
|
-
end
|
67
|
-
end
|
68
|
-
GetPackageList = Struct.new(:session_id, :project_id) do
|
69
|
-
def send (server=nil, proxy=nil)
|
70
|
-
TeamForge.request(self, server, proxy)
|
71
|
-
end
|
72
|
-
end
|
73
|
-
GetReleaseData = Struct.new(:session_id, :release_id) do
|
74
|
-
def send (server=nil, proxy=nil)
|
75
|
-
TeamForge.request(self, server, proxy)
|
76
|
-
end
|
77
|
-
end
|
78
|
-
GetReleaseList = Struct.new(:session_id, :package_id) do
|
79
|
-
def send (server=nil, proxy=nil)
|
80
|
-
TeamForge.request(self, server, proxy)
|
81
|
-
end
|
82
|
-
end
|
83
|
-
SetPackageData = Struct.new(:session_id, :package_data) do
|
84
|
-
def send (server=nil, proxy=nil)
|
85
|
-
TeamForge.request(self, server, proxy)
|
86
|
-
end
|
87
|
-
end
|
88
|
-
SetReleaseData = Struct.new(:session_id, :release_data) do
|
89
|
-
def send (server=nil, proxy=nil)
|
90
|
-
TeamForge.request(self, server, proxy)
|
91
|
-
end
|
92
|
-
end
|
8
|
+
CreateFrsFile = TFSoapRequest.new(:session_id, :release_id, :file_name, :mime_type, :file_id)
|
9
|
+
CreatePackage = TFSoapRequest.new(:session_id, :project_id, :title, :description, :is_published)
|
10
|
+
CreateRelease = TFSoapRequest.new(:session_id, :package_id, :title, :description, :status, :maturity)
|
11
|
+
DeleteFrsFile = TFSoapRequest.new(:session_id, :frs_file_id)
|
12
|
+
DeletePackage = TFSoapRequest.new(:session_id, :package_id)
|
13
|
+
DeleteRelease = TFSoapRequest.new(:session_id, :release_id)
|
14
|
+
GetArtifactListReportedInRelease = TFSoapRequest.new(:session_id, :release_id)
|
15
|
+
GetArtifactListResolvedInRelease = TFSoapRequest.new(:session_id, :release_id)
|
16
|
+
GetFrsFileData = TFSoapRequest.new(:session_id, :frs_file_id)
|
17
|
+
GetFrsFileId = TFSoapRequest.new(:session_id, :frs_file_id)
|
18
|
+
GetFrsFileList = TFSoapRequest.new(:session_id, :release_id)
|
19
|
+
GetPackageData = TFSoapRequest.new(:session_id, :package_id)
|
20
|
+
GetPackageList = TFSoapRequest.new(:session_id, :project_id)
|
21
|
+
GetReleaseData = TFSoapRequest.new(:session_id, :release_id)
|
22
|
+
GetReleaseList = TFSoapRequest.new(:session_id, :package_id)
|
23
|
+
SetPackageData = TFSoapRequest.new(:session_id, :package_data)
|
24
|
+
SetReleaseData = TFSoapRequest.new(:session_id, :release_data)
|
93
25
|
|
94
26
|
|
95
27
|
######################
|
96
28
|
# FrsApp Types
|
97
29
|
######################
|
98
30
|
|
99
|
-
ArtifactSoapRow =
|
100
|
-
FrsFileSoapDO =
|
101
|
-
FrsFileSoapRow =
|
102
|
-
PackageSoapDO =
|
103
|
-
PackageSoapRow =
|
104
|
-
ReleaseSoapDO =
|
105
|
-
ReleaseSoapRow =
|
31
|
+
ArtifactSoapRow = TFType.new(:actual_effort,:artifact_group,:assigned_to_fullname,:assigned_to_username,:autosumming,:category,:close_date,:customer,:description,:estimated_effort,:folder_id,:folder_path_string,:folder_title,:id,:last_modified_date,:planning_folder_id,:points,:priority,:project_id,:project_path_string,:project_title,:remaining_effort,:status,:status_class,:submitted_by_fullname,:submitted_by_username,:submitted_date,:title,:version, :attributes!)
|
32
|
+
FrsFileSoapDO = TFType.new(:created_by,:created_date,:description,:filename,:folder_id,:id,:last_modified_by,:last_modified_date,:mime_type,:path,:size,:title,:version, :attributes!)
|
33
|
+
FrsFileSoapRow = TFType.new(:content_id,:date_created,:description,:file_size,:filename,:folder_path_string,:id,:mime_type,:package_id,:package_title,:project_id,:project_path_string,:project_title,:release_id,:release_title,:title, :attributes!)
|
34
|
+
PackageSoapDO = TFType.new(:created_by,:created_date,:description,:downloaded,:id,:is_published,:last_modified_by,:last_modified_date,:parent_folder_id,:path,:project_id,:title,:version, :attributes!)
|
35
|
+
PackageSoapRow = TFType.new(:created_by,:created_on,:description,:id,:last_modified_by,:last_modified_on,:parent_folder_id,:path,:project_id,:status,:title, :attributes!)
|
36
|
+
ReleaseSoapDO = TFType.new(:created_by,:created_date,:description,:downloaded,:id,:last_modified_by,:last_modified_date,:maturity,:parent_folder_id,:path,:project_id,:status,:title,:version, :attributes!)
|
37
|
+
ReleaseSoapRow = TFType.new(:created_by,:created_on,:description,:id,:last_modified_by,:last_modified_on,:maturity,:parent_folder_id,:path,:project_id,:status,:title, :attributes!)
|
106
38
|
|
107
39
|
end # module FrsApp
|
108
40
|
|
@@ -5,53 +5,21 @@ module TeamForge
|
|
5
5
|
######################
|
6
6
|
# IntegrationDataApp Messages
|
7
7
|
######################
|
8
|
-
GetDataByKey =
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
end
|
17
|
-
end
|
18
|
-
GetNamespaceId = Struct.new(:session_id, :name) do
|
19
|
-
def send (server=nil, proxy=nil)
|
20
|
-
TeamForge.request(self, server, proxy)
|
21
|
-
end
|
22
|
-
end
|
23
|
-
PutDataByKey = Struct.new(:session_id, :namespace_id, :object_id, :key, :value) do
|
24
|
-
def send (server=nil, proxy=nil)
|
25
|
-
TeamForge.request(self, server, proxy)
|
26
|
-
end
|
27
|
-
end
|
28
|
-
PutData = Struct.new(:session_id, :namespace_id, :object_id, :named_values) do
|
29
|
-
def send (server=nil, proxy=nil)
|
30
|
-
TeamForge.request(self, server, proxy)
|
31
|
-
end
|
32
|
-
end
|
33
|
-
RegisterNamespace = Struct.new(:session_id, :name) do
|
34
|
-
def send (server=nil, proxy=nil)
|
35
|
-
TeamForge.request(self, server, proxy)
|
36
|
-
end
|
37
|
-
end
|
38
|
-
RemoveDataByKey = Struct.new(:session_id, :namespace_id, :object_id, :key) do
|
39
|
-
def send (server=nil, proxy=nil)
|
40
|
-
TeamForge.request(self, server, proxy)
|
41
|
-
end
|
42
|
-
end
|
43
|
-
RemoveData = Struct.new(:session_id, :namespace_id, :object_id, :keys) do
|
44
|
-
def send (server=nil, proxy=nil)
|
45
|
-
TeamForge.request(self, server, proxy)
|
46
|
-
end
|
47
|
-
end
|
8
|
+
GetDataByKey = TFSoapRequest.new(:session_id, :namespace_id, :object_id, :key)
|
9
|
+
GetData = TFSoapRequest.new(:session_id, :namespace_id, :object_id)
|
10
|
+
GetNamespaceId = TFSoapRequest.new(:session_id, :name)
|
11
|
+
PutDataByKey = TFSoapRequest.new(:session_id, :namespace_id, :object_id, :key, :value)
|
12
|
+
PutData = TFSoapRequest.new(:session_id, :namespace_id, :object_id, :named_values)
|
13
|
+
RegisterNamespace = TFSoapRequest.new(:session_id, :name)
|
14
|
+
RemoveDataByKey = TFSoapRequest.new(:session_id, :namespace_id, :object_id, :key)
|
15
|
+
RemoveData = TFSoapRequest.new(:session_id, :namespace_id, :object_id, :keys)
|
48
16
|
|
49
17
|
|
50
18
|
######################
|
51
19
|
# IntegrationDataApp Types
|
52
20
|
######################
|
53
21
|
|
54
|
-
SoapNamedValues =
|
22
|
+
SoapNamedValues = TFType.new(:names,:values, :attributes!)
|
55
23
|
|
56
24
|
end # module IntegrationDataApp
|
57
25
|
|
@@ -5,44 +5,20 @@ module TeamForge
|
|
5
5
|
######################
|
6
6
|
# NewsApp Messages
|
7
7
|
######################
|
8
|
-
CreateNewsPost =
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
def send (server=nil, proxy=nil)
|
15
|
-
TeamForge.request(self, server, proxy)
|
16
|
-
end
|
17
|
-
end
|
18
|
-
EditNewsPost = Struct.new(:session_id, :post_id, :title, :body) do
|
19
|
-
def send (server=nil, proxy=nil)
|
20
|
-
TeamForge.request(self, server, proxy)
|
21
|
-
end
|
22
|
-
end
|
23
|
-
FindNews = Struct.new(:session_id, :query_string, :project_id, :search_attachments) do
|
24
|
-
def send (server=nil, proxy=nil)
|
25
|
-
TeamForge.request(self, server, proxy)
|
26
|
-
end
|
27
|
-
end
|
28
|
-
GetAllNewsPostList = Struct.new(:session_id) do
|
29
|
-
def send (server=nil, proxy=nil)
|
30
|
-
TeamForge.request(self, server, proxy)
|
31
|
-
end
|
32
|
-
end
|
33
|
-
GetNewsPostList = Struct.new(:session_id, :project_id) do
|
34
|
-
def send (server=nil, proxy=nil)
|
35
|
-
TeamForge.request(self, server, proxy)
|
36
|
-
end
|
37
|
-
end
|
8
|
+
CreateNewsPost = TFSoapRequest.new(:session_id, :project_id, :title, :body)
|
9
|
+
DeleteNewsPost = TFSoapRequest.new(:session_id, :post_id)
|
10
|
+
EditNewsPost = TFSoapRequest.new(:session_id, :post_id, :title, :body)
|
11
|
+
FindNews = TFSoapRequest.new(:session_id, :query_string, :project_id, :search_attachments)
|
12
|
+
GetAllNewsPostList = TFSoapRequest.new(:session_id)
|
13
|
+
GetNewsPostList = TFSoapRequest.new(:session_id, :project_id)
|
38
14
|
|
39
15
|
|
40
16
|
######################
|
41
17
|
# NewsApp Types
|
42
18
|
######################
|
43
19
|
|
44
|
-
NewsPostSoapDO =
|
45
|
-
NewsPostSoapRow =
|
20
|
+
NewsPostSoapDO = TFType.new(:body,:created_by,:created_date,:folder_id,:id,:last_modified_by,:last_modified_date,:path,:title,:version, :attributes!)
|
21
|
+
NewsPostSoapRow = TFType.new(:body,:created_by_full_name,:created_by_username,:created_on,:folder_path_string,:id,:project_id,:project_path_string,:project_title,:title, :attributes!)
|
46
22
|
|
47
23
|
end # module NewsApp
|
48
24
|
|