sensu-translator 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +1 -0
- data/CHANGELOG.md +4 -0
- data/lib/sensu/translator/translations.rb +1 -0
- data/lib/sensu/translator/version.rb +1 -1
- data/sensu-translator.gemspec +1 -1
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 650c8cdfabbe7a3c6f8fd224a4655d6ff6208e8e1e6ada2f2b01e6223883cc9e
|
4
|
+
data.tar.gz: af0978bded782e6c6cc0c52cd86efb5cfadaa5f3592e7ca9e988105c553d05af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3210d02ec78544877a61f2d34128942dae1934056a0c80e0de064891e7342b3a5d5376ee7ae794140dc6901e9ec3dc4e250d2e2049416de2aba00bd07173b49
|
7
|
+
data.tar.gz: 1514ebcfc57391505e1365a9bf1dd7f9467e676171b1d2b16099d942e9a73fc36001ceac9fd5347454057e6352ed18857981ef80a67226904f99ee508340bc1d
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,10 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [1.2.0] - 2021-03-10
|
10
|
+
### Added
|
11
|
+
- Translate check pager_team to the pagerduty plugin config team annotation
|
12
|
+
|
9
13
|
## [1.1.0] - 2020-02-19
|
10
14
|
### Added
|
11
15
|
- Translate check occurrences and refresh to fatigue_check annotations
|
@@ -46,6 +46,7 @@ module Sensu
|
|
46
46
|
end
|
47
47
|
annotations["fatigue_check/occurrences"] = object[:occurrences].to_s if object[:occurrences]
|
48
48
|
annotations["fatigue_check/interval"] = object[:refresh].to_s if object[:refresh]
|
49
|
+
annotations["sensu.io/plugins/sensu-pagerduty-handler/config/team"] = object[:pager_team].to_s if object[:pager_team]
|
49
50
|
go_spec(:check, check, namespace, name, {}, annotations)
|
50
51
|
end
|
51
52
|
|
data/sensu-translator.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.add_dependency "sensu-json", ">= 2.1.1"
|
25
25
|
spec.add_dependency "sensu-settings", ">= 10.13.1"
|
26
26
|
|
27
|
-
spec.add_development_dependency "bundler"
|
27
|
+
spec.add_development_dependency "bundler"
|
28
28
|
spec.add_development_dependency "rake", "~> 10.0"
|
29
29
|
spec.add_development_dependency "rspec", "~> 3.0"
|
30
30
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-translator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Porter
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-03-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sensu-json
|
@@ -43,16 +43,16 @@ dependencies:
|
|
43
43
|
name: bundler
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - "
|
46
|
+
- - ">="
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: '
|
48
|
+
version: '0'
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - "
|
53
|
+
- - ">="
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: '
|
55
|
+
version: '0'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: rake
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -125,8 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
125
|
- !ruby/object:Gem::Version
|
126
126
|
version: '0'
|
127
127
|
requirements: []
|
128
|
-
|
129
|
-
rubygems_version: 2.6.11
|
128
|
+
rubygems_version: 3.1.2
|
130
129
|
signing_key:
|
131
130
|
specification_version: 4
|
132
131
|
summary: A tool for translating Sensu 1.x config to the Sensu 2.x format.
|