teamforge 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
data/lib/teamforge/ctfsoap.rb
CHANGED
@@ -114,8 +114,12 @@ module TeamForge
|
|
114
114
|
if multiref.children.first.name == "dataRows"
|
115
115
|
datarows = []
|
116
116
|
multiref.children.children.each do |datarow|
|
117
|
-
|
118
|
-
|
117
|
+
if datarow.name == "dataRows"
|
118
|
+
data_href = datarow.attribute("href").to_s.gsub("#","")
|
119
|
+
datarows.push(create_struct(@response_doc.xpath("//multiRef[@id='#{data_href}']")))
|
120
|
+
else
|
121
|
+
datarows.push({datarow.name.snakecase.to_sym => rep_blank_with_nil(datarow.text)})
|
122
|
+
end
|
119
123
|
end
|
120
124
|
return_msg[child.name.to_sym] = datarows
|
121
125
|
else
|
@@ -9,12 +9,15 @@ module TeamForge
|
|
9
9
|
AddProjectsToProjectGroup = TFSoapRequest.new(:session_id, :project_group_id, :project_ids)
|
10
10
|
AddUserGroupMember = TFSoapRequest.new(:session_id, :user_group_id, :user_name)
|
11
11
|
CanReceiveOwnUpdates = TFSoapRequest.new(:session_id)
|
12
|
+
ChangeIAObjectTitle = TFSoapRequest.new(:session_id, :pluggable_object_id, :pluggable_object_title)
|
12
13
|
ChangePassword = TFSoapRequest.new(:session_id, :user_name, :new_password)
|
13
14
|
CreateAssociation = TFSoapRequest.new(:session_id, :origin_id, :target_id, :description)
|
15
|
+
CreateAssociationWithTitles = TFSoapRequest.new(:session_id, :origin_id, :origin_title, :target_id, :target_title, :description)
|
14
16
|
CreateOrReplaceProjectTemplate = TFSoapRequest.new(:session_id, :project_id, :title, :description, :content_choices, :template_id)
|
15
17
|
CreateProjectFromTemplate = TFSoapRequest.new(:session_id, :template_id, :name, :title, :description)
|
16
18
|
CreateProjectGroup = TFSoapRequest.new(:session_id, :title, :description)
|
17
19
|
CreateProject = TFSoapRequest.new(:session_id, :name, :title, :description)
|
20
|
+
CreateSiteWideLinkedApp = TFSoapRequest.new(:session_id, :title, :application_url, :application_type, :single_signon)
|
18
21
|
CreateUserGroup = TFSoapRequest.new(:session_id, :full_name, :description)
|
19
22
|
CreateUser = TFSoapRequest.new(:session_id, :user_name, :email, :full_name, :organization, :locale, :time_zone, :license_type, :is_super_user, :is_restricted_user, :password)
|
20
23
|
DeleteAssociation = TFSoapRequest.new(:session_id, :origin_id, :target_id)
|
@@ -52,6 +55,7 @@ module TeamForge
|
|
52
55
|
GetSubprojectList = TFSoapRequest.new(:session_id, :project_id, :fetch_hierarchy_path)
|
53
56
|
GetUserByEmail = TFSoapRequest.new(:session_id, :email)
|
54
57
|
GetUserByName = TFSoapRequest.new(:session_id, :fullname)
|
58
|
+
GetUserData2 = TFSoapRequest.new(:session_id, :username)
|
55
59
|
GetUserData = TFSoapRequest.new(:session_id, :username)
|
56
60
|
GetUserEffectiveMode = TFSoapRequest.new(:session_id)
|
57
61
|
GetUserGroupData = TFSoapRequest.new(:session_id, :group_id)
|
@@ -113,6 +117,7 @@ module TeamForge
|
|
113
117
|
ProjectSoapRow = TFType.new(:date_created,:description,:hierarchy_path,:id,:locked,:parent_project_id,:path,:title, :attributes!)
|
114
118
|
SoapFilter = TFType.new(:name,:value, :attributes!)
|
115
119
|
SoapNamedValues = TFType.new(:names,:values, :attributes!)
|
120
|
+
User2SoapDO = TFType.new(:alternate_email1,:alternate_email2,:alternate_email3,:created_by,:created_date,:email,:full_name,:id,:last_login,:last_modified_by,:last_modified_date,:license_type,:locale,:organization,:profile_picture_link,:restricted_user,:status,:super_user,:time_zone,:username,:version, :attributes!)
|
116
121
|
UserGroupSoapDO = TFType.new(:created_by,:created_date,:description,:full_name,:id,:last_modified_by,:last_modified_date,:version, :attributes!)
|
117
122
|
UserGroupSoapRow = TFType.new(:description,:full_name,:id, :attributes!)
|
118
123
|
UserSoapDO = TFType.new(:alternate_email1,:alternate_email2,:alternate_email3,:created_by,:created_date,:email,:full_name,:id,:last_login,:last_modified_by,:last_modified_date,:license_type,:locale,:organization,:restricted_user,:status,:super_user,:time_zone,:username,:version, :attributes!)
|
@@ -6,11 +6,13 @@ module TeamForge
|
|
6
6
|
# PageApp Messages
|
7
7
|
######################
|
8
8
|
AddPageImage = TFSoapRequest.new(:session_id, :project_id, :file_id, :filename, :mimetype)
|
9
|
+
CreateComponent2 = TFSoapRequest.new(:session_id, :page_id, :comp_name, :component_type, :top_of_page, :visibility, :attributes, :content)
|
9
10
|
CreateComponent = TFSoapRequest.new(:session_id, :page_id, :comp_name, :component_type, :top_of_page, :visibility, :attributes, :content)
|
10
11
|
CreatePage = TFSoapRequest.new(:session_id, :project_id, :parent_id, :title, :visible, :freeform)
|
11
12
|
DeletePageComponent = TFSoapRequest.new(:session_id, :page_component_id)
|
12
13
|
DeletePageImage = TFSoapRequest.new(:session_id, :project_id, :attachment_id)
|
13
14
|
DeletePage = TFSoapRequest.new(:session_id, :page_id)
|
15
|
+
GetPageComponent = TFSoapRequest.new(:session_id, :page_component_id)
|
14
16
|
GetPageComponents = TFSoapRequest.new(:session_id, :page_id)
|
15
17
|
GetPageData = TFSoapRequest.new(:session_id, :page_id)
|
16
18
|
GetPageImageUrl = TFSoapRequest.new(:session_id, :project_id, :attachment_id)
|
@@ -19,6 +21,7 @@ module TeamForge
|
|
19
21
|
ListPageImages = TFSoapRequest.new(:session_id, :project_id)
|
20
22
|
MovePage = TFSoapRequest.new(:session_id, :page_folder_path, :dest_path)
|
21
23
|
SetComponentDisplayOrder = TFSoapRequest.new(:session_id, :page_id, :component_ids)
|
24
|
+
SetLifecycleMetricComponentContent = TFSoapRequest.new(:session_id, :page_component, :content)
|
22
25
|
SetPageComponentData = TFSoapRequest.new(:session_id, :page_component)
|
23
26
|
SetPageData = TFSoapRequest.new(:session_id, :page_data)
|
24
27
|
SetPageDisplayOrder = TFSoapRequest.new(:session_id, :folder_id, :children_page_ids)
|
@@ -30,6 +33,7 @@ module TeamForge
|
|
30
33
|
######################
|
31
34
|
|
32
35
|
AttachmentSoapRow = TFType.new(:attachment_id,:created_by,:created_by_fullname,:date_created,:file_name,:file_size,:mimetype,:raw_file_id,:stored_file_id,:transaction_id, :attributes!)
|
36
|
+
PageComponent2SoapDO = TFType.new(:component_type,:created_by,:created_date,:folder_id,:id,:last_modified_by,:last_modified_date,:path,:read_only_text_source,:settings,:title,:version,:visiblity, :attributes!)
|
33
37
|
PageComponentSoapDO = TFType.new(:component_type,:created_by,:created_date,:folder_id,:id,:last_modified_by,:last_modified_date,:path,:settings,:title,:version,:visiblity, :attributes!)
|
34
38
|
PageSoapDO = TFType.new(:created_by,:created_date,:description,:free_form,:id,:last_modified_by,:last_modified_date,:parent_folder_id,:path,:project_id,:title,:version,:visible, :attributes!)
|
35
39
|
PageSoapRow = TFType.new(:created_by,:created_on,:description,:display_position,:freeform,:id,:last_modified_by,:last_modified_on,:parent_folder_id,:path,:project_id,:title,:visible, :attributes!)
|
@@ -6,7 +6,9 @@ module TeamForge
|
|
6
6
|
# PluggableApp Messages
|
7
7
|
######################
|
8
8
|
CreateIntegratedApplication2 = TFSoapRequest.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)
|
9
|
+
CreateIntegratedApplication3 = TFSoapRequest.new(:session_id, :plug_name, :description, :base_url, :go_url, :prefix, :is_scm_required, :require_proj_prefix, :icon_file_key, :icon_file_name, :icon_mime_type, :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)
|
9
10
|
CreateIntegratedApplicationFromXMLFiles2 = TFSoapRequest.new(:session_id, :dep_xml_byte_array, :app_xml_byte_array, :icon_file_id)
|
11
|
+
CreateIntegratedApplicationFromXMLFiles3 = TFSoapRequest.new(:session_id, :dep_xml_byte_array, :app_xml_byte_array, :icon_file_key, :icon_file_name, :icon_mime_type)
|
10
12
|
CreateIntegratedApplicationFromXMLFiles = TFSoapRequest.new(:session_id, :dep_xml_byte_array, :app_xml_byte_array, :icon_file_id)
|
11
13
|
CreateIntegratedApplication = TFSoapRequest.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)
|
12
14
|
EditIntegratedApplication2 = TFSoapRequest.new(:session_id, :soap_do)
|
@@ -6,6 +6,7 @@ module TeamForge
|
|
6
6
|
# ScmApp Messages
|
7
7
|
######################
|
8
8
|
AddExternalSystem = TFSoapRequest.new(:session_id, :adapter_type, :title, :description, :adapter_type_parameters)
|
9
|
+
CreateRepository2 = TFSoapRequest.new(:session_id, :project_id, :external_system_id, :repository_directory, :title, :description, :id_required_on_commit, :hide_monitoring_details, :comment, :params)
|
9
10
|
CreateRepository = TFSoapRequest.new(:session_id, :project_id, :external_system_id, :repository_directory, :title, :description, :id_required_on_commit, :hide_monitoring_details, :comment)
|
10
11
|
GetAuthorizedKeysForUser = TFSoapRequest.new(:session_id, :username)
|
11
12
|
GetAuthorizedKeys = TFSoapRequest.new(:session_id)
|
@@ -14,6 +15,8 @@ module TeamForge
|
|
14
15
|
GetCommitList = TFSoapRequest.new(:session_id, :repository_id, :filters)
|
15
16
|
GetReplicableScmExternalSystemList = TFSoapRequest.new(:session_id)
|
16
17
|
GetReplicatedRepositoryList = TFSoapRequest.new(:session_id, :master_repository_id)
|
18
|
+
GetRepository2DataById = TFSoapRequest.new(:session_id, :repository_id)
|
19
|
+
GetRepository2Data = TFSoapRequest.new(:session_id, :external_system_id, :repository_directory)
|
17
20
|
GetRepositoryDataById = TFSoapRequest.new(:session_id, :repository_id)
|
18
21
|
GetRepositoryData = TFSoapRequest.new(:session_id, :external_system_id, :repository_directory)
|
19
22
|
GetRepositoryListForExternalSystem = TFSoapRequest.new(:session_id, :external_system_id, :user_name)
|
@@ -24,6 +27,7 @@ module TeamForge
|
|
24
27
|
MoveRepository = TFSoapRequest.new(:session_id, :repository_id, :project_id)
|
25
28
|
SetAuthorizedKeys = TFSoapRequest.new(:session_id, :username, :authorized_keys)
|
26
29
|
SetAuthorizedKeys1 = TFSoapRequest.new(:session_id, :authorized_keys)
|
30
|
+
SetRepositoryData = TFSoapRequest.new(:session_id, :repository)
|
27
31
|
|
28
32
|
|
29
33
|
######################
|
@@ -34,6 +38,8 @@ module TeamForge
|
|
34
38
|
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
39
|
ReplicableScmExternalSystemSoapRow = TFType.new(:description,:id,:is_svn_edge,:title, :attributes!)
|
36
40
|
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!)
|
41
|
+
Repository2SoapDO = 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,:parameters,:parent_folder_id,:path,:project_id,:repository_directory,:scm_adapter_name,:scm_viewer_url,:system_id,:system_title,:title,:version, :attributes!)
|
42
|
+
RepositoryParameter2SoapDO = TFType.new(:param_key,:param_value, :attributes!)
|
37
43
|
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
44
|
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
45
|
ScmFileSoapRow = TFType.new(:commit_message,:filename,:id,:ref_filename,:status,:version, :attributes!)
|
data/lib/teamforge/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: teamforge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-06-18 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: savon
|
16
|
-
requirement: &
|
16
|
+
requirement: &2154657640 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 1.0.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2154657640
|
25
25
|
description: A Ruby SOAP wrapper to communicate with TeamForge WebServices
|
26
26
|
email: pwolf@collab.net
|
27
27
|
executables: []
|