teamforge 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,227 +5,63 @@ module TeamForge
5
5
  ######################
6
6
  # RbacApp Messages
7
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
8
+ AddCluster = TFSoapRequest.new(:session_id, :role_id, :operation_cluster, :folder_id)
9
+ AddGroup = TFSoapRequest.new(:session_id, :group_id, :role_id, :project_or_project_group_id)
10
+ AddUser = TFSoapRequest.new(:session_id, :role_id, :username)
11
+ AddUserToProjectRole = TFSoapRequest.new(:session_id, :role_id, :username, :project_or_project_group_id)
12
+ ApproveRole = TFSoapRequest.new(:session_id, :request_id, :project_id)
13
+ CreateGlobalRole = TFSoapRequest.new(:session_id, :title, :description, :prevent_inheritance, :requestable)
14
+ CreateRole = TFSoapRequest.new(:session_id, :project_or_project_group_id, :title, :description, :prevent_inheritance, :requestable, :auto_grant)
15
+ CreateSiteWideRole = TFSoapRequest.new(:session_id, :title, :description, :prevent_inheritance)
16
+ DeleteRole = TFSoapRequest.new(:session_id, :role_id)
17
+ GetAutomaticallyGrantOn = TFSoapRequest.new(:session_id, :role_id, :project_id)
18
+ GetGlobalRoleList = TFSoapRequest.new(:session_id)
19
+ GetGlobalRolesForAssignment = TFSoapRequest.new(:session_id, :project_or_project_group_id)
20
+ GetGroupRoleList = TFSoapRequest.new(:session_id, :group_id, :project_id_or_project_group_id)
21
+ GetInheritedRoleList = TFSoapRequest.new(:session_id, :project_id)
22
+ GetIntegratedAppPermissionsForProject = TFSoapRequest.new(:session_id, :project_id, :link_id)
23
+ GetPendingedRoles = TFSoapRequest.new(:session_id, :project_id)
24
+ GetProjectRoleMemberList = TFSoapRequest.new(:session_id, :role_id, :project_or_project_group_id)
25
+ GetProjectsByIntegratedAppPermission = TFSoapRequest.new(:session_id, :perm, :integrated_app_name)
26
+ GetProjectsForAction = TFSoapRequest.new(:session_id, :operation_string, :user_name)
27
+ GetRoleGroupList = TFSoapRequest.new(:session_id, :role_id)
28
+ GetRoleGroupUsers = TFSoapRequest.new(:session_id, :project_id_or_project_group_id, :role_id)
29
+ GetRoleList = TFSoapRequest.new(:session_id, :project_or_project_group_id)
30
+ GetRoleMemberList = TFSoapRequest.new(:session_id, :role_id)
31
+ GetSiteWideRoleList = TFSoapRequest.new(:session_id)
32
+ GetUserRoleList = TFSoapRequest.new(:session_id, :project_or_project_group_id, :username)
33
+ GetUserSiteWideRoleList = TFSoapRequest.new(:session_id, :username)
34
+ GrantRolesToMembers = TFSoapRequest.new(:session_id, :user_roles_soap_dos, :project_id)
35
+ ListClusters = TFSoapRequest.new(:session_id, :role_id)
36
+ ListGroupRolesByProjectGroup = TFSoapRequest.new(:session_id, :project_group_id)
37
+ ListGroupRolesByProject = TFSoapRequest.new(:session_id, :project_id)
38
+ ListRolePaths = TFSoapRequest.new(:session_id, :role_id, :repository_id)
39
+ RejectRole = TFSoapRequest.new(:session_id, :request_id, :project_id)
40
+ RemoveCluster = TFSoapRequest.new(:session_id, :role_id, :operation_cluster, :folder_id)
41
+ RemoveGroup = TFSoapRequest.new(:session_id, :group_id, :role_id, :project_or_project_group_id)
42
+ RemoveUserFromProjectRole = TFSoapRequest.new(:session_id, :role_id, :username, :project_or_project_group_id)
43
+ RemoveUser = TFSoapRequest.new(:session_id, :role_id, :username)
44
+ RequestRole = TFSoapRequest.new(:session_id, :role_id, :project_id)
45
+ RevokeRolesFromMembers = TFSoapRequest.new(:session_id, :user_roles_soap_dos, :project_id)
46
+ SetAutomaticallyGrantOn = TFSoapRequest.new(:session_id, :role_id, :project_id, :auto_grant)
47
+ SetRoleData = TFSoapRequest.new(:session_id, :role_data)
48
+ SetRolePaths = TFSoapRequest.new(:session_id, :role_id, :repository_id, :role_paths)
213
49
 
214
50
 
215
51
  ######################
216
52
  # RbacApp Types
217
53
  ######################
218
54
 
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!)
55
+ ProjectSoapRow = TFType.new(:date_created,:description,:hierarchy_path,:id,:locked,:parent_project_id,:path,:title, :attributes!)
56
+ RoleClusterSoapRow = TFType.new(:folder_id,:operation_cluster_name, :attributes!)
57
+ RoleGroupSoapRow = TFType.new(:group_id,:project_id,:role_id, :attributes!)
58
+ RoleRequestSoapRow = TFType.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!)
59
+ RoleSoapDO = TFType.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!)
60
+ RoleSoapRow = TFType.new(:created_in_project_id,:description,:id,:prevent_inheritance,:requestable,:role_type,:status,:title, :attributes!)
61
+ SoapNamedValues = TFType.new(:names,:values, :attributes!)
62
+ UserGroupSoapRow = TFType.new(:description,:full_name,:id, :attributes!)
63
+ UserRolesSoapDO = TFType.new(:created_by,:created_date,:id,:last_modified_by,:last_modified_date,:role_ids,:user_name,:version, :attributes!)
64
+ UserSoapRow = TFType.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
65
 
230
66
  end # module RbacApp
231
67
 
@@ -5,116 +5,40 @@ module TeamForge
5
5
  ######################
6
6
  # ScmApp Messages
7
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
8
+ AddExternalSystem = TFSoapRequest.new(:session_id, :adapter_type, :title, :description, :adapter_type_parameters)
9
+ CreateRepository = TFSoapRequest.new(:session_id, :project_id, :external_system_id, :repository_directory, :title, :description, :id_required_on_commit, :hide_monitoring_details, :comment)
10
+ GetAuthorizedKeysForUser = TFSoapRequest.new(:session_id, :username)
11
+ GetAuthorizedKeys = TFSoapRequest.new(:session_id)
12
+ GetCommitData = TFSoapRequest.new(:session_id, :commit_id)
13
+ GetCommitId = TFSoapRequest.new(:session_id, :revision, :external_system_id, :repo_path)
14
+ GetCommitList = TFSoapRequest.new(:session_id, :repository_id, :filters)
15
+ GetReplicableScmExternalSystemList = TFSoapRequest.new(:session_id)
16
+ GetReplicatedRepositoryList = TFSoapRequest.new(:session_id, :master_repository_id)
17
+ GetRepositoryDataById = TFSoapRequest.new(:session_id, :repository_id)
18
+ GetRepositoryData = TFSoapRequest.new(:session_id, :external_system_id, :repository_directory)
19
+ GetRepositoryListForExternalSystem = TFSoapRequest.new(:session_id, :external_system_id, :user_name)
20
+ GetRepositoryList = TFSoapRequest.new(:session_id, :project_id)
21
+ GetSCMCheckoutCommand = TFSoapRequest.new(:session_id, :repository_id, :user_name)
22
+ GetScmAdapterNames = TFSoapRequest.new(:session_id)
23
+ GetScmAdapterParameterNamesWithType = TFSoapRequest.new(:session_id, :adapter_name)
24
+ MoveRepository = TFSoapRequest.new(:session_id, :repository_id, :project_id)
25
+ SetAuthorizedKeys = TFSoapRequest.new(:session_id, :username, :authorized_keys)
26
+ SetAuthorizedKeys1 = TFSoapRequest.new(:session_id, :authorized_keys)
103
27
 
104
28
 
105
29
  ######################
106
30
  # ScmApp Types
107
31
  ######################
108
32
 
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!)
33
+ CommitSoapDO = TFType.new(:commit_message,:created_by,:created_by_fullname,:created_date,:files,:folder_id,:id,:last_modified_by,:last_modified_date,:path,:title,:version, :attributes!)
34
+ CommitSoapRow = TFType.new(:commit_message,:created_by,:created_by_fullname,:date_created,:folder_path_string,:id,:project_id,:project_path_string,:project_title,:title, :attributes!)
35
+ ReplicableScmExternalSystemSoapRow = TFType.new(:description,:id,:is_svn_edge,:title, :attributes!)
36
+ ReplicatedRepositorySoapRow = TFType.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!)
37
+ RepositorySoapDO = TFType.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!)
38
+ RepositorySoapRow = TFType.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!)
39
+ ScmFileSoapRow = TFType.new(:commit_message,:filename,:id,:ref_filename,:status,:version, :attributes!)
40
+ SoapFilter = TFType.new(:name,:value, :attributes!)
41
+ SoapNamedValues = TFType.new(:names,:values, :attributes!)
118
42
 
119
43
  end # module ScmApp
120
44
 
@@ -5,31 +5,11 @@ module TeamForge
5
5
  ######################
6
6
  # SimpleFileStorageApp Messages
7
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
8
+ EndFileUpload = TFSoapRequest.new(:session_id, :file_storage_id)
9
+ GetSize = TFSoapRequest.new(:session_id, :file_storage_id)
10
+ Read = TFSoapRequest.new(:session_id, :file_storage_id, :offset, :length)
11
+ StartFileUpload = TFSoapRequest.new(:session_id)
12
+ Write = TFSoapRequest.new(:session_id, :file_storage_id, :data)
33
13
 
34
14
 
35
15
  ######################
@@ -5,112 +5,36 @@ module TeamForge
5
5
  ######################
6
6
  # TaskApp Messages
7
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
8
+ CreateTaskDependency = TFSoapRequest.new(:session_id, :origin_task_id, :target_task_id)
9
+ CreateTaskGroup = TFSoapRequest.new(:session_id, :parent_id, :title, :description)
10
+ CreateTask = TFSoapRequest.new(:session_id, :task_group_id, :title, :description, :priority, :user_assigned_to, :status, :start_date, :end_date, :estimated_hours, :required_hours, :include_weekends)
11
+ DeleteTaskDependency = TFSoapRequest.new(:session_id, :origin_task_id, :target_task_id)
12
+ DeleteTaskGroup = TFSoapRequest.new(:session_id, :task_group_id)
13
+ DeleteTask = TFSoapRequest.new(:session_id, :task_id)
14
+ FindTasks = TFSoapRequest.new(:session_id, :query_string, :project_id, :search_attachments)
15
+ GetPredecessorTaskList = TFSoapRequest.new(:session_id, :target_task_id)
16
+ GetSuccessorTaskList = TFSoapRequest.new(:session_id, :origin_task_id)
17
+ GetTaskData = TFSoapRequest.new(:session_id, :task_id)
18
+ GetTaskGroupData = TFSoapRequest.new(:session_id, :task_group_id)
19
+ GetTaskGroupList = TFSoapRequest.new(:session_id, :parent_id)
20
+ GetTaskList = TFSoapRequest.new(:session_id, :container_id, :filters)
21
+ HasTasksWithPendingChanges = TFSoapRequest.new(:session_id, :task_group_id)
22
+ MoveTaskGroup = TFSoapRequest.new(:session_id, :task_group_id, :target_task_group_id)
23
+ MoveTask = TFSoapRequest.new(:session_id, :task_id, :target_task_group_id)
24
+ RenameTaskGroup = TFSoapRequest.new(:session_id, :task_group_id, :new_title)
25
+ ReorderTaskGroups = TFSoapRequest.new(:session_id, :parent_folder_id, :task_group_ids)
26
+ SetTaskData = TFSoapRequest.new(:session_id, :task_data, :comment)
103
27
 
104
28
 
105
29
  ######################
106
30
  # TaskApp Types
107
31
  ######################
108
32
 
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!)
33
+ SoapFilter = TFType.new(:name,:value, :attributes!)
34
+ TaskGroupSoapDO = TFType.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!)
35
+ TaskGroupSoapRow = TFType.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!)
36
+ TaskSoapDO = TFType.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!)
37
+ TaskSoapRow = TFType.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
38
 
115
39
  end # module TaskApp
116
40