brpm_module_bladelogic 0.1.35 → 0.1.36
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 +8 -8
- data/automations/deploy_package.rb +1 -1
- data/automations/execute_job.meta +1 -1
- data/automations/execute_job.rb +5 -2
- data/config.yml +1 -1
- data/lib/bl_soap/utility.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZDEzMzRhOTgyY2YzYmU0ODY5NDg0NWQyNGQ3NjVmYTk0YjE2Mzg0Mg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NWU3NWIyMmJmYzBlNzEzZDFhMjk0OTMwYjk2YzczYmI4MjhmZGY2Yw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OWJkZDE4ZThjMDU0MzQ5NjEwOGYyMWE2ZTU1ZTk5MTg4ZWU3YWQ0MTA3MmIx
|
10
|
+
ZmQ1ZTkyOTEyMWVjNWJhN2I5YTEzZjk1ZWZhMDMwNGI4NTAyYThlZmNjZTIz
|
11
|
+
YjEyMzJkNDYwMmVhOGQwNzExZGE1YjU4ZjYxOWNlMjhmOGM1ODY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NzExOWM1ZDc1NzMwZGUyODQ3ZWNlMjIyNTg0NjNmYTA0MTU3NDdiYTMwOTEz
|
14
|
+
NmY5OWNkNzdlZjNlOTY3NTM5ZWE3NzE4NDAxN2M3MmYyNTRkMDg4MWE5MmE2
|
15
|
+
MjdiZGYxYTZlMDFiYjAzNDJiOGM0OTYyYzM2MDcyYTU5ODBlOGQ=
|
@@ -147,7 +147,7 @@ job_run_id = bsa_soap_client.job_run.job_run_key_to_job_run_id({:job_run_key =>
|
|
147
147
|
results_full_path = "#{params.output_dir}/#{deploy_job_name}_result.csv"
|
148
148
|
|
149
149
|
BrpmAuto.log("Retrieving the results from the job run id...")
|
150
|
-
return_data = bsa_soap_client.utility.
|
150
|
+
return_data = bsa_soap_client.utility.export_deploy_run({
|
151
151
|
:job_group_name => deploy_job_group_path,
|
152
152
|
:job_name => deploy_job_name,
|
153
153
|
:run_id => job_run_id,
|
data/automations/execute_job.rb
CHANGED
@@ -52,7 +52,7 @@ BrpmAuto.log("Logging on to Bladelogic...")
|
|
52
52
|
bsa_soap_client = BsaSoapClient.new
|
53
53
|
|
54
54
|
BrpmAuto.log("Retrieving the job key of the job...")
|
55
|
-
job_db_key = bsa_soap_client.
|
55
|
+
job_db_key = bsa_soap_client.send(job_type.underscore).get_dbkey_by_group_and_name({:group_name => job_group, :job_name => job_name})
|
56
56
|
BrpmAuto.log("Job key is #{job_db_key}.")
|
57
57
|
|
58
58
|
job_run_key = nil
|
@@ -88,7 +88,10 @@ job_run_id = bsa_soap_client.job_run.job_run_key_to_job_run_id({:job_run_key =>
|
|
88
88
|
|
89
89
|
BrpmAuto.log("Retrieving the results from the job run id...")
|
90
90
|
results_full_path = "#{BrpmAuto.params.output_dir}/#{job_name}_result.csv"
|
91
|
-
|
91
|
+
|
92
|
+
return_data = bsa_soap_client.utility.send("export_#{job_type.underscore.sub("_job", "_run")}", {
|
93
|
+
:job_group_name => job_group,
|
94
|
+
:job_name => job_name,
|
92
95
|
:run_id => job_run_id,
|
93
96
|
:export_file_name => results_full_path})
|
94
97
|
results_content = Base64.decode64(return_data)
|
data/config.yml
CHANGED
data/lib/bl_soap/utility.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
class Utility < BsaSoapBase
|
2
|
-
def
|
2
|
+
def export_deploy_run(options = {})
|
3
3
|
validate_cli_options_hash([:job_group_name, :job_name, :run_id, :export_file_name], options)
|
4
4
|
void_result = execute_cli_with_attachments(self.class, "exportDeployRun",
|
5
5
|
[
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brpm_module_bladelogic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.36
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Niek Bartholomeus
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: brpm_content_framework
|