topological_inventory-providers-common 2.1.4 → 2.1.5
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 75348e5abd6addefc5c90886fe1b31fc8405239998e030f6f740ebd2b034d726
|
|
4
|
+
data.tar.gz: 7b6c51b8299d5209587253954d41e8c7898c0f15fcab3fcdbcdfd631d8311aff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d2e5ed6d7135c0ace48bcd109c8b757c8b3f93633053bb8878cbcdc69ea13d69b18461db763ca97ad140d729078d15c1b05b59462fdfcc28a9b487fac0a73d24
|
|
7
|
+
data.tar.gz: 6967cf0f588c7fc477e308f1cc3d9ad9be1487cb8932506fb5cbd7604d372486a33eb3d503d77a21e7eb3a08e5a02dfeba056f1d04336b44b3037cd28a2f81d0
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file.
|
|
|
3
3
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
|
+
## [2.1.5] - 2021-01-07
|
|
7
|
+
Include x-rh-id header in Kafka Availability-Status message #73
|
|
8
|
+
|
|
6
9
|
## [2.1.4] - 2020-12-14
|
|
7
10
|
Common Counter metrics init #71
|
|
8
11
|
|
|
@@ -81,7 +84,9 @@ manageiq-loggers to >= 0.4.2 #20
|
|
|
81
84
|
## [1.0.0] - 2020-03-19
|
|
82
85
|
### Initial release to rubygems.org
|
|
83
86
|
|
|
84
|
-
[Unreleased]: https://github.com/RedHatInsights/topological_inventory-providers-common/compare/v2.1.
|
|
87
|
+
[Unreleased]: https://github.com/RedHatInsights/topological_inventory-providers-common/compare/v2.1.5...HEAD
|
|
88
|
+
[2.1.5]: https://github.com/RedHatInsights/topological_inventory-providers-common/compare/v2.1.4...v2.1.5
|
|
89
|
+
[2.1.4]: https://github.com/RedHatInsights/topological_inventory-providers-common/compare/v2.1.3...v2.1.4
|
|
85
90
|
[2.1.3]: https://github.com/RedHatInsights/topological_inventory-providers-common/compare/v2.1.2...v2.1.3
|
|
86
91
|
[2.1.2]: https://github.com/RedHatInsights/topological_inventory-providers-common/compare/v2.1.1...v2.1.2
|
|
87
92
|
[2.1.1]: https://github.com/RedHatInsights/topological_inventory-providers-common/compare/v2.1.0...v2.1.1
|
|
@@ -211,7 +211,8 @@ module TopologicalInventory
|
|
|
211
211
|
messaging_client.publish_topic(
|
|
212
212
|
:service => SERVICE_NAME,
|
|
213
213
|
:event => EVENT_AVAILABILITY_STATUS,
|
|
214
|
-
:payload => payload.to_json
|
|
214
|
+
:payload => payload.to_json,
|
|
215
|
+
:headers => identity
|
|
215
216
|
)
|
|
216
217
|
rescue => err
|
|
217
218
|
logger.availability_check("Failed to update #{payload[:resource_type]} id: #{payload[:resource_id]} - #{err.message}", :error)
|
|
@@ -44,6 +44,9 @@ RSpec.shared_examples "availability_check" do
|
|
|
44
44
|
:resource_type => resource_type,
|
|
45
45
|
:resource_id => resource_id,
|
|
46
46
|
:status => status
|
|
47
|
+
},
|
|
48
|
+
:headers => {
|
|
49
|
+
"x-rh-identity" => "eyJpZGVudGl0eSI6eyJhY2NvdW50X251bWJlciI6IjExMDAxIiwidXNlciI6eyJpc19vcmdfYWRtaW4iOnRydWV9fX0="
|
|
47
50
|
}
|
|
48
51
|
}
|
|
49
52
|
res[:payload][:error] = error_message if error_message
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: topological_inventory-providers-common
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Martin Slemr
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-01-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|