manageiq-messaging 1.2.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cfe85cf657f8c2c1abbe3c4e89fbaddb02339972f0c93c2e325b5eadba10b456
4
- data.tar.gz: 5e28a2cc86fa33a89893cad6652aa20acd5af801f5061c5a2c0632668f1c94c8
3
+ metadata.gz: 3f8b3657297bc2aea214185fdede2a72ca90380a0634537ab9f69589ff8e8436
4
+ data.tar.gz: f30f33edf031f670d60737626d9594e98b1d4c4c1dbcab19a0ab00c40dcc4d72
5
5
  SHA512:
6
- metadata.gz: a20dad2e6813bdacfc24ebfb81a9edff1ae37156de353c307d8e403cb27915a4da928872feff00cb157fb8aa5539e67d024afc20c7ceaba79f68ea564cbbdd27
7
- data.tar.gz: 786daacf2af78548fe5695e38d36083b21e1c9bedfe13977d287a5b8f1ae5f22d58f5b379ca40144382873e08b120acb0bebf2835cfda0d7eee67e556c085aee
6
+ metadata.gz: 005aa8c8bca3572189dffff24779ea30dfe95f1ea5d556f02750bdfa46da3af3ba9ac8e15f1e8642a94eff815d042b09256da9b32adebac62d133a530a98229e
7
+ data.tar.gz: c9fd0f1b20a93fd8bb5259d8f8609125e99cebb522ecb917d8ef8b0e58cfe066c25bb592453fb4064eb7ef121e04679146eb2505be204c52fe3939ec851756dc
@@ -22,7 +22,7 @@ jobs:
22
22
  TEST_RAILS_VERSION: ${{ matrix.rails-version }}
23
23
  CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
24
24
  steps:
25
- - uses: actions/checkout@v2
25
+ - uses: actions/checkout@v3
26
26
  - name: Set up Ruby
27
27
  uses: ruby/setup-ruby@v1
28
28
  with:
@@ -34,4 +34,4 @@ jobs:
34
34
  - name: Report code coverage
35
35
  if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.0' && matrix.rails-version == '6.1' }}
36
36
  continue-on-error: true
37
- uses: paambaati/codeclimate-action@v3.0.0
37
+ uses: paambaati/codeclimate-action@v5
data/CHANGELOG.md CHANGED
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.4.0] - 01-Sept-2023
10
+ * Add Kafka SASL mechanism options to client ([#80](https://github.com/ManageIQ/manageiq-messaging/pull/80))
11
+
12
+ ## [1.3.0] - 03-Apr-2023
13
+ * Add Kafka SSL keystore options to client [#77](https://github.com/ManageIQ/manageiq-messaging/pull/77)
14
+
9
15
  ## [1.2.0] - 19-Oct-2022
10
16
 
11
17
  * Add ssl and ca_file options to `Client.open` [#76](https://github.com/ManageIQ/manageiq-messaging/pull/76)
@@ -73,7 +79,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
73
79
 
74
80
  * Initial release
75
81
 
76
- [Unreleased]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.1.1...HEAD
82
+ [Unreleased]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.3.0...HEAD
83
+ [1.3.0]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.2.0...v1.3.0
84
+ [1.2.0]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.1.2...v1.2.0
85
+ [1.1.2]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.1.1...v1.1.2
77
86
  [1.1.1]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.1.0...v1.1.1
78
87
  [1.1.0]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.0.3...v1.1.0
79
88
  [1.0.3]: https://github.com/ManageIQ/manageiq-messaging/compare/v1.0.2...v1.0.3
@@ -88,13 +88,15 @@ module ManageIQ
88
88
  result = {:"bootstrap.servers" => hosts.join(',')}
89
89
  result[:"client.id"] = options[:client_ref] if options[:client_ref]
90
90
 
91
- result[:"sasl.mechanism"] = "PLAIN"
91
+ result[:"sasl.mechanism"] = options[:sasl_mechanism] || "PLAIN"
92
92
  result[:"sasl.username"] = options[:username] if options[:username]
93
93
  result[:"sasl.password"] = options[:password] if options[:password]
94
- result[:"ssl.ca.location"] = options[:ca_file] if options[:ca_file]
95
94
  result[:"security.protocol"] = !!options[:ssl] ? "SASL_SSL" : "PLAINTEXT"
95
+ result[:"ssl.ca.location"] = options[:ca_file] if options[:ca_file]
96
+ result[:"ssl.keystore.location"] = options[:keystore_location] if options[:keystore_location]
97
+ result[:"ssl.keystore.password"] = options[:keystore_password] if options[:keystore_password]
96
98
 
97
- result.merge(options.except(:port, :host, :hosts, :encoding, :protocol, :client_ref, :username, :password, :ssl, :ca_file))
99
+ result.merge(options.except(:port, :host, :hosts, :encoding, :protocol, :client_ref, :sasl_mechanism, :username, :password, :ssl, :ca_file, :keystore_location, :keystore_password))
98
100
  end
99
101
  end
100
102
  end
@@ -1,5 +1,5 @@
1
1
  module ManageIQ
2
2
  module Messaging
3
- VERSION = "1.2.0"
3
+ VERSION = "1.4.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manageiq-messaging
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ManageIQ Authors
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-19 00:00:00.000000000 Z
11
+ date: 2023-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport