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