clowder-common-ruby 0.5.2 → 0.5.4

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: 5f5724ba3decfd80d5680e28006c976a72bd03868586b0afd0d16415f2d30ca7
4
- data.tar.gz: 14e7f2f3882001c06ee7391dad86f73269b2ad315691612827120bef7f228e02
3
+ metadata.gz: 769776f3afe99ccbacef22de30adb73bf0184b77f67091a716b405b9ff867036
4
+ data.tar.gz: 3ee5d72a9513202235d17b9198241f4d38a1a801e186011a21bf30c8f3fe0816
5
5
  SHA512:
6
- metadata.gz: 7fcf609b925a9d9de2fd8654e9effd592a6476bced6395acb745b7179bed5235e9b41ab7ca969f5538f57ac5c83369410f1b6a30753417127b4f75455c2c916b
7
- data.tar.gz: d9dae30e257647850eadff44027175855ca17c9a65775422285726b373fc4dc315ca3d94271d3f74fbe2b71123df850246402844e69b3a0d49a1a6eab28a8c5d
6
+ metadata.gz: 03a342ee1269e46712cb0e4aee25a8c32b8dc29de6b6bed05c7d381357a7e60c6ebe8556af866abf40cdccf17b39c3b7ede3c2a11941e4e2352aed83279ef984
7
+ data.tar.gz: f51c9489385b964b24d15afaff5b5aaa86c4126a3c89543359c4c3617c68019fccbfb8dbfbe65dbae73d7e576068b54b537c1875fe934c6c887e71dbdba4b2c6
data/bin/schema.json CHANGED
@@ -201,16 +201,19 @@
201
201
  "description": "SASL Configuration for Kafka",
202
202
  "properties": {
203
203
  "username": {
204
+ "description": "Broker SASL username",
204
205
  "type": "string"
205
206
  },
206
207
  "password": {
208
+ "description": "Broker SASL password",
207
209
  "type": "string"
208
210
  },
209
211
  "securityProtocol": {
210
- "description": "Deprecated: Use the top level securityProtocol field instead",
212
+ "description": "Broker security protocol, expect one of either: SASL_SSL, SSL. DEPRECATED, use the top level securityProtocol field instead",
211
213
  "type": "string"
212
214
  },
213
215
  "saslMechanism": {
216
+ "description": "Broker SASL mechanism, expect: SCRAM-SHA-512",
214
217
  "type": "string"
215
218
  }
216
219
  },
@@ -222,22 +225,26 @@
222
225
  "description": "Broker Configuration",
223
226
  "properties": {
224
227
  "hostname": {
228
+ "description": "Hostname of kafka broker",
225
229
  "type": "string"
226
230
  },
227
231
  "port": {
232
+ "description": "Port of kafka broker",
228
233
  "type": "integer"
229
234
  },
230
235
  "cacert": {
236
+ "description": "CA certificate trust list for broker in PEM format. If absent, client should use OS default trust list",
231
237
  "type": "string"
232
238
  },
233
239
  "authtype": {
234
240
  "type": "string",
235
- "enum": ["mtls", "sasl"]
241
+ "enum": ["sasl"]
236
242
  },
237
243
  "sasl": {
238
244
  "$ref": "#/definitions/KafkaSASLConfig"
239
245
  },
240
246
  "securityProtocol": {
247
+ "description": "Broker security procotol, expect one of either: SASL_SSL, SSL",
241
248
  "type": "string"
242
249
  }
243
250
  },
@@ -4,7 +4,7 @@ if ClowderCommonRuby::Config.clowder_enabled? && defined?(Settings)
4
4
  config = ClowderCommonRuby::RailsConfig.to_h.deep_stringify_keys
5
5
 
6
6
  if config.dig('tls_ca_path')
7
- ENV['SSL_CERT_FILE'] = Rails.root.join('tmp', 'cacert.crt')
7
+ ENV['SSL_CERT_FILE'] = Rails.root.join('tmp', 'cacert.crt').to_s
8
8
 
9
9
  File.open(ENV['SSL_CERT_FILE'], 'w') do |f|
10
10
  f.write(File.read('/etc/pki/tls/certs/ca-bundle.crt'))
@@ -1,3 +1,3 @@
1
1
  module ClowderCommonRuby
2
- VERSION = '0.5.2'.freeze # Patch version is being automatically bumped
2
+ VERSION = '0.5.4'.freeze # Patch version is being automatically bumped
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clowder-common-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Red Hat Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-02 00:00:00.000000000 Z
11
+ date: 2023-11-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: This is a ruby interface for preparing Clowder variables.
14
14
  email: