clowder-common-ruby 0.2.5 → 0.2.6

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: dff7cc402aa2642333e32ab492fe4b017760ae4a9411b7e686f6a877f22fba01
4
- data.tar.gz: 651e69a1d1fc83aa64b0b4f8ea7e6830dad4428efc48eaba2c674cdc7704d0f1
3
+ metadata.gz: d168646c5d5d8cade020019e0a92c9abbf784aee38e000bb09e7385eb7bdcd33
4
+ data.tar.gz: d9bfd039f488a90bbea2d5174812f7d7c26129cf4f9618f03cf8e8c2b56499ca
5
5
  SHA512:
6
- metadata.gz: 102a5fb6bfe8cc8e8b8cc4d69eecf1300302b29f1e3f34e7397d1ffab0299efd9d5193f5577363ca620fc6d90a4a5d99a6a47a6b719757cd73c2b3bd69edd97c
7
- data.tar.gz: 2f5a0f8f4f0aa92c9cc3a7dda8d96ded3e61a262cdedb5d518eaadc40ef589dcf9173dbf361db945dcb2224357183f68acfc7a266461955a03fb106a51424fb9
6
+ metadata.gz: 6084c009bf2b0dd7d04b65d186d96d1f0e3c26f1a3a332e39a2278696d0fdb110ae290ccdf9d7ac42c25a5dc69952e493960a1fa77a8966f1417982d2fbb8643
7
+ data.tar.gz: 1c834382855bcb9d0844715225b271b2f179f9d852790a6c96cfde2f2e4124a41c876cd2778eb95bc3a13460565480d50913339ed3a8d96a7334aaf10044a944
data/bin/schema.json CHANGED
@@ -20,6 +20,10 @@
20
20
  "description": "Deprecated: Use 'publicPort' instead.",
21
21
  "type": "integer"
22
22
  },
23
+ "tlsCAPath": {
24
+ "description": "Defines the port CA path",
25
+ "type": "string"
26
+ },
23
27
  "metricsPort": {
24
28
  "description": "Defines the metrics port that the app should be configured to listen on for metric traffic.",
25
29
  "type": "integer"
@@ -66,6 +70,10 @@
66
70
  "BOPURL": {
67
71
  "description": "Defines the path to the BOPURL.",
68
72
  "type": "string"
73
+ },
74
+ "hashCache": {
75
+ "description": "A set of config/secret hashes",
76
+ "type": "string"
69
77
  }
70
78
  },
71
79
  "required": [
@@ -199,6 +207,7 @@
199
207
  "type": "string"
200
208
  },
201
209
  "securityProtocol": {
210
+ "description": "Deprecated: Use the top level securityProtocol field instead",
202
211
  "type": "string"
203
212
  },
204
213
  "saslMechanism": {
@@ -227,6 +236,9 @@
227
236
  },
228
237
  "sasl": {
229
238
  "$ref": "#/definitions/KafkaSASLConfig"
239
+ },
240
+ "securityProtocol": {
241
+ "type": "string"
230
242
  }
231
243
  },
232
244
  "required": [
@@ -452,6 +464,10 @@
452
464
  "app": {
453
465
  "description": "The app name of the ClowdApp hosting the service.",
454
466
  "type": "string"
467
+ },
468
+ "tlsPort": {
469
+ "description": "The TLS port of the dependent service.",
470
+ "type": "integer"
455
471
  }
456
472
  },
457
473
  "required": [
@@ -481,6 +497,10 @@
481
497
  "app": {
482
498
  "description": "The app name of the ClowdApp hosting the service.",
483
499
  "type": "string"
500
+ },
501
+ "tlsPort": {
502
+ "description": "The TLS port of the dependent service.",
503
+ "type": "integer"
484
504
  }
485
505
  },
486
506
  "required": [
@@ -44,6 +44,7 @@ module ClowderCommonRuby
44
44
  keys << :privatePort
45
45
  keys << :publicPort
46
46
  keys << :webPort
47
+ keys << :tlsCAPath
47
48
  keys << :metricsPort
48
49
  keys << :metricsPath
49
50
  keys << :logging
@@ -56,6 +57,7 @@ module ClowderCommonRuby
56
57
  keys << :endpoints
57
58
  keys << :privateEndpoints
58
59
  keys << :BOPURL
60
+ keys << :hashCache
59
61
  end
60
62
  end
61
63
  end
@@ -230,6 +232,7 @@ module ClowderCommonRuby
230
232
  keys << :cacert
231
233
  keys << :authtype
232
234
  keys << :sasl
235
+ keys << :securityProtocol
233
236
  end
234
237
  end
235
238
  end
@@ -402,6 +405,7 @@ module ClowderCommonRuby
402
405
  keys << :hostname
403
406
  keys << :port
404
407
  keys << :app
408
+ keys << :tlsPort
405
409
  end
406
410
  end
407
411
  end
@@ -425,6 +429,7 @@ module ClowderCommonRuby
425
429
  keys << :hostname
426
430
  keys << :port
427
431
  keys << :app
432
+ keys << :tlsPort
428
433
  end
429
434
  end
430
435
  end
@@ -1,3 +1,3 @@
1
1
  module ClowderCommonRuby
2
- VERSION = '0.2.5'.freeze
2
+ VERSION = '0.2.6'.freeze
3
3
  end
data/test.json CHANGED
@@ -2,6 +2,7 @@
2
2
  "publicPort": 8000,
3
3
  "metricsPort": 9000,
4
4
  "metricsPath": "/metrics",
5
+ "tlsCAPath": "/tlsCAPath",
5
6
  "logging": {
6
7
  "type": "cloudwatch",
7
8
  "cloudwatch": {
@@ -63,13 +64,15 @@
63
64
  "name": "endpoint1",
64
65
  "app": "app1",
65
66
  "hostname": "endpoint1.svc",
66
- "port": 8000
67
+ "port": 8000,
68
+ "tlsPort": 8001
67
69
  },
68
70
  {
69
71
  "name": "endpoint2",
70
72
  "app": "app2",
71
73
  "hostname": "endpoint2.svc",
72
- "port": 8000
74
+ "port": 8000,
75
+ "tlsPort": 8001
73
76
  }
74
77
  ],
75
78
  "privateEndpoints": [
@@ -77,13 +80,15 @@
77
80
  "name": "endpoint1",
78
81
  "app": "app1",
79
82
  "hostname": "endpoint1.svc",
80
- "port": 10000
83
+ "port": 10000,
84
+ "tlsPort": 10001
81
85
  },
82
86
  {
83
87
  "name": "endpoint2",
84
88
  "app": "app2",
85
89
  "hostname": "endpoint2.svc",
86
- "port": 10000
90
+ "port": 10000,
91
+ "tlsPort": 10001
87
92
  }
88
93
  ]
89
94
  }
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.2.5
4
+ version: 0.2.6
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: 2022-07-12 00:00:00.000000000 Z
11
+ date: 2023-06-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: This is a ruby interface for preparing Clowder variables.
14
14
  email: