swaggy_jenkins 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/Gemfile.lock +69 -0
- data/README.md +249 -0
- data/Rakefile +8 -0
- data/docs/AllView.md +10 -0
- data/docs/BlueOceanApi.md +2034 -0
- data/docs/Body.md +8 -0
- data/docs/BranchImpl.md +20 -0
- data/docs/BranchImpllinks.md +12 -0
- data/docs/BranchImplpermissions.md +12 -0
- data/docs/CauseAction.md +9 -0
- data/docs/CauseUserIdCause.md +11 -0
- data/docs/ClassesByClass.md +9 -0
- data/docs/ClockDifference.md +9 -0
- data/docs/ComputerSet.md +12 -0
- data/docs/DefaultCrumbIssuer.md +10 -0
- data/docs/DiskSpaceMonitorDescriptorDiskSpace.md +11 -0
- data/docs/EmptyChangeLogSet.md +9 -0
- data/docs/ExtensionClassContainerImpl1.md +10 -0
- data/docs/ExtensionClassContainerImpl1links.md +9 -0
- data/docs/ExtensionClassContainerImpl1map.md +10 -0
- data/docs/ExtensionClassImpl.md +10 -0
- data/docs/ExtensionClassImpllinks.md +9 -0
- data/docs/FavoriteImpl.md +10 -0
- data/docs/FavoriteImpllinks.md +9 -0
- data/docs/FreeStyleBuild.md +25 -0
- data/docs/FreeStyleProject.md +34 -0
- data/docs/FreeStyleProjectactions.md +8 -0
- data/docs/FreeStyleProjecthealthReport.md +12 -0
- data/docs/GenericResource.md +13 -0
- data/docs/GithubContent.md +15 -0
- data/docs/GithubFile.md +9 -0
- data/docs/GithubOrganization.md +11 -0
- data/docs/GithubOrganizationlinks.md +10 -0
- data/docs/GithubRepositories.md +13 -0
- data/docs/GithubRepositorieslinks.md +9 -0
- data/docs/GithubRepository.md +15 -0
- data/docs/GithubRepositorylinks.md +9 -0
- data/docs/GithubRepositorypermissions.md +11 -0
- data/docs/GithubRespositoryContainer.md +10 -0
- data/docs/GithubRespositoryContainerlinks.md +9 -0
- data/docs/GithubScm.md +12 -0
- data/docs/GithubScmlinks.md +9 -0
- data/docs/Hudson.md +22 -0
- data/docs/HudsonMasterComputer.md +23 -0
- data/docs/HudsonMasterComputerexecutors.md +13 -0
- data/docs/HudsonMasterComputermonitorData.md +14 -0
- data/docs/HudsonassignedLabels.md +8 -0
- data/docs/InputStepImpl.md +14 -0
- data/docs/InputStepImpllinks.md +9 -0
- data/docs/Label1.md +8 -0
- data/docs/Link.md +9 -0
- data/docs/ListView.md +12 -0
- data/docs/MultibranchPipeline.md +21 -0
- data/docs/NullSCM.md +8 -0
- data/docs/Organisation.md +9 -0
- data/docs/Organisations.md +7 -0
- data/docs/Pipeline.md +15 -0
- data/docs/PipelineActivities.md +7 -0
- data/docs/PipelineActivity.md +22 -0
- data/docs/PipelineActivityartifacts.md +11 -0
- data/docs/PipelineBranches.md +7 -0
- data/docs/PipelineBranchesitem.md +16 -0
- data/docs/PipelineBranchesitemlatestRun.md +21 -0
- data/docs/PipelineBranchesitempullRequest.md +13 -0
- data/docs/PipelineBranchesitempullRequestlinks.md +9 -0
- data/docs/PipelineFolderImpl.md +14 -0
- data/docs/PipelineImpl.md +16 -0
- data/docs/PipelineImpllinks.md +12 -0
- data/docs/PipelineQueue.md +7 -0
- data/docs/PipelineRun.md +22 -0
- data/docs/PipelineRunImpl.md +22 -0
- data/docs/PipelineRunImpllinks.md +13 -0
- data/docs/PipelineRunNode.md +15 -0
- data/docs/PipelineRunNodeSteps.md +7 -0
- data/docs/PipelineRunNodeedges.md +9 -0
- data/docs/PipelineRunNodes.md +7 -0
- data/docs/PipelineRunSteps.md +7 -0
- data/docs/PipelineRunartifacts.md +11 -0
- data/docs/PipelineRuns.md +7 -0
- data/docs/PipelineStepImpl.md +16 -0
- data/docs/PipelineStepImpllinks.md +10 -0
- data/docs/PipelinelatestRun.md +22 -0
- data/docs/PipelinelatestRunartifacts.md +11 -0
- data/docs/Pipelines.md +7 -0
- data/docs/Queue.md +9 -0
- data/docs/QueueBlockedItem.md +19 -0
- data/docs/QueueItemImpl.md +12 -0
- data/docs/QueueLeftItem.md +20 -0
- data/docs/RemoteAccessApi.md +1151 -0
- data/docs/ResponseTimeMonitorData.md +10 -0
- data/docs/ScmOrganisations.md +7 -0
- data/docs/StringParameterDefinition.md +12 -0
- data/docs/StringParameterValue.md +10 -0
- data/docs/SwapSpaceMonitorMemoryUsage2.md +12 -0
- data/docs/UnlabeledLoadStatistics.md +8 -0
- data/docs/User.md +12 -0
- data/docs/UserFavorites.md +7 -0
- data/docs/Users.md +7 -0
- data/git_push.sh +55 -0
- data/lib/swaggy_jenkins.rb +134 -0
- data/lib/swaggy_jenkins/api/blue_ocean_api.rb +2200 -0
- data/lib/swaggy_jenkins/api/remote_access_api.rb +1166 -0
- data/lib/swaggy_jenkins/api_client.rb +389 -0
- data/lib/swaggy_jenkins/api_error.rb +38 -0
- data/lib/swaggy_jenkins/configuration.rb +209 -0
- data/lib/swaggy_jenkins/models/all_view.rb +206 -0
- data/lib/swaggy_jenkins/models/body.rb +193 -0
- data/lib/swaggy_jenkins/models/branch_impl.rb +298 -0
- data/lib/swaggy_jenkins/models/branch_impllinks.rb +224 -0
- data/lib/swaggy_jenkins/models/branch_implpermissions.rb +224 -0
- data/lib/swaggy_jenkins/models/cause_action.rb +199 -0
- data/lib/swaggy_jenkins/models/cause_user_id_cause.rb +215 -0
- data/lib/swaggy_jenkins/models/classes_by_class.rb +199 -0
- data/lib/swaggy_jenkins/models/clock_difference.rb +197 -0
- data/lib/swaggy_jenkins/models/computer_set.rb +226 -0
- data/lib/swaggy_jenkins/models/default_crumb_issuer.rb +206 -0
- data/lib/swaggy_jenkins/models/disk_space_monitor_descriptor_disk_space.rb +215 -0
- data/lib/swaggy_jenkins/models/empty_change_log_set.rb +197 -0
- data/lib/swaggy_jenkins/models/extension_class_container_impl1.rb +206 -0
- data/lib/swaggy_jenkins/models/extension_class_container_impl1links.rb +197 -0
- data/lib/swaggy_jenkins/models/extension_class_container_impl1map.rb +206 -0
- data/lib/swaggy_jenkins/models/extension_class_impl.rb +208 -0
- data/lib/swaggy_jenkins/models/extension_class_impllinks.rb +197 -0
- data/lib/swaggy_jenkins/models/favorite_impl.rb +206 -0
- data/lib/swaggy_jenkins/models/favorite_impllinks.rb +197 -0
- data/lib/swaggy_jenkins/models/free_style_build.rb +343 -0
- data/lib/swaggy_jenkins/models/free_style_project.rb +428 -0
- data/lib/swaggy_jenkins/models/free_style_projectactions.rb +188 -0
- data/lib/swaggy_jenkins/models/free_style_projecthealth_report.rb +224 -0
- data/lib/swaggy_jenkins/models/generic_resource.rb +233 -0
- data/lib/swaggy_jenkins/models/github_content.rb +251 -0
- data/lib/swaggy_jenkins/models/github_file.rb +197 -0
- data/lib/swaggy_jenkins/models/github_organization.rb +215 -0
- data/lib/swaggy_jenkins/models/github_organizationlinks.rb +206 -0
- data/lib/swaggy_jenkins/models/github_repositories.rb +235 -0
- data/lib/swaggy_jenkins/models/github_repositorieslinks.rb +197 -0
- data/lib/swaggy_jenkins/models/github_repository.rb +251 -0
- data/lib/swaggy_jenkins/models/github_repositorylinks.rb +197 -0
- data/lib/swaggy_jenkins/models/github_repositorypermissions.rb +215 -0
- data/lib/swaggy_jenkins/models/github_respository_container.rb +206 -0
- data/lib/swaggy_jenkins/models/github_respository_containerlinks.rb +197 -0
- data/lib/swaggy_jenkins/models/github_scm.rb +224 -0
- data/lib/swaggy_jenkins/models/github_scmlinks.rb +197 -0
- data/lib/swaggy_jenkins/models/hudson.rb +320 -0
- data/lib/swaggy_jenkins/models/hudson_master_computer.rb +325 -0
- data/lib/swaggy_jenkins/models/hudson_master_computerexecutors.rb +233 -0
- data/lib/swaggy_jenkins/models/hudson_master_computermonitor_data.rb +242 -0
- data/lib/swaggy_jenkins/models/hudsonassigned_labels.rb +188 -0
- data/lib/swaggy_jenkins/models/input_step_impl.rb +244 -0
- data/lib/swaggy_jenkins/models/input_step_impllinks.rb +197 -0
- data/lib/swaggy_jenkins/models/label1.rb +188 -0
- data/lib/swaggy_jenkins/models/link.rb +197 -0
- data/lib/swaggy_jenkins/models/list_view.rb +226 -0
- data/lib/swaggy_jenkins/models/multibranch_pipeline.rb +307 -0
- data/lib/swaggy_jenkins/models/null_scm.rb +188 -0
- data/lib/swaggy_jenkins/models/organisation.rb +197 -0
- data/lib/swaggy_jenkins/models/organisations.rb +179 -0
- data/lib/swaggy_jenkins/models/pipeline.rb +251 -0
- data/lib/swaggy_jenkins/models/pipeline_activities.rb +179 -0
- data/lib/swaggy_jenkins/models/pipeline_activity.rb +316 -0
- data/lib/swaggy_jenkins/models/pipeline_activityartifacts.rb +215 -0
- data/lib/swaggy_jenkins/models/pipeline_branches.rb +179 -0
- data/lib/swaggy_jenkins/models/pipeline_branchesitem.rb +260 -0
- data/lib/swaggy_jenkins/models/pipeline_branchesitemlatest_run.rb +305 -0
- data/lib/swaggy_jenkins/models/pipeline_branchesitempull_request.rb +233 -0
- data/lib/swaggy_jenkins/models/pipeline_branchesitempull_requestlinks.rb +197 -0
- data/lib/swaggy_jenkins/models/pipeline_folder_impl.rb +242 -0
- data/lib/swaggy_jenkins/models/pipeline_impl.rb +260 -0
- data/lib/swaggy_jenkins/models/pipeline_impllinks.rb +224 -0
- data/lib/swaggy_jenkins/models/pipeline_queue.rb +179 -0
- data/lib/swaggy_jenkins/models/pipeline_run.rb +316 -0
- data/lib/swaggy_jenkins/models/pipeline_run_impl.rb +314 -0
- data/lib/swaggy_jenkins/models/pipeline_run_impllinks.rb +233 -0
- data/lib/swaggy_jenkins/models/pipeline_run_node.rb +253 -0
- data/lib/swaggy_jenkins/models/pipeline_run_node_steps.rb +179 -0
- data/lib/swaggy_jenkins/models/pipeline_run_nodeedges.rb +197 -0
- data/lib/swaggy_jenkins/models/pipeline_run_nodes.rb +179 -0
- data/lib/swaggy_jenkins/models/pipeline_run_steps.rb +179 -0
- data/lib/swaggy_jenkins/models/pipeline_runartifacts.rb +215 -0
- data/lib/swaggy_jenkins/models/pipeline_runs.rb +179 -0
- data/lib/swaggy_jenkins/models/pipeline_step_impl.rb +260 -0
- data/lib/swaggy_jenkins/models/pipeline_step_impllinks.rb +206 -0
- data/lib/swaggy_jenkins/models/pipelinelatest_run.rb +316 -0
- data/lib/swaggy_jenkins/models/pipelinelatest_runartifacts.rb +215 -0
- data/lib/swaggy_jenkins/models/pipelines.rb +179 -0
- data/lib/swaggy_jenkins/models/queue.rb +199 -0
- data/lib/swaggy_jenkins/models/queue_blocked_item.rb +289 -0
- data/lib/swaggy_jenkins/models/queue_item_impl.rb +224 -0
- data/lib/swaggy_jenkins/models/queue_left_item.rb +298 -0
- data/lib/swaggy_jenkins/models/response_time_monitor_data.rb +206 -0
- data/lib/swaggy_jenkins/models/scm_organisations.rb +179 -0
- data/lib/swaggy_jenkins/models/string_parameter_definition.rb +224 -0
- data/lib/swaggy_jenkins/models/string_parameter_value.rb +206 -0
- data/lib/swaggy_jenkins/models/swap_space_monitor_memory_usage2.rb +224 -0
- data/lib/swaggy_jenkins/models/unlabeled_load_statistics.rb +188 -0
- data/lib/swaggy_jenkins/models/user.rb +224 -0
- data/lib/swaggy_jenkins/models/user_favorites.rb +179 -0
- data/lib/swaggy_jenkins/models/users.rb +179 -0
- data/lib/swaggy_jenkins/version.rb +15 -0
- data/spec/api/blue_ocean_api_spec.rb +513 -0
- data/spec/api/remote_access_api_spec.rb +304 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/all_view_spec.rb +54 -0
- data/spec/models/body_spec.rb +42 -0
- data/spec/models/branch_impl_spec.rb +114 -0
- data/spec/models/branch_impllinks_spec.rb +66 -0
- data/spec/models/branch_implpermissions_spec.rb +66 -0
- data/spec/models/cause_action_spec.rb +48 -0
- data/spec/models/cause_user_id_cause_spec.rb +60 -0
- data/spec/models/classes_by_class_spec.rb +48 -0
- data/spec/models/clock_difference_spec.rb +48 -0
- data/spec/models/computer_set_spec.rb +66 -0
- data/spec/models/default_crumb_issuer_spec.rb +54 -0
- data/spec/models/disk_space_monitor_descriptor_disk_space_spec.rb +60 -0
- data/spec/models/empty_change_log_set_spec.rb +48 -0
- data/spec/models/extension_class_container_impl1_spec.rb +54 -0
- data/spec/models/extension_class_container_impl1links_spec.rb +48 -0
- data/spec/models/extension_class_container_impl1map_spec.rb +54 -0
- data/spec/models/extension_class_impl_spec.rb +54 -0
- data/spec/models/extension_class_impllinks_spec.rb +48 -0
- data/spec/models/favorite_impl_spec.rb +54 -0
- data/spec/models/favorite_impllinks_spec.rb +48 -0
- data/spec/models/free_style_build_spec.rb +144 -0
- data/spec/models/free_style_project_spec.rb +198 -0
- data/spec/models/free_style_projectactions_spec.rb +42 -0
- data/spec/models/free_style_projecthealth_report_spec.rb +66 -0
- data/spec/models/generic_resource_spec.rb +72 -0
- data/spec/models/github_content_spec.rb +84 -0
- data/spec/models/github_file_spec.rb +48 -0
- data/spec/models/github_organization_spec.rb +60 -0
- data/spec/models/github_organizationlinks_spec.rb +54 -0
- data/spec/models/github_repositories_spec.rb +72 -0
- data/spec/models/github_repositorieslinks_spec.rb +48 -0
- data/spec/models/github_repository_spec.rb +84 -0
- data/spec/models/github_repositorylinks_spec.rb +48 -0
- data/spec/models/github_repositorypermissions_spec.rb +60 -0
- data/spec/models/github_respository_container_spec.rb +54 -0
- data/spec/models/github_respository_containerlinks_spec.rb +48 -0
- data/spec/models/github_scm_spec.rb +66 -0
- data/spec/models/github_scmlinks_spec.rb +48 -0
- data/spec/models/hudson_master_computer_spec.rb +132 -0
- data/spec/models/hudson_master_computerexecutors_spec.rb +72 -0
- data/spec/models/hudson_master_computermonitor_data_spec.rb +78 -0
- data/spec/models/hudson_spec.rb +126 -0
- data/spec/models/hudsonassigned_labels_spec.rb +42 -0
- data/spec/models/input_step_impl_spec.rb +78 -0
- data/spec/models/input_step_impllinks_spec.rb +48 -0
- data/spec/models/label1_spec.rb +42 -0
- data/spec/models/link_spec.rb +48 -0
- data/spec/models/list_view_spec.rb +66 -0
- data/spec/models/multibranch_pipeline_spec.rb +120 -0
- data/spec/models/null_scm_spec.rb +42 -0
- data/spec/models/organisation_spec.rb +48 -0
- data/spec/models/organisations_spec.rb +36 -0
- data/spec/models/pipeline_activities_spec.rb +36 -0
- data/spec/models/pipeline_activity_spec.rb +126 -0
- data/spec/models/pipeline_activityartifacts_spec.rb +60 -0
- data/spec/models/pipeline_branches_spec.rb +36 -0
- data/spec/models/pipeline_branchesitem_spec.rb +90 -0
- data/spec/models/pipeline_branchesitemlatest_run_spec.rb +120 -0
- data/spec/models/pipeline_branchesitempull_request_spec.rb +72 -0
- data/spec/models/pipeline_branchesitempull_requestlinks_spec.rb +48 -0
- data/spec/models/pipeline_folder_impl_spec.rb +78 -0
- data/spec/models/pipeline_impl_spec.rb +90 -0
- data/spec/models/pipeline_impllinks_spec.rb +66 -0
- data/spec/models/pipeline_queue_spec.rb +36 -0
- data/spec/models/pipeline_run_impl_spec.rb +126 -0
- data/spec/models/pipeline_run_impllinks_spec.rb +72 -0
- data/spec/models/pipeline_run_node_spec.rb +84 -0
- data/spec/models/pipeline_run_node_steps_spec.rb +36 -0
- data/spec/models/pipeline_run_nodeedges_spec.rb +48 -0
- data/spec/models/pipeline_run_nodes_spec.rb +36 -0
- data/spec/models/pipeline_run_spec.rb +126 -0
- data/spec/models/pipeline_run_steps_spec.rb +36 -0
- data/spec/models/pipeline_runartifacts_spec.rb +60 -0
- data/spec/models/pipeline_runs_spec.rb +36 -0
- data/spec/models/pipeline_spec.rb +84 -0
- data/spec/models/pipeline_step_impl_spec.rb +90 -0
- data/spec/models/pipeline_step_impllinks_spec.rb +54 -0
- data/spec/models/pipelinelatest_run_spec.rb +126 -0
- data/spec/models/pipelinelatest_runartifacts_spec.rb +60 -0
- data/spec/models/pipelines_spec.rb +36 -0
- data/spec/models/queue_blocked_item_spec.rb +108 -0
- data/spec/models/queue_item_impl_spec.rb +66 -0
- data/spec/models/queue_left_item_spec.rb +114 -0
- data/spec/models/queue_spec.rb +48 -0
- data/spec/models/response_time_monitor_data_spec.rb +54 -0
- data/spec/models/scm_organisations_spec.rb +36 -0
- data/spec/models/string_parameter_definition_spec.rb +66 -0
- data/spec/models/string_parameter_value_spec.rb +54 -0
- data/spec/models/swap_space_monitor_memory_usage2_spec.rb +66 -0
- data/spec/models/unlabeled_load_statistics_spec.rb +42 -0
- data/spec/models/user_favorites_spec.rb +36 -0
- data/spec/models/user_spec.rb +66 -0
- data/spec/models/users_spec.rb +36 -0
- data/spec/spec_helper.rb +111 -0
- data/swaggy_jenkins.gemspec +45 -0
- metadata +621 -0
@@ -0,0 +1,15 @@
|
|
1
|
+
=begin
|
2
|
+
#Swaggy Jenkins
|
3
|
+
|
4
|
+
#Jenkins API clients generated from Swagger / Open API specification
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.1.0
|
7
|
+
Contact: blah@cliffano.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
module SwaggyJenkinsClient
|
14
|
+
VERSION = "0.0.1"
|
15
|
+
end
|
@@ -0,0 +1,513 @@
|
|
1
|
+
=begin
|
2
|
+
#Swaggy Jenkins
|
3
|
+
|
4
|
+
#Jenkins API clients generated from Swagger / Open API specification
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.1.0
|
7
|
+
Contact: blah@cliffano.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for SwaggyJenkinsClient::BlueOceanApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'BlueOceanApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = SwaggyJenkinsClient::BlueOceanApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of BlueOceanApi' do
|
30
|
+
it 'should create an instance of BlueOceanApi' do
|
31
|
+
expect(@instance).to be_instance_of(SwaggyJenkinsClient::BlueOceanApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for delete_pipeline_queue_item
|
36
|
+
#
|
37
|
+
# Delete queue item from an organization pipeline queue
|
38
|
+
# @param organization Name of the organization
|
39
|
+
# @param pipeline Name of the pipeline
|
40
|
+
# @param queue Name of the queue item
|
41
|
+
# @param [Hash] opts the optional parameters
|
42
|
+
# @return [nil]
|
43
|
+
describe 'delete_pipeline_queue_item test' do
|
44
|
+
it "should work" do
|
45
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
# unit tests for get_authenticated_user
|
50
|
+
#
|
51
|
+
# Retrieve authenticated user details for an organization
|
52
|
+
# @param organization Name of the organization
|
53
|
+
# @param [Hash] opts the optional parameters
|
54
|
+
# @return [User]
|
55
|
+
describe 'get_authenticated_user test' do
|
56
|
+
it "should work" do
|
57
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
# unit tests for get_classes
|
62
|
+
#
|
63
|
+
# Get a list of class names supported by a given class
|
64
|
+
# @param _class Name of the class
|
65
|
+
# @param [Hash] opts the optional parameters
|
66
|
+
# @return [String]
|
67
|
+
describe 'get_classes test' do
|
68
|
+
it "should work" do
|
69
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
# unit tests for get_organisation
|
74
|
+
#
|
75
|
+
# Retrieve organization details
|
76
|
+
# @param organization Name of the organization
|
77
|
+
# @param [Hash] opts the optional parameters
|
78
|
+
# @return [Organisation]
|
79
|
+
describe 'get_organisation test' do
|
80
|
+
it "should work" do
|
81
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
# unit tests for get_organisations
|
86
|
+
#
|
87
|
+
# Retrieve all organizations details
|
88
|
+
# @param [Hash] opts the optional parameters
|
89
|
+
# @return [Organisations]
|
90
|
+
describe 'get_organisations test' do
|
91
|
+
it "should work" do
|
92
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
# unit tests for get_pipeline
|
97
|
+
#
|
98
|
+
# Retrieve pipeline details for an organization
|
99
|
+
# @param organization Name of the organization
|
100
|
+
# @param pipeline Name of the pipeline
|
101
|
+
# @param [Hash] opts the optional parameters
|
102
|
+
# @return [Pipeline]
|
103
|
+
describe 'get_pipeline test' do
|
104
|
+
it "should work" do
|
105
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
109
|
+
# unit tests for get_pipeline_activities
|
110
|
+
#
|
111
|
+
# Retrieve all activities details for an organization pipeline
|
112
|
+
# @param organization Name of the organization
|
113
|
+
# @param pipeline Name of the pipeline
|
114
|
+
# @param [Hash] opts the optional parameters
|
115
|
+
# @return [PipelineActivities]
|
116
|
+
describe 'get_pipeline_activities test' do
|
117
|
+
it "should work" do
|
118
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
119
|
+
end
|
120
|
+
end
|
121
|
+
|
122
|
+
# unit tests for get_pipeline_branch
|
123
|
+
#
|
124
|
+
# Retrieve branch details for an organization pipeline
|
125
|
+
# @param organization Name of the organization
|
126
|
+
# @param pipeline Name of the pipeline
|
127
|
+
# @param branch Name of the branch
|
128
|
+
# @param [Hash] opts the optional parameters
|
129
|
+
# @return [BranchImpl]
|
130
|
+
describe 'get_pipeline_branch test' do
|
131
|
+
it "should work" do
|
132
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
# unit tests for get_pipeline_branch_run
|
137
|
+
#
|
138
|
+
# Retrieve branch run details for an organization pipeline
|
139
|
+
# @param organization Name of the organization
|
140
|
+
# @param pipeline Name of the pipeline
|
141
|
+
# @param branch Name of the branch
|
142
|
+
# @param run Name of the run
|
143
|
+
# @param [Hash] opts the optional parameters
|
144
|
+
# @return [PipelineRun]
|
145
|
+
describe 'get_pipeline_branch_run test' do
|
146
|
+
it "should work" do
|
147
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
# unit tests for get_pipeline_branches
|
152
|
+
#
|
153
|
+
# Retrieve all branches details for an organization pipeline
|
154
|
+
# @param organization Name of the organization
|
155
|
+
# @param pipeline Name of the pipeline
|
156
|
+
# @param [Hash] opts the optional parameters
|
157
|
+
# @return [MultibranchPipeline]
|
158
|
+
describe 'get_pipeline_branches test' do
|
159
|
+
it "should work" do
|
160
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
161
|
+
end
|
162
|
+
end
|
163
|
+
|
164
|
+
# unit tests for get_pipeline_folder
|
165
|
+
#
|
166
|
+
# Retrieve pipeline folder for an organization
|
167
|
+
# @param organization Name of the organization
|
168
|
+
# @param folder Name of the folder
|
169
|
+
# @param [Hash] opts the optional parameters
|
170
|
+
# @return [PipelineFolderImpl]
|
171
|
+
describe 'get_pipeline_folder test' do
|
172
|
+
it "should work" do
|
173
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
177
|
+
# unit tests for get_pipeline_folder_pipeline
|
178
|
+
#
|
179
|
+
# Retrieve pipeline details for an organization folder
|
180
|
+
# @param organization Name of the organization
|
181
|
+
# @param pipeline Name of the pipeline
|
182
|
+
# @param folder Name of the folder
|
183
|
+
# @param [Hash] opts the optional parameters
|
184
|
+
# @return [PipelineImpl]
|
185
|
+
describe 'get_pipeline_folder_pipeline test' do
|
186
|
+
it "should work" do
|
187
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
191
|
+
# unit tests for get_pipeline_queue
|
192
|
+
#
|
193
|
+
# Retrieve queue details for an organization pipeline
|
194
|
+
# @param organization Name of the organization
|
195
|
+
# @param pipeline Name of the pipeline
|
196
|
+
# @param [Hash] opts the optional parameters
|
197
|
+
# @return [PipelineQueue]
|
198
|
+
describe 'get_pipeline_queue test' do
|
199
|
+
it "should work" do
|
200
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
# unit tests for get_pipeline_run
|
205
|
+
#
|
206
|
+
# Retrieve run details for an organization pipeline
|
207
|
+
# @param organization Name of the organization
|
208
|
+
# @param pipeline Name of the pipeline
|
209
|
+
# @param run Name of the run
|
210
|
+
# @param [Hash] opts the optional parameters
|
211
|
+
# @return [PipelineRun]
|
212
|
+
describe 'get_pipeline_run test' do
|
213
|
+
it "should work" do
|
214
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
218
|
+
# unit tests for get_pipeline_run_log
|
219
|
+
#
|
220
|
+
# Get log for a pipeline run
|
221
|
+
# @param organization Name of the organization
|
222
|
+
# @param pipeline Name of the pipeline
|
223
|
+
# @param run Name of the run
|
224
|
+
# @param [Hash] opts the optional parameters
|
225
|
+
# @option opts [Integer] :start Start position of the log
|
226
|
+
# @option opts [BOOLEAN] :download Set to true in order to download the file, otherwise it's passed as a response body
|
227
|
+
# @return [String]
|
228
|
+
describe 'get_pipeline_run_log test' do
|
229
|
+
it "should work" do
|
230
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
234
|
+
# unit tests for get_pipeline_run_node
|
235
|
+
#
|
236
|
+
# Retrieve run node details for an organization pipeline
|
237
|
+
# @param organization Name of the organization
|
238
|
+
# @param pipeline Name of the pipeline
|
239
|
+
# @param run Name of the run
|
240
|
+
# @param node Name of the node
|
241
|
+
# @param [Hash] opts the optional parameters
|
242
|
+
# @return [PipelineRunNode]
|
243
|
+
describe 'get_pipeline_run_node test' do
|
244
|
+
it "should work" do
|
245
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
246
|
+
end
|
247
|
+
end
|
248
|
+
|
249
|
+
# unit tests for get_pipeline_run_node_step
|
250
|
+
#
|
251
|
+
# Retrieve run node details for an organization pipeline
|
252
|
+
# @param organization Name of the organization
|
253
|
+
# @param pipeline Name of the pipeline
|
254
|
+
# @param run Name of the run
|
255
|
+
# @param node Name of the node
|
256
|
+
# @param step Name of the step
|
257
|
+
# @param [Hash] opts the optional parameters
|
258
|
+
# @return [PipelineStepImpl]
|
259
|
+
describe 'get_pipeline_run_node_step test' do
|
260
|
+
it "should work" do
|
261
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
262
|
+
end
|
263
|
+
end
|
264
|
+
|
265
|
+
# unit tests for get_pipeline_run_node_step_log
|
266
|
+
#
|
267
|
+
# Get log for a pipeline run node step
|
268
|
+
# @param organization Name of the organization
|
269
|
+
# @param pipeline Name of the pipeline
|
270
|
+
# @param run Name of the run
|
271
|
+
# @param node Name of the node
|
272
|
+
# @param step Name of the step
|
273
|
+
# @param [Hash] opts the optional parameters
|
274
|
+
# @return [String]
|
275
|
+
describe 'get_pipeline_run_node_step_log test' do
|
276
|
+
it "should work" do
|
277
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
281
|
+
# unit tests for get_pipeline_run_node_steps
|
282
|
+
#
|
283
|
+
# Retrieve run node steps details for an organization pipeline
|
284
|
+
# @param organization Name of the organization
|
285
|
+
# @param pipeline Name of the pipeline
|
286
|
+
# @param run Name of the run
|
287
|
+
# @param node Name of the node
|
288
|
+
# @param [Hash] opts the optional parameters
|
289
|
+
# @return [PipelineRunNodeSteps]
|
290
|
+
describe 'get_pipeline_run_node_steps test' do
|
291
|
+
it "should work" do
|
292
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
293
|
+
end
|
294
|
+
end
|
295
|
+
|
296
|
+
# unit tests for get_pipeline_run_nodes
|
297
|
+
#
|
298
|
+
# Retrieve run nodes details for an organization pipeline
|
299
|
+
# @param organization Name of the organization
|
300
|
+
# @param pipeline Name of the pipeline
|
301
|
+
# @param run Name of the run
|
302
|
+
# @param [Hash] opts the optional parameters
|
303
|
+
# @return [PipelineRunNodes]
|
304
|
+
describe 'get_pipeline_run_nodes test' do
|
305
|
+
it "should work" do
|
306
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
307
|
+
end
|
308
|
+
end
|
309
|
+
|
310
|
+
# unit tests for get_pipeline_runs
|
311
|
+
#
|
312
|
+
# Retrieve all runs details for an organization pipeline
|
313
|
+
# @param organization Name of the organization
|
314
|
+
# @param pipeline Name of the pipeline
|
315
|
+
# @param [Hash] opts the optional parameters
|
316
|
+
# @return [PipelineRuns]
|
317
|
+
describe 'get_pipeline_runs test' do
|
318
|
+
it "should work" do
|
319
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
320
|
+
end
|
321
|
+
end
|
322
|
+
|
323
|
+
# unit tests for get_pipelines
|
324
|
+
#
|
325
|
+
# Retrieve all pipelines details for an organization
|
326
|
+
# @param organization Name of the organization
|
327
|
+
# @param [Hash] opts the optional parameters
|
328
|
+
# @return [Pipelines]
|
329
|
+
describe 'get_pipelines test' do
|
330
|
+
it "should work" do
|
331
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
332
|
+
end
|
333
|
+
end
|
334
|
+
|
335
|
+
# unit tests for get_scm
|
336
|
+
#
|
337
|
+
# Retrieve SCM details for an organization
|
338
|
+
# @param organization Name of the organization
|
339
|
+
# @param scm Name of SCM
|
340
|
+
# @param [Hash] opts the optional parameters
|
341
|
+
# @return [GithubScm]
|
342
|
+
describe 'get_scm test' do
|
343
|
+
it "should work" do
|
344
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
348
|
+
# unit tests for get_scm_organisation_repositories
|
349
|
+
#
|
350
|
+
# Retrieve SCM organization repositories details for an organization
|
351
|
+
# @param organization Name of the organization
|
352
|
+
# @param scm Name of SCM
|
353
|
+
# @param scm_organisation Name of the SCM organization
|
354
|
+
# @param [Hash] opts the optional parameters
|
355
|
+
# @option opts [String] :credential_id Credential ID
|
356
|
+
# @option opts [Integer] :page_size Number of items in a page
|
357
|
+
# @option opts [Integer] :page_number Page number
|
358
|
+
# @return [ScmOrganisations]
|
359
|
+
describe 'get_scm_organisation_repositories test' do
|
360
|
+
it "should work" do
|
361
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
365
|
+
# unit tests for get_scm_organisation_repository
|
366
|
+
#
|
367
|
+
# Retrieve SCM organization repository details for an organization
|
368
|
+
# @param organization Name of the organization
|
369
|
+
# @param scm Name of SCM
|
370
|
+
# @param scm_organisation Name of the SCM organization
|
371
|
+
# @param repository Name of the SCM repository
|
372
|
+
# @param [Hash] opts the optional parameters
|
373
|
+
# @option opts [String] :credential_id Credential ID
|
374
|
+
# @return [ScmOrganisations]
|
375
|
+
describe 'get_scm_organisation_repository test' do
|
376
|
+
it "should work" do
|
377
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
378
|
+
end
|
379
|
+
end
|
380
|
+
|
381
|
+
# unit tests for get_scm_organisations
|
382
|
+
#
|
383
|
+
# Retrieve SCM organizations details for an organization
|
384
|
+
# @param organization Name of the organization
|
385
|
+
# @param scm Name of SCM
|
386
|
+
# @param [Hash] opts the optional parameters
|
387
|
+
# @option opts [String] :credential_id Credential ID
|
388
|
+
# @return [ScmOrganisations]
|
389
|
+
describe 'get_scm_organisations test' do
|
390
|
+
it "should work" do
|
391
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
392
|
+
end
|
393
|
+
end
|
394
|
+
|
395
|
+
# unit tests for get_user
|
396
|
+
#
|
397
|
+
# Retrieve user details for an organization
|
398
|
+
# @param organization Name of the organization
|
399
|
+
# @param user Name of the user
|
400
|
+
# @param [Hash] opts the optional parameters
|
401
|
+
# @return [User]
|
402
|
+
describe 'get_user test' do
|
403
|
+
it "should work" do
|
404
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
405
|
+
end
|
406
|
+
end
|
407
|
+
|
408
|
+
# unit tests for get_user_favorites
|
409
|
+
#
|
410
|
+
# Retrieve user favorites details for an organization
|
411
|
+
# @param user Name of the user
|
412
|
+
# @param [Hash] opts the optional parameters
|
413
|
+
# @return [UserFavorites]
|
414
|
+
describe 'get_user_favorites test' do
|
415
|
+
it "should work" do
|
416
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
417
|
+
end
|
418
|
+
end
|
419
|
+
|
420
|
+
# unit tests for get_users
|
421
|
+
#
|
422
|
+
# Retrieve users details for an organization
|
423
|
+
# @param organization Name of the organization
|
424
|
+
# @param [Hash] opts the optional parameters
|
425
|
+
# @return [User]
|
426
|
+
describe 'get_users test' do
|
427
|
+
it "should work" do
|
428
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
429
|
+
end
|
430
|
+
end
|
431
|
+
|
432
|
+
# unit tests for post_pipeline_run
|
433
|
+
#
|
434
|
+
# Replay an organization pipeline run
|
435
|
+
# @param organization Name of the organization
|
436
|
+
# @param pipeline Name of the pipeline
|
437
|
+
# @param run Name of the run
|
438
|
+
# @param [Hash] opts the optional parameters
|
439
|
+
# @return [QueueItemImpl]
|
440
|
+
describe 'post_pipeline_run test' do
|
441
|
+
it "should work" do
|
442
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
443
|
+
end
|
444
|
+
end
|
445
|
+
|
446
|
+
# unit tests for post_pipeline_runs
|
447
|
+
#
|
448
|
+
# Start a build for an organization pipeline
|
449
|
+
# @param organization Name of the organization
|
450
|
+
# @param pipeline Name of the pipeline
|
451
|
+
# @param [Hash] opts the optional parameters
|
452
|
+
# @return [QueueItemImpl]
|
453
|
+
describe 'post_pipeline_runs test' do
|
454
|
+
it "should work" do
|
455
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
456
|
+
end
|
457
|
+
end
|
458
|
+
|
459
|
+
# unit tests for put_pipeline_favorite
|
460
|
+
#
|
461
|
+
# Favorite/unfavorite a pipeline
|
462
|
+
# @param organization Name of the organization
|
463
|
+
# @param pipeline Name of the pipeline
|
464
|
+
# @param body Set JSON string body to {\"favorite\": true} to favorite, set value to false to unfavorite
|
465
|
+
# @param [Hash] opts the optional parameters
|
466
|
+
# @return [FavoriteImpl]
|
467
|
+
describe 'put_pipeline_favorite test' do
|
468
|
+
it "should work" do
|
469
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
470
|
+
end
|
471
|
+
end
|
472
|
+
|
473
|
+
# unit tests for put_pipeline_run
|
474
|
+
#
|
475
|
+
# Stop a build of an organization pipeline
|
476
|
+
# @param organization Name of the organization
|
477
|
+
# @param pipeline Name of the pipeline
|
478
|
+
# @param run Name of the run
|
479
|
+
# @param [Hash] opts the optional parameters
|
480
|
+
# @option opts [String] :blocking Set to true to make blocking stop, default: false
|
481
|
+
# @option opts [Integer] :time_out_in_secs Timeout in seconds, default: 10 seconds
|
482
|
+
# @return [PipelineRun]
|
483
|
+
describe 'put_pipeline_run test' do
|
484
|
+
it "should work" do
|
485
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
486
|
+
end
|
487
|
+
end
|
488
|
+
|
489
|
+
# unit tests for search
|
490
|
+
#
|
491
|
+
# Search for any resource details
|
492
|
+
# @param q Query string
|
493
|
+
# @param [Hash] opts the optional parameters
|
494
|
+
# @return [String]
|
495
|
+
describe 'search test' do
|
496
|
+
it "should work" do
|
497
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
498
|
+
end
|
499
|
+
end
|
500
|
+
|
501
|
+
# unit tests for search_classes
|
502
|
+
#
|
503
|
+
# Get classes details
|
504
|
+
# @param q Query string containing an array of class names
|
505
|
+
# @param [Hash] opts the optional parameters
|
506
|
+
# @return [String]
|
507
|
+
describe 'search_classes test' do
|
508
|
+
it "should work" do
|
509
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
510
|
+
end
|
511
|
+
end
|
512
|
+
|
513
|
+
end
|