teamforge 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +18 -0
- data/lib/teamforge/ctfsoap.rb +189 -0
- data/lib/teamforge/services/categorizationapp.rb +91 -0
- data/lib/teamforge/services/collabnet.rb +487 -0
- data/lib/teamforge/services/discussionapp.rb +102 -0
- data/lib/teamforge/services/documentapp.rb +120 -0
- data/lib/teamforge/services/frsapp.rb +110 -0
- data/lib/teamforge/services/integrationdataapp.rb +59 -0
- data/lib/teamforge/services/newsapp.rb +50 -0
- data/lib/teamforge/services/pageapp.rb +113 -0
- data/lib/teamforge/services/planningapp.rb +130 -0
- data/lib/teamforge/services/pluggableapp.rb +151 -0
- data/lib/teamforge/services/rbacapp.rb +233 -0
- data/lib/teamforge/services/scmapp.rb +122 -0
- data/lib/teamforge/services/simplefilestorageapp.rb +43 -0
- data/lib/teamforge/services/taskapp.rb +118 -0
- data/lib/teamforge/services/trackerapp.rb +241 -0
- data/lib/teamforge/services/wikiapp.rb +66 -0
- data/lib/teamforge/version.rb +5 -0
- data/lib/teamforge.rb +64 -0
- metadata +77 -0
@@ -0,0 +1,151 @@
|
|
1
|
+
|
2
|
+
module TeamForge
|
3
|
+
module PluggableApp
|
4
|
+
|
5
|
+
######################
|
6
|
+
# PluggableApp Messages
|
7
|
+
######################
|
8
|
+
CreateIntegratedApplication2 = Struct.new(:session_id, :plug_name, :description, :base_url, :go_url, :prefix, :is_scm_required, :require_proj_prefix, :icon_file_id, :end_point, :param_do, :admin_url, :perm_soap_do, :is_page_component_required, :pce_input_type, :pce_result_format, :pce_description, :pce_title, :id_pattern, :service_type) do
|
9
|
+
def send (server=nil, proxy=nil)
|
10
|
+
TeamForge.request(self, server, proxy)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
CreateIntegratedApplicationFromXMLFiles2 = Struct.new(:session_id, :dep_xml_byte_array, :app_xml_byte_array, :icon_file_id) do
|
14
|
+
def send (server=nil, proxy=nil)
|
15
|
+
TeamForge.request(self, server, proxy)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
CreateIntegratedApplicationFromXMLFiles = Struct.new(:session_id, :dep_xml_byte_array, :app_xml_byte_array, :icon_file_id) do
|
19
|
+
def send (server=nil, proxy=nil)
|
20
|
+
TeamForge.request(self, server, proxy)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
CreateIntegratedApplication = Struct.new(:session_id, :plug_name, :description, :base_url, :go_url, :prefix, :is_scm_required, :require_proj_prefix, :icon_file_id, :end_point, :param_do, :admin_url, :perm_soap_do, :pce_input_type, :pce_result_format, :pce_description, :pce_title) do
|
24
|
+
def send (server=nil, proxy=nil)
|
25
|
+
TeamForge.request(self, server, proxy)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
EditIntegratedApplication2 = Struct.new(:session_id, :soap_do) do
|
29
|
+
def send (server=nil, proxy=nil)
|
30
|
+
TeamForge.request(self, server, proxy)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
EditIntegratedApplicationFromXMLFiles = Struct.new(:session_id, :integrated_app_id, :dep_xml_byte_array, :app_xml_byte_array, :icon_file_id) do
|
34
|
+
def send (server=nil, proxy=nil)
|
35
|
+
TeamForge.request(self, server, proxy)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
EditIntegratedApplication = Struct.new(:session_id, :soap_do) do
|
39
|
+
def send (server=nil, proxy=nil)
|
40
|
+
TeamForge.request(self, server, proxy)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
EditProjectConfigurationParameters2 = Struct.new(:session_id, :integrated_app_id, :project_id, :param_do) do
|
44
|
+
def send (server=nil, proxy=nil)
|
45
|
+
TeamForge.request(self, server, proxy)
|
46
|
+
end
|
47
|
+
end
|
48
|
+
EditProjectConfigurationParameters = Struct.new(:session_id, :project_id, :param_do) do
|
49
|
+
def send (server=nil, proxy=nil)
|
50
|
+
TeamForge.request(self, server, proxy)
|
51
|
+
end
|
52
|
+
end
|
53
|
+
EnablePluggableComponent = Struct.new(:session_id, :project_id, :pluggable_id, :params, :prefix) do
|
54
|
+
def send (server=nil, proxy=nil)
|
55
|
+
TeamForge.request(self, server, proxy)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
GetBaseUrlByLinkId = Struct.new(:session_id, :link_id) do
|
59
|
+
def send (server=nil, proxy=nil)
|
60
|
+
TeamForge.request(self, server, proxy)
|
61
|
+
end
|
62
|
+
end
|
63
|
+
GetIntegratedAppPrefixes = Struct.new(:session_id) do
|
64
|
+
def send (server=nil, proxy=nil)
|
65
|
+
TeamForge.request(self, server, proxy)
|
66
|
+
end
|
67
|
+
end
|
68
|
+
GetIntegratedApplicationByName2 = Struct.new(:session_id, :integrated_app_name) do
|
69
|
+
def send (server=nil, proxy=nil)
|
70
|
+
TeamForge.request(self, server, proxy)
|
71
|
+
end
|
72
|
+
end
|
73
|
+
GetIntegratedApplicationByName = Struct.new(:session_id, :plug_name) do
|
74
|
+
def send (server=nil, proxy=nil)
|
75
|
+
TeamForge.request(self, server, proxy)
|
76
|
+
end
|
77
|
+
end
|
78
|
+
GetLinkPlugIdByPlugId = Struct.new(:session_id, :project_id, :pluggable_id) do
|
79
|
+
def send (server=nil, proxy=nil)
|
80
|
+
TeamForge.request(self, server, proxy)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
GetLinkPlugId = Struct.new(:session_id, :project_path, :base_url) do
|
84
|
+
def send (server=nil, proxy=nil)
|
85
|
+
TeamForge.request(self, server, proxy)
|
86
|
+
end
|
87
|
+
end
|
88
|
+
GetPlugIdByBaseUrl = Struct.new(:session_id, :base_url) do
|
89
|
+
def send (server=nil, proxy=nil)
|
90
|
+
TeamForge.request(self, server, proxy)
|
91
|
+
end
|
92
|
+
end
|
93
|
+
GetProjectConfigParameterData = Struct.new(:session_id, :link_id) do
|
94
|
+
def send (server=nil, proxy=nil)
|
95
|
+
TeamForge.request(self, server, proxy)
|
96
|
+
end
|
97
|
+
end
|
98
|
+
GetProjectPathByIntegratedAppId = Struct.new(:session_id, :link_id) do
|
99
|
+
def send (server=nil, proxy=nil)
|
100
|
+
TeamForge.request(self, server, proxy)
|
101
|
+
end
|
102
|
+
end
|
103
|
+
GetProjectPrefix = Struct.new(:session_id, :link_id) do
|
104
|
+
def send (server=nil, proxy=nil)
|
105
|
+
TeamForge.request(self, server, proxy)
|
106
|
+
end
|
107
|
+
end
|
108
|
+
ListPluggableComponentsForProject = Struct.new(:session_id, :project_id) do
|
109
|
+
def send (server=nil, proxy=nil)
|
110
|
+
TeamForge.request(self, server, proxy)
|
111
|
+
end
|
112
|
+
end
|
113
|
+
ListPluggableComponents = Struct.new(:session_id) do
|
114
|
+
def send (server=nil, proxy=nil)
|
115
|
+
TeamForge.request(self, server, proxy)
|
116
|
+
end
|
117
|
+
end
|
118
|
+
RemoveProjectIntegratedApplication = Struct.new(:session_id, :link_id) do
|
119
|
+
def send (server=nil, proxy=nil)
|
120
|
+
TeamForge.request(self, server, proxy)
|
121
|
+
end
|
122
|
+
end
|
123
|
+
SetPluggableAppMessageResource = Struct.new(:session_id, :pluggable_id, :locale, :key, :value) do
|
124
|
+
def send (server=nil, proxy=nil)
|
125
|
+
TeamForge.request(self, server, proxy)
|
126
|
+
end
|
127
|
+
end
|
128
|
+
UpdateRecentAccess = Struct.new(:user_id, :object_id) do
|
129
|
+
def send (server=nil, proxy=nil)
|
130
|
+
TeamForge.request(self, server, proxy)
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
|
135
|
+
######################
|
136
|
+
# PluggableApp Types
|
137
|
+
######################
|
138
|
+
|
139
|
+
LinkPluggableComponentSoapRow = Struct.new(:integrated_app_id,:prefix,:proj_integrated_app_id,:project_id,:project_path_string, :attributes!)
|
140
|
+
PluggableComponent2SoapDO = Struct.new(:adminurl,:baseurl,:config_parameters,:created_by,:created_date,:description,:enabled,:endpoint,:gourl,:icon_key,:id,:id_pattern,:last_modified_by,:last_modified_date,:name,:parent_folder_id,:path,:pce_description,:pce_input_type,:pce_result_format,:pce_title,:permissions,:prefix,:project_id,:require_page_component,:require_prefix_project,:require_scmintegration,:service_type,:title,:version, :attributes!)
|
141
|
+
PluggableComponentParameterSoapDO = Struct.new(:default_value,:description,:display_type,:editable,:id,:max_length,:name,:options,:title,:value_type, :attributes!)
|
142
|
+
PluggableComponentParameterValueSoapDO = Struct.new(:id,:name,:param_id,:value, :attributes!)
|
143
|
+
PluggableComponentSoapDO = Struct.new(:adminurl,:baseurl,:config_parameters,:created_by,:created_date,:description,:enabled,:endpoint,:gourl,:icon_key,:id,:last_modified_by,:last_modified_date,:name,:parent_folder_id,:path,:pce_description,:pce_input_type,:pce_result_format,:pce_title,:permissions,:prefix,:project_id,:require_prefix_project,:require_scmintegration,:title,:version, :attributes!)
|
144
|
+
PluggableComponentSoapRow = Struct.new(:baseurl,:enabled,:icon_id,:name, :attributes!)
|
145
|
+
PluggablePermissionSoapDO = Struct.new(:created_by,:created_date,:dap_mapped_to,:description,:id,:is_admin_tool,:last_modified_by,:last_modified_date,:parent_folder_id,:path,:permission,:plug_id,:project_id,:title,:version, :attributes!)
|
146
|
+
SoapNamedValues = Struct.new(:names,:values, :attributes!)
|
147
|
+
|
148
|
+
end # module PluggableApp
|
149
|
+
|
150
|
+
|
151
|
+
end # module TeamForge
|
@@ -0,0 +1,233 @@
|
|
1
|
+
|
2
|
+
module TeamForge
|
3
|
+
module RbacApp
|
4
|
+
|
5
|
+
######################
|
6
|
+
# RbacApp Messages
|
7
|
+
######################
|
8
|
+
AddCluster = Struct.new(:session_id, :role_id, :operation_cluster, :folder_id) do
|
9
|
+
def send (server=nil, proxy=nil)
|
10
|
+
TeamForge.request(self, server, proxy)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
AddGroup = Struct.new(:session_id, :group_id, :role_id, :project_or_project_group_id) do
|
14
|
+
def send (server=nil, proxy=nil)
|
15
|
+
TeamForge.request(self, server, proxy)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
AddUser = Struct.new(:session_id, :role_id, :username) do
|
19
|
+
def send (server=nil, proxy=nil)
|
20
|
+
TeamForge.request(self, server, proxy)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
AddUserToProjectRole = Struct.new(:session_id, :role_id, :username, :project_or_project_group_id) do
|
24
|
+
def send (server=nil, proxy=nil)
|
25
|
+
TeamForge.request(self, server, proxy)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
ApproveRole = Struct.new(:session_id, :request_id, :project_id) do
|
29
|
+
def send (server=nil, proxy=nil)
|
30
|
+
TeamForge.request(self, server, proxy)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
CreateGlobalRole = Struct.new(:session_id, :title, :description, :prevent_inheritance, :requestable) do
|
34
|
+
def send (server=nil, proxy=nil)
|
35
|
+
TeamForge.request(self, server, proxy)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
CreateRole = Struct.new(:session_id, :project_or_project_group_id, :title, :description, :prevent_inheritance, :requestable, :auto_grant) do
|
39
|
+
def send (server=nil, proxy=nil)
|
40
|
+
TeamForge.request(self, server, proxy)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
CreateSiteWideRole = Struct.new(:session_id, :title, :description, :prevent_inheritance) do
|
44
|
+
def send (server=nil, proxy=nil)
|
45
|
+
TeamForge.request(self, server, proxy)
|
46
|
+
end
|
47
|
+
end
|
48
|
+
DeleteRole = Struct.new(:session_id, :role_id) do
|
49
|
+
def send (server=nil, proxy=nil)
|
50
|
+
TeamForge.request(self, server, proxy)
|
51
|
+
end
|
52
|
+
end
|
53
|
+
GetAutomaticallyGrantOn = Struct.new(:session_id, :role_id, :project_id) do
|
54
|
+
def send (server=nil, proxy=nil)
|
55
|
+
TeamForge.request(self, server, proxy)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
GetGlobalRoleList = Struct.new(:session_id) do
|
59
|
+
def send (server=nil, proxy=nil)
|
60
|
+
TeamForge.request(self, server, proxy)
|
61
|
+
end
|
62
|
+
end
|
63
|
+
GetGlobalRolesForAssignment = Struct.new(:session_id, :project_or_project_group_id) do
|
64
|
+
def send (server=nil, proxy=nil)
|
65
|
+
TeamForge.request(self, server, proxy)
|
66
|
+
end
|
67
|
+
end
|
68
|
+
GetGroupRoleList = Struct.new(:session_id, :group_id, :project_id_or_project_group_id) do
|
69
|
+
def send (server=nil, proxy=nil)
|
70
|
+
TeamForge.request(self, server, proxy)
|
71
|
+
end
|
72
|
+
end
|
73
|
+
GetInheritedRoleList = Struct.new(:session_id, :project_id) do
|
74
|
+
def send (server=nil, proxy=nil)
|
75
|
+
TeamForge.request(self, server, proxy)
|
76
|
+
end
|
77
|
+
end
|
78
|
+
GetIntegratedAppPermissionsForProject = Struct.new(:session_id, :project_id, :link_id) do
|
79
|
+
def send (server=nil, proxy=nil)
|
80
|
+
TeamForge.request(self, server, proxy)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
GetPendingedRoles = Struct.new(:session_id, :project_id) do
|
84
|
+
def send (server=nil, proxy=nil)
|
85
|
+
TeamForge.request(self, server, proxy)
|
86
|
+
end
|
87
|
+
end
|
88
|
+
GetProjectRoleMemberList = Struct.new(:session_id, :role_id, :project_or_project_group_id) do
|
89
|
+
def send (server=nil, proxy=nil)
|
90
|
+
TeamForge.request(self, server, proxy)
|
91
|
+
end
|
92
|
+
end
|
93
|
+
GetProjectsByIntegratedAppPermission = Struct.new(:session_id, :perm, :integrated_app_name) do
|
94
|
+
def send (server=nil, proxy=nil)
|
95
|
+
TeamForge.request(self, server, proxy)
|
96
|
+
end
|
97
|
+
end
|
98
|
+
GetProjectsForAction = Struct.new(:session_id, :operation_string, :user_name) do
|
99
|
+
def send (server=nil, proxy=nil)
|
100
|
+
TeamForge.request(self, server, proxy)
|
101
|
+
end
|
102
|
+
end
|
103
|
+
GetRoleGroupList = Struct.new(:session_id, :role_id) do
|
104
|
+
def send (server=nil, proxy=nil)
|
105
|
+
TeamForge.request(self, server, proxy)
|
106
|
+
end
|
107
|
+
end
|
108
|
+
GetRoleGroupUsers = Struct.new(:session_id, :project_id_or_project_group_id, :role_id) do
|
109
|
+
def send (server=nil, proxy=nil)
|
110
|
+
TeamForge.request(self, server, proxy)
|
111
|
+
end
|
112
|
+
end
|
113
|
+
GetRoleList = Struct.new(:session_id, :project_or_project_group_id) do
|
114
|
+
def send (server=nil, proxy=nil)
|
115
|
+
TeamForge.request(self, server, proxy)
|
116
|
+
end
|
117
|
+
end
|
118
|
+
GetRoleMemberList = Struct.new(:session_id, :role_id) do
|
119
|
+
def send (server=nil, proxy=nil)
|
120
|
+
TeamForge.request(self, server, proxy)
|
121
|
+
end
|
122
|
+
end
|
123
|
+
GetSiteWideRoleList = Struct.new(:session_id) do
|
124
|
+
def send (server=nil, proxy=nil)
|
125
|
+
TeamForge.request(self, server, proxy)
|
126
|
+
end
|
127
|
+
end
|
128
|
+
GetUserRoleList = Struct.new(:session_id, :project_or_project_group_id, :username) do
|
129
|
+
def send (server=nil, proxy=nil)
|
130
|
+
TeamForge.request(self, server, proxy)
|
131
|
+
end
|
132
|
+
end
|
133
|
+
GetUserSiteWideRoleList = Struct.new(:session_id, :username) do
|
134
|
+
def send (server=nil, proxy=nil)
|
135
|
+
TeamForge.request(self, server, proxy)
|
136
|
+
end
|
137
|
+
end
|
138
|
+
GrantRolesToMembers = Struct.new(:session_id, :user_roles_soap_dos, :project_id) do
|
139
|
+
def send (server=nil, proxy=nil)
|
140
|
+
TeamForge.request(self, server, proxy)
|
141
|
+
end
|
142
|
+
end
|
143
|
+
ListClusters = Struct.new(:session_id, :role_id) do
|
144
|
+
def send (server=nil, proxy=nil)
|
145
|
+
TeamForge.request(self, server, proxy)
|
146
|
+
end
|
147
|
+
end
|
148
|
+
ListGroupRolesByProjectGroup = Struct.new(:session_id, :project_group_id) do
|
149
|
+
def send (server=nil, proxy=nil)
|
150
|
+
TeamForge.request(self, server, proxy)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
ListGroupRolesByProject = Struct.new(:session_id, :project_id) do
|
154
|
+
def send (server=nil, proxy=nil)
|
155
|
+
TeamForge.request(self, server, proxy)
|
156
|
+
end
|
157
|
+
end
|
158
|
+
ListRolePaths = Struct.new(:session_id, :role_id, :repository_id) do
|
159
|
+
def send (server=nil, proxy=nil)
|
160
|
+
TeamForge.request(self, server, proxy)
|
161
|
+
end
|
162
|
+
end
|
163
|
+
RejectRole = Struct.new(:session_id, :request_id, :project_id) do
|
164
|
+
def send (server=nil, proxy=nil)
|
165
|
+
TeamForge.request(self, server, proxy)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
RemoveCluster = Struct.new(:session_id, :role_id, :operation_cluster, :folder_id) do
|
169
|
+
def send (server=nil, proxy=nil)
|
170
|
+
TeamForge.request(self, server, proxy)
|
171
|
+
end
|
172
|
+
end
|
173
|
+
RemoveGroup = Struct.new(:session_id, :group_id, :role_id, :project_or_project_group_id) do
|
174
|
+
def send (server=nil, proxy=nil)
|
175
|
+
TeamForge.request(self, server, proxy)
|
176
|
+
end
|
177
|
+
end
|
178
|
+
RemoveUserFromProjectRole = Struct.new(:session_id, :role_id, :username, :project_or_project_group_id) do
|
179
|
+
def send (server=nil, proxy=nil)
|
180
|
+
TeamForge.request(self, server, proxy)
|
181
|
+
end
|
182
|
+
end
|
183
|
+
RemoveUser = Struct.new(:session_id, :role_id, :username) do
|
184
|
+
def send (server=nil, proxy=nil)
|
185
|
+
TeamForge.request(self, server, proxy)
|
186
|
+
end
|
187
|
+
end
|
188
|
+
RequestRole = Struct.new(:session_id, :role_id, :project_id) do
|
189
|
+
def send (server=nil, proxy=nil)
|
190
|
+
TeamForge.request(self, server, proxy)
|
191
|
+
end
|
192
|
+
end
|
193
|
+
RevokeRolesFromMembers = Struct.new(:session_id, :user_roles_soap_dos, :project_id) do
|
194
|
+
def send (server=nil, proxy=nil)
|
195
|
+
TeamForge.request(self, server, proxy)
|
196
|
+
end
|
197
|
+
end
|
198
|
+
SetAutomaticallyGrantOn = Struct.new(:session_id, :role_id, :project_id, :auto_grant) do
|
199
|
+
def send (server=nil, proxy=nil)
|
200
|
+
TeamForge.request(self, server, proxy)
|
201
|
+
end
|
202
|
+
end
|
203
|
+
SetRoleData = Struct.new(:session_id, :role_data) do
|
204
|
+
def send (server=nil, proxy=nil)
|
205
|
+
TeamForge.request(self, server, proxy)
|
206
|
+
end
|
207
|
+
end
|
208
|
+
SetRolePaths = Struct.new(:session_id, :role_id, :repository_id, :role_paths) do
|
209
|
+
def send (server=nil, proxy=nil)
|
210
|
+
TeamForge.request(self, server, proxy)
|
211
|
+
end
|
212
|
+
end
|
213
|
+
|
214
|
+
|
215
|
+
######################
|
216
|
+
# RbacApp Types
|
217
|
+
######################
|
218
|
+
|
219
|
+
ProjectSoapRow = Struct.new(:date_created,:description,:hierarchy_path,:id,:locked,:parent_project_id,:path,:title, :attributes!)
|
220
|
+
RoleClusterSoapRow = Struct.new(:folder_id,:operation_cluster_name, :attributes!)
|
221
|
+
RoleGroupSoapRow = Struct.new(:group_id,:project_id,:role_id, :attributes!)
|
222
|
+
RoleRequestSoapRow = Struct.new(:created_by_user_full_name,:created_by_username,:created_date,:id,:last_modified_date,:last_modified_user_full_name,:last_modified_username,:project_id,:projet_path,:projet_title,:role_id,:role_type,:status, :attributes!)
|
223
|
+
RoleSoapDO = Struct.new(:created_by,:created_date,:created_in_project_id,:description,:id,:last_modified_by,:last_modified_date,:prevent_inheritance,:requestable,:role_type,:status,:title,:version, :attributes!)
|
224
|
+
RoleSoapRow = Struct.new(:created_in_project_id,:description,:id,:prevent_inheritance,:requestable,:role_type,:status,:title, :attributes!)
|
225
|
+
SoapNamedValues = Struct.new(:names,:values, :attributes!)
|
226
|
+
UserGroupSoapRow = Struct.new(:description,:full_name,:id, :attributes!)
|
227
|
+
UserRolesSoapDO = Struct.new(:created_by,:created_date,:id,:last_modified_by,:last_modified_date,:role_ids,:user_name,:version, :attributes!)
|
228
|
+
UserSoapRow = Struct.new(:alternate_email1,:alternate_email2,:alternate_email3,:email,:full_name,:last_login,:license_type,:locale,:organization,:restricted_user,:status,:super_user,:time_zone,:user_name, :attributes!)
|
229
|
+
|
230
|
+
end # module RbacApp
|
231
|
+
|
232
|
+
|
233
|
+
end # module TeamForge
|
@@ -0,0 +1,122 @@
|
|
1
|
+
|
2
|
+
module TeamForge
|
3
|
+
module ScmApp
|
4
|
+
|
5
|
+
######################
|
6
|
+
# ScmApp Messages
|
7
|
+
######################
|
8
|
+
AddExternalSystem = Struct.new(:session_id, :adapter_type, :title, :description, :adapter_type_parameters) do
|
9
|
+
def send (server=nil, proxy=nil)
|
10
|
+
TeamForge.request(self, server, proxy)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
CreateRepository = Struct.new(:session_id, :project_id, :external_system_id, :repository_directory, :title, :description, :id_required_on_commit, :hide_monitoring_details, :comment) do
|
14
|
+
def send (server=nil, proxy=nil)
|
15
|
+
TeamForge.request(self, server, proxy)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
GetAuthorizedKeysForUser = Struct.new(:session_id, :username) do
|
19
|
+
def send (server=nil, proxy=nil)
|
20
|
+
TeamForge.request(self, server, proxy)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
GetAuthorizedKeys = Struct.new(:session_id) do
|
24
|
+
def send (server=nil, proxy=nil)
|
25
|
+
TeamForge.request(self, server, proxy)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
GetCommitData = Struct.new(:session_id, :commit_id) do
|
29
|
+
def send (server=nil, proxy=nil)
|
30
|
+
TeamForge.request(self, server, proxy)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
GetCommitId = Struct.new(:session_id, :revision, :external_system_id, :repo_path) do
|
34
|
+
def send (server=nil, proxy=nil)
|
35
|
+
TeamForge.request(self, server, proxy)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
GetCommitList = Struct.new(:session_id, :repository_id, :filters) do
|
39
|
+
def send (server=nil, proxy=nil)
|
40
|
+
TeamForge.request(self, server, proxy)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
GetReplicableScmExternalSystemList = Struct.new(:session_id) do
|
44
|
+
def send (server=nil, proxy=nil)
|
45
|
+
TeamForge.request(self, server, proxy)
|
46
|
+
end
|
47
|
+
end
|
48
|
+
GetReplicatedRepositoryList = Struct.new(:session_id, :master_repository_id) do
|
49
|
+
def send (server=nil, proxy=nil)
|
50
|
+
TeamForge.request(self, server, proxy)
|
51
|
+
end
|
52
|
+
end
|
53
|
+
GetRepositoryDataById = Struct.new(:session_id, :repository_id) do
|
54
|
+
def send (server=nil, proxy=nil)
|
55
|
+
TeamForge.request(self, server, proxy)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
GetRepositoryData = Struct.new(:session_id, :external_system_id, :repository_directory) do
|
59
|
+
def send (server=nil, proxy=nil)
|
60
|
+
TeamForge.request(self, server, proxy)
|
61
|
+
end
|
62
|
+
end
|
63
|
+
GetRepositoryListForExternalSystem = Struct.new(:session_id, :external_system_id, :user_name) do
|
64
|
+
def send (server=nil, proxy=nil)
|
65
|
+
TeamForge.request(self, server, proxy)
|
66
|
+
end
|
67
|
+
end
|
68
|
+
GetRepositoryList = 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
|
+
GetSCMCheckoutCommand = Struct.new(:session_id, :repository_id, :user_name) do
|
74
|
+
def send (server=nil, proxy=nil)
|
75
|
+
TeamForge.request(self, server, proxy)
|
76
|
+
end
|
77
|
+
end
|
78
|
+
GetScmAdapterNames = Struct.new(:session_id) do
|
79
|
+
def send (server=nil, proxy=nil)
|
80
|
+
TeamForge.request(self, server, proxy)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
GetScmAdapterParameterNamesWithType = Struct.new(:session_id, :adapter_name) do
|
84
|
+
def send (server=nil, proxy=nil)
|
85
|
+
TeamForge.request(self, server, proxy)
|
86
|
+
end
|
87
|
+
end
|
88
|
+
MoveRepository = Struct.new(:session_id, :repository_id, :project_id) do
|
89
|
+
def send (server=nil, proxy=nil)
|
90
|
+
TeamForge.request(self, server, proxy)
|
91
|
+
end
|
92
|
+
end
|
93
|
+
SetAuthorizedKeys = Struct.new(:session_id, :username, :authorized_keys) do
|
94
|
+
def send (server=nil, proxy=nil)
|
95
|
+
TeamForge.request(self, server, proxy)
|
96
|
+
end
|
97
|
+
end
|
98
|
+
SetAuthorizedKeys1 = Struct.new(:session_id, :authorized_keys) do
|
99
|
+
def send (server=nil, proxy=nil)
|
100
|
+
TeamForge.request(self, server, proxy)
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
|
105
|
+
######################
|
106
|
+
# ScmApp Types
|
107
|
+
######################
|
108
|
+
|
109
|
+
CommitSoapDO = Struct.new(:commit_message,:created_by,:created_by_fullname,:created_date,:files,:folder_id,:id,:last_modified_by,:last_modified_date,:path,:title,:version, :attributes!)
|
110
|
+
CommitSoapRow = Struct.new(:commit_message,:created_by,:created_by_fullname,:date_created,:folder_path_string,:id,:project_id,:project_path_string,:project_title,:title, :attributes!)
|
111
|
+
ReplicableScmExternalSystemSoapRow = Struct.new(:description,:id,:is_svn_edge,:title, :attributes!)
|
112
|
+
ReplicatedRepositorySoapRow = Struct.new(:checkout_command,:created_by,:created_on,:description,:health,:id,:last_modified_by,:last_modified_on,:managed_by_full_name,:managed_by_username,:parent_folder_id,:path,:project_id,:status,:title,:url, :attributes!)
|
113
|
+
RepositorySoapDO = Struct.new(:created_by,:created_date,:description,:hide_monitoring_details,:id,:id_required_on_commit,:is_on_managed_scm_server,:last_modified_by,:last_modified_date,:parent_folder_id,:path,:project_id,:repository_directory,:scm_adapter_name,:scm_viewer_url,:system_id,:system_title,:title,:version, :attributes!)
|
114
|
+
RepositorySoapRow = Struct.new(:commits_this_week,:created_by,:created_on,:description,:id,:last_modified_by,:last_modified_on,:parent_folder_id,:path,:project_id,:repository_path,:title, :attributes!)
|
115
|
+
ScmFileSoapRow = Struct.new(:commit_message,:filename,:id,:ref_filename,:status,:version, :attributes!)
|
116
|
+
SoapFilter = Struct.new(:name,:value, :attributes!)
|
117
|
+
SoapNamedValues = Struct.new(:names,:values, :attributes!)
|
118
|
+
|
119
|
+
end # module ScmApp
|
120
|
+
|
121
|
+
|
122
|
+
end # module TeamForge
|
@@ -0,0 +1,43 @@
|
|
1
|
+
|
2
|
+
module TeamForge
|
3
|
+
module SimpleFileStorageApp
|
4
|
+
|
5
|
+
######################
|
6
|
+
# SimpleFileStorageApp Messages
|
7
|
+
######################
|
8
|
+
EndFileUpload = Struct.new(:session_id, :file_storage_id) do
|
9
|
+
def send (server=nil, proxy=nil)
|
10
|
+
TeamForge.request(self, server, proxy)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
GetSize = Struct.new(:session_id, :file_storage_id) do
|
14
|
+
def send (server=nil, proxy=nil)
|
15
|
+
TeamForge.request(self, server, proxy)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
Read = Struct.new(:session_id, :file_storage_id, :offset, :length) do
|
19
|
+
def send (server=nil, proxy=nil)
|
20
|
+
TeamForge.request(self, server, proxy)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
StartFileUpload = Struct.new(:session_id) do
|
24
|
+
def send (server=nil, proxy=nil)
|
25
|
+
TeamForge.request(self, server, proxy)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
Write = Struct.new(:session_id, :file_storage_id, :data) do
|
29
|
+
def send (server=nil, proxy=nil)
|
30
|
+
TeamForge.request(self, server, proxy)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
|
35
|
+
######################
|
36
|
+
# SimpleFileStorageApp Types
|
37
|
+
######################
|
38
|
+
|
39
|
+
|
40
|
+
end # module SimpleFileStorageApp
|
41
|
+
|
42
|
+
|
43
|
+
end # module TeamForge
|
@@ -0,0 +1,118 @@
|
|
1
|
+
|
2
|
+
module TeamForge
|
3
|
+
module TaskApp
|
4
|
+
|
5
|
+
######################
|
6
|
+
# TaskApp Messages
|
7
|
+
######################
|
8
|
+
CreateTaskDependency = Struct.new(:session_id, :origin_task_id, :target_task_id) do
|
9
|
+
def send (server=nil, proxy=nil)
|
10
|
+
TeamForge.request(self, server, proxy)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
CreateTaskGroup = Struct.new(:session_id, :parent_id, :title, :description) do
|
14
|
+
def send (server=nil, proxy=nil)
|
15
|
+
TeamForge.request(self, server, proxy)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
CreateTask = Struct.new(:session_id, :task_group_id, :title, :description, :priority, :user_assigned_to, :status, :start_date, :end_date, :estimated_hours, :required_hours, :include_weekends) do
|
19
|
+
def send (server=nil, proxy=nil)
|
20
|
+
TeamForge.request(self, server, proxy)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
DeleteTaskDependency = Struct.new(:session_id, :origin_task_id, :target_task_id) do
|
24
|
+
def send (server=nil, proxy=nil)
|
25
|
+
TeamForge.request(self, server, proxy)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
DeleteTaskGroup = Struct.new(:session_id, :task_group_id) do
|
29
|
+
def send (server=nil, proxy=nil)
|
30
|
+
TeamForge.request(self, server, proxy)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
DeleteTask = Struct.new(:session_id, :task_id) do
|
34
|
+
def send (server=nil, proxy=nil)
|
35
|
+
TeamForge.request(self, server, proxy)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
FindTasks = Struct.new(:session_id, :query_string, :project_id, :search_attachments) do
|
39
|
+
def send (server=nil, proxy=nil)
|
40
|
+
TeamForge.request(self, server, proxy)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
GetPredecessorTaskList = Struct.new(:session_id, :target_task_id) do
|
44
|
+
def send (server=nil, proxy=nil)
|
45
|
+
TeamForge.request(self, server, proxy)
|
46
|
+
end
|
47
|
+
end
|
48
|
+
GetSuccessorTaskList = Struct.new(:session_id, :origin_task_id) do
|
49
|
+
def send (server=nil, proxy=nil)
|
50
|
+
TeamForge.request(self, server, proxy)
|
51
|
+
end
|
52
|
+
end
|
53
|
+
GetTaskData = Struct.new(:session_id, :task_id) do
|
54
|
+
def send (server=nil, proxy=nil)
|
55
|
+
TeamForge.request(self, server, proxy)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
GetTaskGroupData = Struct.new(:session_id, :task_group_id) do
|
59
|
+
def send (server=nil, proxy=nil)
|
60
|
+
TeamForge.request(self, server, proxy)
|
61
|
+
end
|
62
|
+
end
|
63
|
+
GetTaskGroupList = Struct.new(:session_id, :parent_id) do
|
64
|
+
def send (server=nil, proxy=nil)
|
65
|
+
TeamForge.request(self, server, proxy)
|
66
|
+
end
|
67
|
+
end
|
68
|
+
GetTaskList = Struct.new(:session_id, :container_id, :filters) do
|
69
|
+
def send (server=nil, proxy=nil)
|
70
|
+
TeamForge.request(self, server, proxy)
|
71
|
+
end
|
72
|
+
end
|
73
|
+
HasTasksWithPendingChanges = Struct.new(:session_id, :task_group_id) do
|
74
|
+
def send (server=nil, proxy=nil)
|
75
|
+
TeamForge.request(self, server, proxy)
|
76
|
+
end
|
77
|
+
end
|
78
|
+
MoveTaskGroup = Struct.new(:session_id, :task_group_id, :target_task_group_id) do
|
79
|
+
def send (server=nil, proxy=nil)
|
80
|
+
TeamForge.request(self, server, proxy)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
MoveTask = Struct.new(:session_id, :task_id, :target_task_group_id) do
|
84
|
+
def send (server=nil, proxy=nil)
|
85
|
+
TeamForge.request(self, server, proxy)
|
86
|
+
end
|
87
|
+
end
|
88
|
+
RenameTaskGroup = Struct.new(:session_id, :task_group_id, :new_title) do
|
89
|
+
def send (server=nil, proxy=nil)
|
90
|
+
TeamForge.request(self, server, proxy)
|
91
|
+
end
|
92
|
+
end
|
93
|
+
ReorderTaskGroups = Struct.new(:session_id, :parent_folder_id, :task_group_ids) do
|
94
|
+
def send (server=nil, proxy=nil)
|
95
|
+
TeamForge.request(self, server, proxy)
|
96
|
+
end
|
97
|
+
end
|
98
|
+
SetTaskData = Struct.new(:session_id, :task_data, :comment) do
|
99
|
+
def send (server=nil, proxy=nil)
|
100
|
+
TeamForge.request(self, server, proxy)
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
|
105
|
+
######################
|
106
|
+
# TaskApp Types
|
107
|
+
######################
|
108
|
+
|
109
|
+
SoapFilter = Struct.new(:name,:value, :attributes!)
|
110
|
+
TaskGroupSoapDO = Struct.new(:created_by,:created_date,:description,:id,:last_modified_by,:last_modified_date,:overdue_tasks,:parent_folder_id,:path,:project_id,:status,:status_rollup,:title,:version, :attributes!)
|
111
|
+
TaskGroupSoapRow = Struct.new(:created_by,:created_on,:description,:id,:last_modified_by,:last_modified_on,:overdue_tasks,:parent_folder_id,:path,:project_id,:status,:status_rollup,:title, :attributes!)
|
112
|
+
TaskSoapDO = Struct.new(:accomplishments,:assigned_to,:created_by,:created_date,:description,:end_date,:estimated_hours,:estimation_start,:folder_id,:id,:include_weekends,:issues,:last_modified_by,:last_modified_date,:path,:planned,:priority,:required_hours,:start_date,:status,:title,:version, :attributes!)
|
113
|
+
TaskSoapRow = Struct.new(:accomplished,:assigned_to_full_name,:assigned_to_username,:created_by_full_name,:created_by_username,:description,:end_date,:estimated_hours,:folder_id,:folder_path,:folder_title,:id,:include_weekends,:issues,:parent_folder_id,:planned,:priority,:project_id,:project_path,:project_title,:required_hours,:start_date,:status,:title, :attributes!)
|
114
|
+
|
115
|
+
end # module TaskApp
|
116
|
+
|
117
|
+
|
118
|
+
end # module TeamForge
|