strongdm 15.1.0 → 15.4.0
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 +4 -4
- data/.git/ORIG_HEAD +1 -1
- data/.git/index +0 -0
- data/.git/logs/HEAD +3 -3
- data/.git/logs/refs/heads/master +2 -2
- data/.git/logs/refs/remotes/origin/HEAD +1 -1
- data/.git/objects/pack/{pack-260518a45e53ce31a7d2f4aa33bc6fda08677d0f.idx → pack-f192d3803f5fe19b9f8007286fd69d55cd44e0ee.idx} +0 -0
- data/.git/objects/pack/{pack-260518a45e53ce31a7d2f4aa33bc6fda08677d0f.pack → pack-f192d3803f5fe19b9f8007286fd69d55cd44e0ee.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/approval_workflow_approvers_pb.rb +1 -0
- data/lib/grpc/approval_workflows_pb.rb +1 -0
- data/lib/grpc/drivers_pb.rb +39 -0
- data/lib/grpc/plumbing.rb +248 -1
- data/lib/models/porcelain.rb +248 -0
- data/lib/strongdm.rb +16 -16
- data/lib/svc.rb +216 -214
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f276d1e777643cadd804787813f7c61a090461a6222f826afa129ec3e372c831
|
4
|
+
data.tar.gz: 667a1207967cee10cbd68a141a64afa17052d8e794aeed2983c8499350427d80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4342d222dda68d50df2d749e8978344b5c2996641a2daef2addf9d14bfeb27154864ef932bc9749cf9dbeeaf12fec636d728b070f66e94164865eb18980e59cc
|
7
|
+
data.tar.gz: 1e71bf2daf268cf89cd62de4442b7c594beee87bd8f5c5260804647014023cc182e1e94ed79e904fc1bc5acaaae6528051f1fb2192e6068188cd1cbdc2fa7926
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
95ca84ab082b3f19fa3b0d1799ac55e4beebea64
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 95ca84ab082b3f19fa3b0d1799ac55e4beebea64 root <root@95aba831521d.(none)> 1753950833 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
95ca84ab082b3f19fa3b0d1799ac55e4beebea64 95ca84ab082b3f19fa3b0d1799ac55e4beebea64 root <root@95aba831521d.(none)> 1753950833 +0000 checkout: moving from master to master
|
3
|
+
95ca84ab082b3f19fa3b0d1799ac55e4beebea64 cf3b15b82cb0c4229609c07c870c6cb4fd38ef75 root <root@95aba831521d.(none)> 1753950833 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 95ca84ab082b3f19fa3b0d1799ac55e4beebea64 root <root@95aba831521d.(none)> 1753950833 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
95ca84ab082b3f19fa3b0d1799ac55e4beebea64 cf3b15b82cb0c4229609c07c870c6cb4fd38ef75 root <root@95aba831521d.(none)> 1753950833 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 95ca84ab082b3f19fa3b0d1799ac55e4beebea64 root <root@95aba831521d.(none)> 1753950833 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
Binary file
|
Binary file
|
data/.git/packed-refs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# pack-refs with: peeled fully-peeled sorted
|
2
|
-
|
3
|
-
|
2
|
+
cf3b15b82cb0c4229609c07c870c6cb4fd38ef75 refs/remotes/origin/development
|
3
|
+
95ca84ab082b3f19fa3b0d1799ac55e4beebea64 refs/remotes/origin/master
|
4
4
|
2e4fe8087177ddea9b3991ca499f758384839c89 refs/tags/untagged-84fd83a4484c785cce63
|
5
5
|
04f604866214fab4d5663b5171a3e596331577bd refs/tags/v0.9.4
|
6
6
|
6f9a7b75b345c65fb554884907b7060680c807b7 refs/tags/v0.9.5
|
@@ -102,6 +102,8 @@ f5e3068d4f6c73c93d409699726cc9fb3c5cf482 refs/tags/v14.5.0
|
|
102
102
|
1b041fbccb35f138ec614b2fad0bf6c7f321e21c refs/tags/v14.8.0
|
103
103
|
5c3dad71c286baa1fed7056f23334ecfbf114abc refs/tags/v14.9.0
|
104
104
|
08fd7fd2e52f2718155d68f541842535a3261ebd refs/tags/v15.0.0
|
105
|
+
28d4387142c309e532c47f809e4ef3c80150f523 refs/tags/v15.1.0
|
106
|
+
95ca84ab082b3f19fa3b0d1799ac55e4beebea64 refs/tags/v15.2.0
|
105
107
|
e0b1ec0134c7015ccb8c14464cc713c20034159e refs/tags/v2.0.0
|
106
108
|
62a146d9d56852b2ad14ec5d2796cad158d66e1c refs/tags/v2.1.0
|
107
109
|
9de04e628082f4ad0eb9511311479a089d302008 refs/tags/v2.2.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
cf3b15b82cb0c4229609c07c870c6cb4fd38ef75
|
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -29,6 +29,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
29
29
|
optional :aks_service_account, :message, 807, "v1.AKSServiceAccount"
|
30
30
|
optional :aks_service_account_user_impersonation, :message, 810, "v1.AKSServiceAccountUserImpersonation"
|
31
31
|
optional :aks_user_impersonation, :message, 814, "v1.AKSUserImpersonation"
|
32
|
+
optional :amqp, :message, 2502, "v1.AMQP"
|
32
33
|
optional :aws, :message, 2300, "v1.AWS"
|
33
34
|
optional :aws_console, :message, 3000, "v1.AWSConsole"
|
34
35
|
optional :aws_console_static_key_pair, :message, 3001, "v1.AWSConsoleStaticKeyPair"
|
@@ -51,6 +52,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
51
52
|
optional :azure_certificate, :message, 2801, "v1.AzureCertificate"
|
52
53
|
optional :azure_console, :message, 2803, "v1.AzureConsole"
|
53
54
|
optional :azure_mysql, :message, 1107, "v1.AzureMysql"
|
55
|
+
optional :azure_mysql_managed_identity, :message, 1110, "v1.AzureMysqlManagedIdentity"
|
54
56
|
optional :azure_postgres, :message, 1307, "v1.AzurePostgres"
|
55
57
|
optional :azure_postgres_managed_identity, :message, 1308, "v1.AzurePostgresManagedIdentity"
|
56
58
|
optional :big_query, :message, 200, "v1.BigQuery"
|
@@ -228,6 +230,23 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
228
230
|
optional :port, :int32, 2
|
229
231
|
optional :port_override, :int32, 10
|
230
232
|
end
|
233
|
+
add_message "v1.AMQP" do
|
234
|
+
optional :id, :string, 32768
|
235
|
+
optional :name, :string, 32769
|
236
|
+
optional :healthy, :bool, 32770
|
237
|
+
optional :tags, :message, 32771, "v1.Tags"
|
238
|
+
optional :secret_store_id, :string, 32772
|
239
|
+
optional :egress_filter, :string, 32773
|
240
|
+
optional :bind_interface, :string, 32774
|
241
|
+
optional :proxy_cluster_id, :string, 32776
|
242
|
+
optional :subdomain, :string, 32775
|
243
|
+
optional :hostname, :string, 1
|
244
|
+
optional :password, :string, 5
|
245
|
+
optional :port, :int32, 3
|
246
|
+
optional :port_override, :int32, 2
|
247
|
+
optional :tls_required, :bool, 8
|
248
|
+
optional :username, :string, 4
|
249
|
+
end
|
231
250
|
add_message "v1.AWS" do
|
232
251
|
optional :id, :string, 32768
|
233
252
|
optional :name, :string, 32769
|
@@ -632,6 +651,24 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
632
651
|
optional :use_azure_single_server_usernames, :bool, 9
|
633
652
|
optional :username, :string, 2
|
634
653
|
end
|
654
|
+
add_message "v1.AzureMysqlManagedIdentity" do
|
655
|
+
optional :id, :string, 32768
|
656
|
+
optional :name, :string, 32769
|
657
|
+
optional :healthy, :bool, 32770
|
658
|
+
optional :tags, :message, 32771, "v1.Tags"
|
659
|
+
optional :secret_store_id, :string, 32772
|
660
|
+
optional :egress_filter, :string, 32773
|
661
|
+
optional :bind_interface, :string, 32774
|
662
|
+
optional :proxy_cluster_id, :string, 32776
|
663
|
+
optional :subdomain, :string, 32775
|
664
|
+
optional :database, :string, 4
|
665
|
+
optional :hostname, :string, 1
|
666
|
+
optional :password, :string, 3
|
667
|
+
optional :port, :int32, 6
|
668
|
+
optional :port_override, :int32, 5
|
669
|
+
optional :use_azure_single_server_usernames, :bool, 8
|
670
|
+
optional :username, :string, 2
|
671
|
+
end
|
635
672
|
add_message "v1.AzurePostgres" do
|
636
673
|
optional :id, :string, 32768
|
637
674
|
optional :name, :string, 32769
|
@@ -2071,6 +2108,7 @@ module V1
|
|
2071
2108
|
AKSServiceAccount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AKSServiceAccount").msgclass
|
2072
2109
|
AKSServiceAccountUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AKSServiceAccountUserImpersonation").msgclass
|
2073
2110
|
AKSUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AKSUserImpersonation").msgclass
|
2111
|
+
AMQP = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AMQP").msgclass
|
2074
2112
|
AWS = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWS").msgclass
|
2075
2113
|
AWSConsole = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSConsole").msgclass
|
2076
2114
|
AWSConsoleStaticKeyPair = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSConsoleStaticKeyPair").msgclass
|
@@ -2093,6 +2131,7 @@ module V1
|
|
2093
2131
|
AzureCertificate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzureCertificate").msgclass
|
2094
2132
|
AzureConsole = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzureConsole").msgclass
|
2095
2133
|
AzureMysql = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzureMysql").msgclass
|
2134
|
+
AzureMysqlManagedIdentity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzureMysqlManagedIdentity").msgclass
|
2096
2135
|
AzurePostgres = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzurePostgres").msgclass
|
2097
2136
|
AzurePostgresManagedIdentity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzurePostgresManagedIdentity").msgclass
|
2098
2137
|
BigQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.BigQuery").msgclass
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -42,6 +42,7 @@ require_relative "./approval_workflow_steps_history_pb"
|
|
42
42
|
require_relative "./approval_workflows_pb"
|
43
43
|
require_relative "./approval_workflows_history_pb"
|
44
44
|
require_relative "./control_panel_pb"
|
45
|
+
require_relative "./roles_pb"
|
45
46
|
require_relative "./health_checks_pb"
|
46
47
|
require_relative "./identity_aliases_pb"
|
47
48
|
require_relative "./identity_aliases_history_pb"
|
@@ -68,7 +69,6 @@ require_relative "./resources_pb"
|
|
68
69
|
require_relative "./resources_history_pb"
|
69
70
|
require_relative "./role_resources_pb"
|
70
71
|
require_relative "./role_resources_history_pb"
|
71
|
-
require_relative "./roles_pb"
|
72
72
|
require_relative "./roles_history_pb"
|
73
73
|
require_relative "./secret_engine_policy_pb"
|
74
74
|
require_relative "./secret_engine_types_pb"
|
@@ -159,6 +159,31 @@ module SDM
|
|
159
159
|
tags
|
160
160
|
end
|
161
161
|
|
162
|
+
def self.convert_log_category_config_map_to_porcelain(cfg_map)
|
163
|
+
if cfg_map == nil
|
164
|
+
return nil
|
165
|
+
end
|
166
|
+
res = {}
|
167
|
+
cfg_map.entries.each do |entry|
|
168
|
+
res[entry.name] = convert_log_category_config_to_porcelain(entry.config)
|
169
|
+
end
|
170
|
+
res
|
171
|
+
end
|
172
|
+
|
173
|
+
def self.convert_log_category_config_map_to_plumbing(cfg_map)
|
174
|
+
if cfg_map == nil
|
175
|
+
return nil
|
176
|
+
end
|
177
|
+
res = V1::LogCategoryConfigMap.new
|
178
|
+
cfg_map.each do |name, config|
|
179
|
+
entry = V1::LogCategoryConfigMap::Entry.new
|
180
|
+
entry.name = name
|
181
|
+
entry.config = convert_log_category_config_to_plumbing(config)
|
182
|
+
res.entries << entry
|
183
|
+
end
|
184
|
+
res
|
185
|
+
end
|
186
|
+
|
162
187
|
def self.convert_access_rules_to_porcelain(access_rules_json)
|
163
188
|
if access_rules_json == nil
|
164
189
|
return nil
|
@@ -522,6 +547,68 @@ module SDM
|
|
522
547
|
end
|
523
548
|
items
|
524
549
|
end
|
550
|
+
def self.convert_amqp_to_porcelain(plumbing)
|
551
|
+
if plumbing == nil
|
552
|
+
return nil
|
553
|
+
end
|
554
|
+
porcelain = AMQP.new()
|
555
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
556
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
557
|
+
porcelain.healthy = (plumbing.healthy)
|
558
|
+
porcelain.hostname = (plumbing.hostname)
|
559
|
+
porcelain.id = (plumbing.id)
|
560
|
+
porcelain.name = (plumbing.name)
|
561
|
+
porcelain.password = (plumbing.password)
|
562
|
+
porcelain.port = (plumbing.port)
|
563
|
+
porcelain.port_override = (plumbing.port_override)
|
564
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
565
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
566
|
+
porcelain.subdomain = (plumbing.subdomain)
|
567
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
568
|
+
porcelain.tls_required = (plumbing.tls_required)
|
569
|
+
porcelain.username = (plumbing.username)
|
570
|
+
porcelain
|
571
|
+
end
|
572
|
+
|
573
|
+
def self.convert_amqp_to_plumbing(porcelain)
|
574
|
+
if porcelain == nil
|
575
|
+
return nil
|
576
|
+
end
|
577
|
+
plumbing = V1::AMQP.new()
|
578
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
579
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
580
|
+
plumbing.healthy = (porcelain.healthy)
|
581
|
+
plumbing.hostname = (porcelain.hostname)
|
582
|
+
plumbing.id = (porcelain.id)
|
583
|
+
plumbing.name = (porcelain.name)
|
584
|
+
plumbing.password = (porcelain.password)
|
585
|
+
plumbing.port = (porcelain.port)
|
586
|
+
plumbing.port_override = (porcelain.port_override)
|
587
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
588
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
589
|
+
plumbing.subdomain = (porcelain.subdomain)
|
590
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
591
|
+
plumbing.tls_required = (porcelain.tls_required)
|
592
|
+
plumbing.username = (porcelain.username)
|
593
|
+
plumbing
|
594
|
+
end
|
595
|
+
def self.convert_repeated_amqp_to_plumbing(porcelains)
|
596
|
+
items = Array.new
|
597
|
+
porcelains.each do |porcelain|
|
598
|
+
plumbing = convert_amqp_to_plumbing(porcelain)
|
599
|
+
items.append(plumbing)
|
600
|
+
end
|
601
|
+
items
|
602
|
+
end
|
603
|
+
|
604
|
+
def self.convert_repeated_amqp_to_porcelain(plumbings)
|
605
|
+
items = Array.new
|
606
|
+
plumbings.each do |plumbing|
|
607
|
+
porcelain = convert_amqp_to_porcelain(plumbing)
|
608
|
+
items.append(porcelain)
|
609
|
+
end
|
610
|
+
items
|
611
|
+
end
|
525
612
|
def self.convert_aws_to_porcelain(plumbing)
|
526
613
|
if plumbing == nil
|
527
614
|
return nil
|
@@ -4159,6 +4246,70 @@ module SDM
|
|
4159
4246
|
end
|
4160
4247
|
items
|
4161
4248
|
end
|
4249
|
+
def self.convert_azure_mysql_managed_identity_to_porcelain(plumbing)
|
4250
|
+
if plumbing == nil
|
4251
|
+
return nil
|
4252
|
+
end
|
4253
|
+
porcelain = AzureMysqlManagedIdentity.new()
|
4254
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
4255
|
+
porcelain.database = (plumbing.database)
|
4256
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
4257
|
+
porcelain.healthy = (plumbing.healthy)
|
4258
|
+
porcelain.hostname = (plumbing.hostname)
|
4259
|
+
porcelain.id = (plumbing.id)
|
4260
|
+
porcelain.name = (plumbing.name)
|
4261
|
+
porcelain.password = (plumbing.password)
|
4262
|
+
porcelain.port = (plumbing.port)
|
4263
|
+
porcelain.port_override = (plumbing.port_override)
|
4264
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
4265
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
4266
|
+
porcelain.subdomain = (plumbing.subdomain)
|
4267
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
4268
|
+
porcelain.use_azure_single_server_usernames = (plumbing.use_azure_single_server_usernames)
|
4269
|
+
porcelain.username = (plumbing.username)
|
4270
|
+
porcelain
|
4271
|
+
end
|
4272
|
+
|
4273
|
+
def self.convert_azure_mysql_managed_identity_to_plumbing(porcelain)
|
4274
|
+
if porcelain == nil
|
4275
|
+
return nil
|
4276
|
+
end
|
4277
|
+
plumbing = V1::AzureMysqlManagedIdentity.new()
|
4278
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
4279
|
+
plumbing.database = (porcelain.database)
|
4280
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
4281
|
+
plumbing.healthy = (porcelain.healthy)
|
4282
|
+
plumbing.hostname = (porcelain.hostname)
|
4283
|
+
plumbing.id = (porcelain.id)
|
4284
|
+
plumbing.name = (porcelain.name)
|
4285
|
+
plumbing.password = (porcelain.password)
|
4286
|
+
plumbing.port = (porcelain.port)
|
4287
|
+
plumbing.port_override = (porcelain.port_override)
|
4288
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
4289
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
4290
|
+
plumbing.subdomain = (porcelain.subdomain)
|
4291
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
4292
|
+
plumbing.use_azure_single_server_usernames = (porcelain.use_azure_single_server_usernames)
|
4293
|
+
plumbing.username = (porcelain.username)
|
4294
|
+
plumbing
|
4295
|
+
end
|
4296
|
+
def self.convert_repeated_azure_mysql_managed_identity_to_plumbing(porcelains)
|
4297
|
+
items = Array.new
|
4298
|
+
porcelains.each do |porcelain|
|
4299
|
+
plumbing = convert_azure_mysql_managed_identity_to_plumbing(porcelain)
|
4300
|
+
items.append(plumbing)
|
4301
|
+
end
|
4302
|
+
items
|
4303
|
+
end
|
4304
|
+
|
4305
|
+
def self.convert_repeated_azure_mysql_managed_identity_to_porcelain(plumbings)
|
4306
|
+
items = Array.new
|
4307
|
+
plumbings.each do |plumbing|
|
4308
|
+
porcelain = convert_azure_mysql_managed_identity_to_porcelain(plumbing)
|
4309
|
+
items.append(porcelain)
|
4310
|
+
end
|
4311
|
+
items
|
4312
|
+
end
|
4162
4313
|
def self.convert_azure_postgres_to_porcelain(plumbing)
|
4163
4314
|
if plumbing == nil
|
4164
4315
|
return nil
|
@@ -8011,6 +8162,88 @@ module SDM
|
|
8011
8162
|
end
|
8012
8163
|
items
|
8013
8164
|
end
|
8165
|
+
def self.convert_log_category_config_to_porcelain(plumbing)
|
8166
|
+
if plumbing == nil
|
8167
|
+
return nil
|
8168
|
+
end
|
8169
|
+
porcelain = LogCategoryConfig.new()
|
8170
|
+
porcelain.remote_discard_replays = (plumbing.remote_discard_replays)
|
8171
|
+
porcelain.remote_encoder = (plumbing.remote_encoder)
|
8172
|
+
porcelain
|
8173
|
+
end
|
8174
|
+
|
8175
|
+
def self.convert_log_category_config_to_plumbing(porcelain)
|
8176
|
+
if porcelain == nil
|
8177
|
+
return nil
|
8178
|
+
end
|
8179
|
+
plumbing = V1::LogCategoryConfig.new()
|
8180
|
+
plumbing.remote_discard_replays = (porcelain.remote_discard_replays)
|
8181
|
+
plumbing.remote_encoder = (porcelain.remote_encoder)
|
8182
|
+
plumbing
|
8183
|
+
end
|
8184
|
+
def self.convert_repeated_log_category_config_to_plumbing(porcelains)
|
8185
|
+
items = Array.new
|
8186
|
+
porcelains.each do |porcelain|
|
8187
|
+
plumbing = convert_log_category_config_to_plumbing(porcelain)
|
8188
|
+
items.append(plumbing)
|
8189
|
+
end
|
8190
|
+
items
|
8191
|
+
end
|
8192
|
+
|
8193
|
+
def self.convert_repeated_log_category_config_to_porcelain(plumbings)
|
8194
|
+
items = Array.new
|
8195
|
+
plumbings.each do |plumbing|
|
8196
|
+
porcelain = convert_log_category_config_to_porcelain(plumbing)
|
8197
|
+
items.append(porcelain)
|
8198
|
+
end
|
8199
|
+
items
|
8200
|
+
end
|
8201
|
+
def self.convert_log_config_to_porcelain(plumbing)
|
8202
|
+
if plumbing == nil
|
8203
|
+
return nil
|
8204
|
+
end
|
8205
|
+
porcelain = LogConfig.new()
|
8206
|
+
porcelain.categories = convert_log_category_config_map_to_porcelain(plumbing.categories)
|
8207
|
+
porcelain.local_encoder = (plumbing.local_encoder)
|
8208
|
+
porcelain.local_format = (plumbing.local_format)
|
8209
|
+
porcelain.local_socket_path = (plumbing.local_socket_path)
|
8210
|
+
porcelain.local_storage = (plumbing.local_storage)
|
8211
|
+
porcelain.local_tcp_address = (plumbing.local_tcp_address)
|
8212
|
+
porcelain.public_key = (plumbing.public_key)
|
8213
|
+
porcelain
|
8214
|
+
end
|
8215
|
+
|
8216
|
+
def self.convert_log_config_to_plumbing(porcelain)
|
8217
|
+
if porcelain == nil
|
8218
|
+
return nil
|
8219
|
+
end
|
8220
|
+
plumbing = V1::LogConfig.new()
|
8221
|
+
plumbing.categories = convert_log_category_config_map_to_plumbing(porcelain.categories)
|
8222
|
+
plumbing.local_encoder = (porcelain.local_encoder)
|
8223
|
+
plumbing.local_format = (porcelain.local_format)
|
8224
|
+
plumbing.local_socket_path = (porcelain.local_socket_path)
|
8225
|
+
plumbing.local_storage = (porcelain.local_storage)
|
8226
|
+
plumbing.local_tcp_address = (porcelain.local_tcp_address)
|
8227
|
+
plumbing.public_key = (porcelain.public_key)
|
8228
|
+
plumbing
|
8229
|
+
end
|
8230
|
+
def self.convert_repeated_log_config_to_plumbing(porcelains)
|
8231
|
+
items = Array.new
|
8232
|
+
porcelains.each do |porcelain|
|
8233
|
+
plumbing = convert_log_config_to_plumbing(porcelain)
|
8234
|
+
items.append(plumbing)
|
8235
|
+
end
|
8236
|
+
items
|
8237
|
+
end
|
8238
|
+
|
8239
|
+
def self.convert_repeated_log_config_to_porcelain(plumbings)
|
8240
|
+
items = Array.new
|
8241
|
+
plumbings.each do |plumbing|
|
8242
|
+
porcelain = convert_log_config_to_porcelain(plumbing)
|
8243
|
+
items.append(porcelain)
|
8244
|
+
end
|
8245
|
+
items
|
8246
|
+
end
|
8014
8247
|
def self.convert_mtls_mysql_to_porcelain(plumbing)
|
8015
8248
|
if plumbing == nil
|
8016
8249
|
return nil
|
@@ -10124,6 +10357,7 @@ module SDM
|
|
10124
10357
|
porcelain.idle_timeout = convert_duration_to_porcelain(plumbing.idle_timeout)
|
10125
10358
|
porcelain.idle_timeout_enabled = (plumbing.idle_timeout_enabled)
|
10126
10359
|
porcelain.kind = (plumbing.kind)
|
10360
|
+
porcelain.log_config = convert_log_config_to_porcelain(plumbing.log_config)
|
10127
10361
|
porcelain.log_local_encoder = (plumbing.log_local_encoder)
|
10128
10362
|
porcelain.log_local_format = (plumbing.log_local_format)
|
10129
10363
|
porcelain.log_local_storage = (plumbing.log_local_storage)
|
@@ -10162,6 +10396,7 @@ module SDM
|
|
10162
10396
|
plumbing.idle_timeout = convert_duration_to_plumbing(porcelain.idle_timeout)
|
10163
10397
|
plumbing.idle_timeout_enabled = (porcelain.idle_timeout_enabled)
|
10164
10398
|
plumbing.kind = (porcelain.kind)
|
10399
|
+
plumbing.log_config = convert_log_config_to_plumbing(porcelain.log_config)
|
10165
10400
|
plumbing.log_local_encoder = (porcelain.log_local_encoder)
|
10166
10401
|
plumbing.log_local_format = (porcelain.log_local_format)
|
10167
10402
|
plumbing.log_local_storage = (porcelain.log_local_storage)
|
@@ -12804,6 +13039,9 @@ module SDM
|
|
12804
13039
|
if porcelain.instance_of? AmazonMQAMQP091
|
12805
13040
|
plumbing.amazon_mqamqp_091 = convert_amazon_mqamqp_091_to_plumbing(porcelain)
|
12806
13041
|
end
|
13042
|
+
if porcelain.instance_of? AMQP
|
13043
|
+
plumbing.amqp = convert_amqp_to_plumbing(porcelain)
|
13044
|
+
end
|
12807
13045
|
if porcelain.instance_of? Athena
|
12808
13046
|
plumbing.athena = convert_athena_to_plumbing(porcelain)
|
12809
13047
|
end
|
@@ -12846,6 +13084,9 @@ module SDM
|
|
12846
13084
|
if porcelain.instance_of? AzureMysql
|
12847
13085
|
plumbing.azure_mysql = convert_azure_mysql_to_plumbing(porcelain)
|
12848
13086
|
end
|
13087
|
+
if porcelain.instance_of? AzureMysqlManagedIdentity
|
13088
|
+
plumbing.azure_mysql_managed_identity = convert_azure_mysql_managed_identity_to_plumbing(porcelain)
|
13089
|
+
end
|
12849
13090
|
if porcelain.instance_of? AzurePostgres
|
12850
13091
|
plumbing.azure_postgres = convert_azure_postgres_to_plumbing(porcelain)
|
12851
13092
|
end
|
@@ -13132,6 +13373,9 @@ module SDM
|
|
13132
13373
|
if plumbing.amazon_mqamqp_091 != nil
|
13133
13374
|
return convert_amazon_mqamqp_091_to_porcelain(plumbing.amazon_mqamqp_091)
|
13134
13375
|
end
|
13376
|
+
if plumbing.amqp != nil
|
13377
|
+
return convert_amqp_to_porcelain(plumbing.amqp)
|
13378
|
+
end
|
13135
13379
|
if plumbing.athena != nil
|
13136
13380
|
return convert_athena_to_porcelain(plumbing.athena)
|
13137
13381
|
end
|
@@ -13174,6 +13418,9 @@ module SDM
|
|
13174
13418
|
if plumbing.azure_mysql != nil
|
13175
13419
|
return convert_azure_mysql_to_porcelain(plumbing.azure_mysql)
|
13176
13420
|
end
|
13421
|
+
if plumbing.azure_mysql_managed_identity != nil
|
13422
|
+
return convert_azure_mysql_managed_identity_to_porcelain(plumbing.azure_mysql_managed_identity)
|
13423
|
+
end
|
13177
13424
|
if plumbing.azure_postgres != nil
|
13178
13425
|
return convert_azure_postgres_to_porcelain(plumbing.azure_postgres)
|
13179
13426
|
end
|