cool_stuff 0.0.1 → 0.0.2
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/get_environments.meta +22 -0
- data/automations/get_environments.rb +13 -0
- data/config.yml +3 -3
- metadata +17 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NjNiNTg3ZGM3ZjRmYzgzYjlkYzU3ZWU0ZDg1NmZlZDgyOTAyMDBhMQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZGRlMjI0NDlmZThlYzUxMThlYjY0N2U0MWQ5MzViMzA2NTg3MTg4NQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NTY4ZDNhNWU0OGRlMGQyZDUwZTNmZjRjMGE0NTEwYzI0YWVmNjk3ZTkxNTU3
|
10
|
+
N2E4ZGQxNWNiYTAyNmM4OWI0ZGU2Mzg3MTYxOGMyYmZkNWUyODAxYzQ4ZDJk
|
11
|
+
NjI0Mjc5MzJjMmNhNWMwNjZmNTc5MzZhM2Y2YTcwMjJlM2UwNGI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
M2JjMzk3ZmQwODJjZmRjMzAyZDdkOWE3NjBjZTg3Zjc0MTNlZjAyMzYyZjNi
|
14
|
+
YjRiYTVkYTk3MWUxNTg5ZWYzNjhmODMxNjRiYzJjOTAyOGY3YzFkM2NjYjJh
|
15
|
+
OThkNjQyM2QyYWE4ODMzOWNhYjE3MDIxOGI4YjA2NTFmZTc2MzU=
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# list all input and output params
|
2
|
+
params:
|
3
|
+
environments:
|
4
|
+
name: Environments
|
5
|
+
type: out-table
|
6
|
+
position: A1:D1
|
7
|
+
|
8
|
+
#friendly_name: <script friendly name> # this value will be used as the name of the automation script BRPM, if not specified the file name of the file will be used
|
9
|
+
description: Gets the environments of the application
|
10
|
+
|
11
|
+
# if your automation script depends on an integration server, you can specify here the type of the integration server it needs
|
12
|
+
# during the installation the applicable integration server of the BRPM instance will then be linked to the automation script
|
13
|
+
|
14
|
+
# supported integration server types:
|
15
|
+
# Jira
|
16
|
+
# Hudson/Jenkins, Jenkins
|
17
|
+
# Remedy via AO, AO, "AtriumOrchestrator
|
18
|
+
# BMC Application Automation, Bladelogic
|
19
|
+
# RLM Deployment Engine, BRPD
|
20
|
+
|
21
|
+
#integration_server_type: <integration server type>
|
22
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
brpm_rest_client = BrpmRestClient.new
|
2
|
+
|
3
|
+
environments = brpm_rest_client.get_environments_of_application(BrpmAuto.params.application)
|
4
|
+
|
5
|
+
table_data = [[' ', 'Environment']]
|
6
|
+
|
7
|
+
counter = 0
|
8
|
+
environments.each do |env|
|
9
|
+
counter += 1
|
10
|
+
table_data << [counter, env["name"]]
|
11
|
+
end
|
12
|
+
|
13
|
+
BrpmAuto.pack_response "environments", { :perPage => 10, :totalItems => table_data.count - 1, :data => table_data }
|
data/config.yml
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
#list all dependencies
|
2
|
-
|
3
|
-
|
2
|
+
dependencies:
|
3
|
+
- brpm_module_brpm # { version: x.x.x } # version is optional
|
4
4
|
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.2
|
6
6
|
|
7
7
|
friendly_name: Cool stuff # this value will be used to create an automation category in BRPM for the module, if not specified the name of the repository (minus "brpm_module_") will be used
|
8
8
|
author: Niek Bartholomeus
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cool_stuff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Niek Bartholomeus
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - ! '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.2.11
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: brpm_module_brpm
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: rake
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -65,6 +79,8 @@ files:
|
|
65
79
|
- Rakefile
|
66
80
|
- automations/addition.meta
|
67
81
|
- automations/addition.rb
|
82
|
+
- automations/get_environments.meta
|
83
|
+
- automations/get_environments.rb
|
68
84
|
- config.yml
|
69
85
|
- module.gemspec
|
70
86
|
homepage: https://github.com/BMC-RLM/cool_stuff
|