strongdm 3.15.0 → 3.17.0
Sign up to get free protection for your applications and to get access to all the features.
- 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-f6e5d86cdaed2ee289cb0ee65c1f3fc483d1465c.idx → pack-b80c1f83bad67d2b8f6fb7851c83c3e84eba1c78.idx} +0 -0
- data/.git/objects/pack/{pack-f6e5d86cdaed2ee289cb0ee65c1f3fc483d1465c.pack → pack-b80c1f83bad67d2b8f6fb7851c83c3e84eba1c78.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/drivers_pb.rb +54 -0
- data/lib/grpc/nodes_pb.rb +4 -0
- data/lib/grpc/plumbing.rb +172 -0
- data/lib/models/porcelain.rb +848 -596
- data/lib/strongdm.rb +1 -1
- data/lib/svc.rb +2 -0
- 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: bcea442e418441187889bca117103ea9daced9202213d29d11feb42c15d63543
|
4
|
+
data.tar.gz: c6df2509fd9ae5a331718d567e74fcc6941bb2ab4bad0fb6d06d9427fbbe4ce7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 736a52ce3820c31d5deab9f154090678a18a4510f56085dd233fb86c66304dfd6d2301a1a7ffaaa91d7d428c665fea3157b8e6496ab81650aca5aab7afac8d49
|
7
|
+
data.tar.gz: 1bf65c2b79a0ce272af65e8acebe3ed2f7b5a99b2651fb0bb3291969b5e9e1084140ffad279126a0671c6e8ed0aa17b2c46eacd32dbe9d5b87fc17969882b4e6
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
a469b2d58875fd54ce9a67154bd8feaa73588449
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 a469b2d58875fd54ce9a67154bd8feaa73588449 root <root@6a504afbc509.(none)> 1687543591 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
a469b2d58875fd54ce9a67154bd8feaa73588449 a469b2d58875fd54ce9a67154bd8feaa73588449 root <root@6a504afbc509.(none)> 1687543591 +0000 checkout: moving from master to master
|
3
|
+
a469b2d58875fd54ce9a67154bd8feaa73588449 7e8c95f92b7ab35d93eec71a3e6b378bbe4e8d36 root <root@6a504afbc509.(none)> 1687543591 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 a469b2d58875fd54ce9a67154bd8feaa73588449 root <root@6a504afbc509.(none)> 1687543591 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
a469b2d58875fd54ce9a67154bd8feaa73588449 7e8c95f92b7ab35d93eec71a3e6b378bbe4e8d36 root <root@6a504afbc509.(none)> 1687543591 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 a469b2d58875fd54ce9a67154bd8feaa73588449 root <root@6a504afbc509.(none)> 1687543591 +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
|
+
7e8c95f92b7ab35d93eec71a3e6b378bbe4e8d36 refs/remotes/origin/development
|
3
|
+
a469b2d58875fd54ce9a67154bd8feaa73588449 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
|
@@ -48,6 +48,8 @@ f880c51210aa33186d71d9b463ddbd587ef3e4fd refs/tags/v3.12.0
|
|
48
48
|
9010771bf3315cb08f6421f7fd8290741d029f79 refs/tags/v3.13.0
|
49
49
|
8192d0d63f6b0357b343ee32a9e436bcaad28ebe refs/tags/v3.14.0
|
50
50
|
6cd69f8e98657b0aa1c55786add9519085361ef2 refs/tags/v3.14.2
|
51
|
+
6e8ee132772d2663157a4263aa15ddffeac7486f refs/tags/v3.15.0
|
52
|
+
a469b2d58875fd54ce9a67154bd8feaa73588449 refs/tags/v3.16.0
|
51
53
|
40d185ce8d4f4375411706886f6fbbaa5493bef6 refs/tags/v3.2.0
|
52
54
|
dd6a8a74ad5675831f42e3a820208e96f7361f80 refs/tags/v3.2.1
|
53
55
|
09ee1a3be370a7b5e21709a7857d0f189f23da8b refs/tags/v3.2.2
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
7e8c95f92b7ab35d93eec71a3e6b378bbe4e8d36
|
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -44,6 +44,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
44
44
|
optional :azure_certificate, :message, 2801, "v1.AzureCertificate"
|
45
45
|
optional :azure_mysql, :message, 1107, "v1.AzureMysql"
|
46
46
|
optional :azure_postgres, :message, 1307, "v1.AzurePostgres"
|
47
|
+
optional :azure_postgres_flexible, :message, 1308, "v1.AzurePostgresFlexible"
|
48
|
+
optional :azure_postgres_single, :message, 1309, "v1.AzurePostgresSingle"
|
47
49
|
optional :big_query, :message, 200, "v1.BigQuery"
|
48
50
|
optional :cassandra, :message, 300, "v1.Cassandra"
|
49
51
|
optional :citus, :message, 1305, "v1.Citus"
|
@@ -388,6 +390,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
388
390
|
optional :password, :string, 3
|
389
391
|
optional :port, :int32, 6
|
390
392
|
optional :port_override, :int32, 5
|
393
|
+
optional :require_native_auth, :bool, 7
|
394
|
+
optional :use_azure_single_server_usernames, :bool, 10
|
391
395
|
optional :username, :string, 2
|
392
396
|
end
|
393
397
|
add_message "v1.AuroraPostgres" do
|
@@ -449,6 +453,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
449
453
|
optional :password, :string, 3
|
450
454
|
optional :port, :int32, 6
|
451
455
|
optional :port_override, :int32, 5
|
456
|
+
optional :require_native_auth, :bool, 7
|
457
|
+
optional :use_azure_single_server_usernames, :bool, 9
|
452
458
|
optional :username, :string, 2
|
453
459
|
end
|
454
460
|
add_message "v1.AzurePostgres" do
|
@@ -468,6 +474,40 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
468
474
|
optional :port_override, :int32, 5
|
469
475
|
optional :username, :string, 2
|
470
476
|
end
|
477
|
+
add_message "v1.AzurePostgresFlexible" do
|
478
|
+
optional :id, :string, 32768
|
479
|
+
optional :name, :string, 32769
|
480
|
+
optional :healthy, :bool, 32770
|
481
|
+
optional :tags, :message, 32771, "v1.Tags"
|
482
|
+
optional :secret_store_id, :string, 32772
|
483
|
+
optional :egress_filter, :string, 32773
|
484
|
+
optional :bind_interface, :string, 32774
|
485
|
+
optional :subdomain, :string, 32775
|
486
|
+
optional :database, :string, 4
|
487
|
+
optional :hostname, :string, 1
|
488
|
+
optional :override_database, :bool, 7
|
489
|
+
optional :password, :string, 3
|
490
|
+
optional :port, :int32, 6
|
491
|
+
optional :port_override, :int32, 5
|
492
|
+
optional :username, :string, 2
|
493
|
+
end
|
494
|
+
add_message "v1.AzurePostgresSingle" do
|
495
|
+
optional :id, :string, 32768
|
496
|
+
optional :name, :string, 32769
|
497
|
+
optional :healthy, :bool, 32770
|
498
|
+
optional :tags, :message, 32771, "v1.Tags"
|
499
|
+
optional :secret_store_id, :string, 32772
|
500
|
+
optional :egress_filter, :string, 32773
|
501
|
+
optional :bind_interface, :string, 32774
|
502
|
+
optional :subdomain, :string, 32775
|
503
|
+
optional :database, :string, 4
|
504
|
+
optional :hostname, :string, 1
|
505
|
+
optional :override_database, :bool, 7
|
506
|
+
optional :password, :string, 3
|
507
|
+
optional :port, :int32, 6
|
508
|
+
optional :port_override, :int32, 5
|
509
|
+
optional :username, :string, 2
|
510
|
+
end
|
471
511
|
add_message "v1.BigQuery" do
|
472
512
|
optional :id, :string, 32768
|
473
513
|
optional :name, :string, 32769
|
@@ -530,6 +570,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
530
570
|
optional :password, :string, 3
|
531
571
|
optional :port, :int32, 6
|
532
572
|
optional :port_override, :int32, 5
|
573
|
+
optional :require_native_auth, :bool, 7
|
574
|
+
optional :use_azure_single_server_usernames, :bool, 9
|
533
575
|
optional :username, :string, 2
|
534
576
|
end
|
535
577
|
add_message "v1.Cockroach" do
|
@@ -887,7 +929,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
887
929
|
optional :password, :string, 3
|
888
930
|
optional :port, :int32, 6
|
889
931
|
optional :port_override, :int32, 5
|
932
|
+
optional :require_native_auth, :bool, 14
|
890
933
|
optional :server_name, :string, 13
|
934
|
+
optional :use_azure_single_server_usernames, :bool, 16
|
891
935
|
optional :username, :string, 2
|
892
936
|
end
|
893
937
|
add_message "v1.MTLSPostgres" do
|
@@ -925,6 +969,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
925
969
|
optional :password, :string, 3
|
926
970
|
optional :port, :int32, 6
|
927
971
|
optional :port_override, :int32, 5
|
972
|
+
optional :require_native_auth, :bool, 7
|
973
|
+
optional :use_azure_single_server_usernames, :bool, 9
|
928
974
|
optional :username, :string, 2
|
929
975
|
end
|
930
976
|
add_message "v1.Memcached" do
|
@@ -954,6 +1000,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
954
1000
|
optional :password, :string, 3
|
955
1001
|
optional :port, :int32, 6
|
956
1002
|
optional :port_override, :int32, 5
|
1003
|
+
optional :require_native_auth, :bool, 7
|
1004
|
+
optional :use_azure_single_server_usernames, :bool, 9
|
957
1005
|
optional :username, :string, 2
|
958
1006
|
end
|
959
1007
|
add_message "v1.MongoHost" do
|
@@ -1059,6 +1107,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
1059
1107
|
optional :password, :string, 3
|
1060
1108
|
optional :port, :int32, 6
|
1061
1109
|
optional :port_override, :int32, 5
|
1110
|
+
optional :require_native_auth, :bool, 7
|
1111
|
+
optional :use_azure_single_server_usernames, :bool, 10
|
1062
1112
|
optional :username, :string, 2
|
1063
1113
|
end
|
1064
1114
|
add_message "v1.Neptune" do
|
@@ -1347,6 +1397,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
1347
1397
|
optional :password, :string, 3
|
1348
1398
|
optional :port, :int32, 6
|
1349
1399
|
optional :port_override, :int32, 5
|
1400
|
+
optional :require_native_auth, :bool, 7
|
1401
|
+
optional :use_azure_single_server_usernames, :bool, 9
|
1350
1402
|
optional :username, :string, 2
|
1351
1403
|
end
|
1352
1404
|
add_message "v1.Snowflake" do
|
@@ -1465,6 +1517,8 @@ module V1
|
|
1465
1517
|
AzureCertificate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzureCertificate").msgclass
|
1466
1518
|
AzureMysql = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzureMysql").msgclass
|
1467
1519
|
AzurePostgres = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzurePostgres").msgclass
|
1520
|
+
AzurePostgresFlexible = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzurePostgresFlexible").msgclass
|
1521
|
+
AzurePostgresSingle = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzurePostgresSingle").msgclass
|
1468
1522
|
BigQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.BigQuery").msgclass
|
1469
1523
|
Cassandra = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Cassandra").msgclass
|
1470
1524
|
Citus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Citus").msgclass
|
data/lib/grpc/nodes_pb.rb
CHANGED
@@ -83,6 +83,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
83
83
|
optional :device, :string, 6
|
84
84
|
optional :location, :string, 7
|
85
85
|
optional :version, :string, 8
|
86
|
+
optional :uuid, :string, 9
|
87
|
+
optional :connects_to, :string, 10
|
86
88
|
end
|
87
89
|
add_message "v1.Gateway" do
|
88
90
|
optional :id, :string, 1
|
@@ -95,6 +97,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
95
97
|
optional :device, :string, 8
|
96
98
|
optional :location, :string, 9
|
97
99
|
optional :version, :string, 10
|
100
|
+
optional :uuid, :string, 11
|
101
|
+
optional :connects_to, :string, 12
|
98
102
|
end
|
99
103
|
end
|
100
104
|
end
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -2071,9 +2071,11 @@ module SDM
|
|
2071
2071
|
porcelain.password = (plumbing.password)
|
2072
2072
|
porcelain.port = (plumbing.port)
|
2073
2073
|
porcelain.port_override = (plumbing.port_override)
|
2074
|
+
porcelain.require_native_auth = (plumbing.require_native_auth)
|
2074
2075
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2075
2076
|
porcelain.subdomain = (plumbing.subdomain)
|
2076
2077
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2078
|
+
porcelain.use_azure_single_server_usernames = (plumbing.use_azure_single_server_usernames)
|
2077
2079
|
porcelain.username = (plumbing.username)
|
2078
2080
|
porcelain
|
2079
2081
|
end
|
@@ -2093,9 +2095,11 @@ module SDM
|
|
2093
2095
|
plumbing.password = (porcelain.password)
|
2094
2096
|
plumbing.port = (porcelain.port)
|
2095
2097
|
plumbing.port_override = (porcelain.port_override)
|
2098
|
+
plumbing.require_native_auth = (porcelain.require_native_auth)
|
2096
2099
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
2097
2100
|
plumbing.subdomain = (porcelain.subdomain)
|
2098
2101
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
2102
|
+
plumbing.use_azure_single_server_usernames = (porcelain.use_azure_single_server_usernames)
|
2099
2103
|
plumbing.username = (porcelain.username)
|
2100
2104
|
plumbing
|
2101
2105
|
end
|
@@ -2305,9 +2309,11 @@ module SDM
|
|
2305
2309
|
porcelain.password = (plumbing.password)
|
2306
2310
|
porcelain.port = (plumbing.port)
|
2307
2311
|
porcelain.port_override = (plumbing.port_override)
|
2312
|
+
porcelain.require_native_auth = (plumbing.require_native_auth)
|
2308
2313
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2309
2314
|
porcelain.subdomain = (plumbing.subdomain)
|
2310
2315
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2316
|
+
porcelain.use_azure_single_server_usernames = (plumbing.use_azure_single_server_usernames)
|
2311
2317
|
porcelain.username = (plumbing.username)
|
2312
2318
|
porcelain
|
2313
2319
|
end
|
@@ -2327,9 +2333,11 @@ module SDM
|
|
2327
2333
|
plumbing.password = (porcelain.password)
|
2328
2334
|
plumbing.port = (porcelain.port)
|
2329
2335
|
plumbing.port_override = (porcelain.port_override)
|
2336
|
+
plumbing.require_native_auth = (porcelain.require_native_auth)
|
2330
2337
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
2331
2338
|
plumbing.subdomain = (porcelain.subdomain)
|
2332
2339
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
2340
|
+
plumbing.use_azure_single_server_usernames = (porcelain.use_azure_single_server_usernames)
|
2333
2341
|
plumbing.username = (porcelain.username)
|
2334
2342
|
plumbing
|
2335
2343
|
end
|
@@ -2412,6 +2420,130 @@ module SDM
|
|
2412
2420
|
end
|
2413
2421
|
items
|
2414
2422
|
end
|
2423
|
+
def self.convert_azure_postgres_flexible_to_porcelain(plumbing)
|
2424
|
+
if plumbing == nil
|
2425
|
+
return nil
|
2426
|
+
end
|
2427
|
+
porcelain = AzurePostgresFlexible.new()
|
2428
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
2429
|
+
porcelain.database = (plumbing.database)
|
2430
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2431
|
+
porcelain.healthy = (plumbing.healthy)
|
2432
|
+
porcelain.hostname = (plumbing.hostname)
|
2433
|
+
porcelain.id = (plumbing.id)
|
2434
|
+
porcelain.name = (plumbing.name)
|
2435
|
+
porcelain.override_database = (plumbing.override_database)
|
2436
|
+
porcelain.password = (plumbing.password)
|
2437
|
+
porcelain.port = (plumbing.port)
|
2438
|
+
porcelain.port_override = (plumbing.port_override)
|
2439
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2440
|
+
porcelain.subdomain = (plumbing.subdomain)
|
2441
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2442
|
+
porcelain.username = (plumbing.username)
|
2443
|
+
porcelain
|
2444
|
+
end
|
2445
|
+
|
2446
|
+
def self.convert_azure_postgres_flexible_to_plumbing(porcelain)
|
2447
|
+
if porcelain == nil
|
2448
|
+
return nil
|
2449
|
+
end
|
2450
|
+
plumbing = V1::AzurePostgresFlexible.new()
|
2451
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
2452
|
+
plumbing.database = (porcelain.database)
|
2453
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
2454
|
+
plumbing.healthy = (porcelain.healthy)
|
2455
|
+
plumbing.hostname = (porcelain.hostname)
|
2456
|
+
plumbing.id = (porcelain.id)
|
2457
|
+
plumbing.name = (porcelain.name)
|
2458
|
+
plumbing.override_database = (porcelain.override_database)
|
2459
|
+
plumbing.password = (porcelain.password)
|
2460
|
+
plumbing.port = (porcelain.port)
|
2461
|
+
plumbing.port_override = (porcelain.port_override)
|
2462
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
2463
|
+
plumbing.subdomain = (porcelain.subdomain)
|
2464
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
2465
|
+
plumbing.username = (porcelain.username)
|
2466
|
+
plumbing
|
2467
|
+
end
|
2468
|
+
def self.convert_repeated_azure_postgres_flexible_to_plumbing(porcelains)
|
2469
|
+
items = Array.new
|
2470
|
+
porcelains.each do |porcelain|
|
2471
|
+
plumbing = convert_azure_postgres_flexible_to_plumbing(porcelain)
|
2472
|
+
items.append(plumbing)
|
2473
|
+
end
|
2474
|
+
items
|
2475
|
+
end
|
2476
|
+
|
2477
|
+
def self.convert_repeated_azure_postgres_flexible_to_porcelain(plumbings)
|
2478
|
+
items = Array.new
|
2479
|
+
plumbings.each do |plumbing|
|
2480
|
+
porcelain = convert_azure_postgres_flexible_to_porcelain(plumbing)
|
2481
|
+
items.append(porcelain)
|
2482
|
+
end
|
2483
|
+
items
|
2484
|
+
end
|
2485
|
+
def self.convert_azure_postgres_single_to_porcelain(plumbing)
|
2486
|
+
if plumbing == nil
|
2487
|
+
return nil
|
2488
|
+
end
|
2489
|
+
porcelain = AzurePostgresSingle.new()
|
2490
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
2491
|
+
porcelain.database = (plumbing.database)
|
2492
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2493
|
+
porcelain.healthy = (plumbing.healthy)
|
2494
|
+
porcelain.hostname = (plumbing.hostname)
|
2495
|
+
porcelain.id = (plumbing.id)
|
2496
|
+
porcelain.name = (plumbing.name)
|
2497
|
+
porcelain.override_database = (plumbing.override_database)
|
2498
|
+
porcelain.password = (plumbing.password)
|
2499
|
+
porcelain.port = (plumbing.port)
|
2500
|
+
porcelain.port_override = (plumbing.port_override)
|
2501
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2502
|
+
porcelain.subdomain = (plumbing.subdomain)
|
2503
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2504
|
+
porcelain.username = (plumbing.username)
|
2505
|
+
porcelain
|
2506
|
+
end
|
2507
|
+
|
2508
|
+
def self.convert_azure_postgres_single_to_plumbing(porcelain)
|
2509
|
+
if porcelain == nil
|
2510
|
+
return nil
|
2511
|
+
end
|
2512
|
+
plumbing = V1::AzurePostgresSingle.new()
|
2513
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
2514
|
+
plumbing.database = (porcelain.database)
|
2515
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
2516
|
+
plumbing.healthy = (porcelain.healthy)
|
2517
|
+
plumbing.hostname = (porcelain.hostname)
|
2518
|
+
plumbing.id = (porcelain.id)
|
2519
|
+
plumbing.name = (porcelain.name)
|
2520
|
+
plumbing.override_database = (porcelain.override_database)
|
2521
|
+
plumbing.password = (porcelain.password)
|
2522
|
+
plumbing.port = (porcelain.port)
|
2523
|
+
plumbing.port_override = (porcelain.port_override)
|
2524
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
2525
|
+
plumbing.subdomain = (porcelain.subdomain)
|
2526
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
2527
|
+
plumbing.username = (porcelain.username)
|
2528
|
+
plumbing
|
2529
|
+
end
|
2530
|
+
def self.convert_repeated_azure_postgres_single_to_plumbing(porcelains)
|
2531
|
+
items = Array.new
|
2532
|
+
porcelains.each do |porcelain|
|
2533
|
+
plumbing = convert_azure_postgres_single_to_plumbing(porcelain)
|
2534
|
+
items.append(plumbing)
|
2535
|
+
end
|
2536
|
+
items
|
2537
|
+
end
|
2538
|
+
|
2539
|
+
def self.convert_repeated_azure_postgres_single_to_porcelain(plumbings)
|
2540
|
+
items = Array.new
|
2541
|
+
plumbings.each do |plumbing|
|
2542
|
+
porcelain = convert_azure_postgres_single_to_porcelain(plumbing)
|
2543
|
+
items.append(porcelain)
|
2544
|
+
end
|
2545
|
+
items
|
2546
|
+
end
|
2415
2547
|
def self.convert_azure_store_to_porcelain(plumbing)
|
2416
2548
|
if plumbing == nil
|
2417
2549
|
return nil
|
@@ -2647,9 +2779,11 @@ module SDM
|
|
2647
2779
|
porcelain.password = (plumbing.password)
|
2648
2780
|
porcelain.port = (plumbing.port)
|
2649
2781
|
porcelain.port_override = (plumbing.port_override)
|
2782
|
+
porcelain.require_native_auth = (plumbing.require_native_auth)
|
2650
2783
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2651
2784
|
porcelain.subdomain = (plumbing.subdomain)
|
2652
2785
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2786
|
+
porcelain.use_azure_single_server_usernames = (plumbing.use_azure_single_server_usernames)
|
2653
2787
|
porcelain.username = (plumbing.username)
|
2654
2788
|
porcelain
|
2655
2789
|
end
|
@@ -2669,9 +2803,11 @@ module SDM
|
|
2669
2803
|
plumbing.password = (porcelain.password)
|
2670
2804
|
plumbing.port = (porcelain.port)
|
2671
2805
|
plumbing.port_override = (porcelain.port_override)
|
2806
|
+
plumbing.require_native_auth = (porcelain.require_native_auth)
|
2672
2807
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
2673
2808
|
plumbing.subdomain = (porcelain.subdomain)
|
2674
2809
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
2810
|
+
plumbing.use_azure_single_server_usernames = (porcelain.use_azure_single_server_usernames)
|
2675
2811
|
plumbing.username = (porcelain.username)
|
2676
2812
|
plumbing
|
2677
2813
|
end
|
@@ -3638,6 +3774,7 @@ module SDM
|
|
3638
3774
|
end
|
3639
3775
|
porcelain = Gateway.new()
|
3640
3776
|
porcelain.bind_address = (plumbing.bind_address)
|
3777
|
+
porcelain.connects_to = (plumbing.connects_to)
|
3641
3778
|
porcelain.device = (plumbing.device)
|
3642
3779
|
porcelain.gateway_filter = (plumbing.gateway_filter)
|
3643
3780
|
porcelain.id = (plumbing.id)
|
@@ -3656,6 +3793,7 @@ module SDM
|
|
3656
3793
|
end
|
3657
3794
|
plumbing = V1::Gateway.new()
|
3658
3795
|
plumbing.bind_address = (porcelain.bind_address)
|
3796
|
+
plumbing.connects_to = (porcelain.connects_to)
|
3659
3797
|
plumbing.device = (porcelain.device)
|
3660
3798
|
plumbing.gateway_filter = (porcelain.gateway_filter)
|
3661
3799
|
plumbing.id = (porcelain.id)
|
@@ -4400,10 +4538,12 @@ module SDM
|
|
4400
4538
|
porcelain.password = (plumbing.password)
|
4401
4539
|
porcelain.port = (plumbing.port)
|
4402
4540
|
porcelain.port_override = (plumbing.port_override)
|
4541
|
+
porcelain.require_native_auth = (plumbing.require_native_auth)
|
4403
4542
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
4404
4543
|
porcelain.server_name = (plumbing.server_name)
|
4405
4544
|
porcelain.subdomain = (plumbing.subdomain)
|
4406
4545
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
4546
|
+
porcelain.use_azure_single_server_usernames = (plumbing.use_azure_single_server_usernames)
|
4407
4547
|
porcelain.username = (plumbing.username)
|
4408
4548
|
porcelain
|
4409
4549
|
end
|
@@ -4426,10 +4566,12 @@ module SDM
|
|
4426
4566
|
plumbing.password = (porcelain.password)
|
4427
4567
|
plumbing.port = (porcelain.port)
|
4428
4568
|
plumbing.port_override = (porcelain.port_override)
|
4569
|
+
plumbing.require_native_auth = (porcelain.require_native_auth)
|
4429
4570
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
4430
4571
|
plumbing.server_name = (porcelain.server_name)
|
4431
4572
|
plumbing.subdomain = (porcelain.subdomain)
|
4432
4573
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
4574
|
+
plumbing.use_azure_single_server_usernames = (porcelain.use_azure_single_server_usernames)
|
4433
4575
|
plumbing.username = (porcelain.username)
|
4434
4576
|
plumbing
|
4435
4577
|
end
|
@@ -4535,9 +4677,11 @@ module SDM
|
|
4535
4677
|
porcelain.password = (plumbing.password)
|
4536
4678
|
porcelain.port = (plumbing.port)
|
4537
4679
|
porcelain.port_override = (plumbing.port_override)
|
4680
|
+
porcelain.require_native_auth = (plumbing.require_native_auth)
|
4538
4681
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
4539
4682
|
porcelain.subdomain = (plumbing.subdomain)
|
4540
4683
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
4684
|
+
porcelain.use_azure_single_server_usernames = (plumbing.use_azure_single_server_usernames)
|
4541
4685
|
porcelain.username = (plumbing.username)
|
4542
4686
|
porcelain
|
4543
4687
|
end
|
@@ -4557,9 +4701,11 @@ module SDM
|
|
4557
4701
|
plumbing.password = (porcelain.password)
|
4558
4702
|
plumbing.port = (porcelain.port)
|
4559
4703
|
plumbing.port_override = (porcelain.port_override)
|
4704
|
+
plumbing.require_native_auth = (porcelain.require_native_auth)
|
4560
4705
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
4561
4706
|
plumbing.subdomain = (porcelain.subdomain)
|
4562
4707
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
4708
|
+
plumbing.use_azure_single_server_usernames = (porcelain.use_azure_single_server_usernames)
|
4563
4709
|
plumbing.username = (porcelain.username)
|
4564
4710
|
plumbing
|
4565
4711
|
end
|
@@ -4649,9 +4795,11 @@ module SDM
|
|
4649
4795
|
porcelain.password = (plumbing.password)
|
4650
4796
|
porcelain.port = (plumbing.port)
|
4651
4797
|
porcelain.port_override = (plumbing.port_override)
|
4798
|
+
porcelain.require_native_auth = (plumbing.require_native_auth)
|
4652
4799
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
4653
4800
|
porcelain.subdomain = (plumbing.subdomain)
|
4654
4801
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
4802
|
+
porcelain.use_azure_single_server_usernames = (plumbing.use_azure_single_server_usernames)
|
4655
4803
|
porcelain.username = (plumbing.username)
|
4656
4804
|
porcelain
|
4657
4805
|
end
|
@@ -4671,9 +4819,11 @@ module SDM
|
|
4671
4819
|
plumbing.password = (porcelain.password)
|
4672
4820
|
plumbing.port = (porcelain.port)
|
4673
4821
|
plumbing.port_override = (porcelain.port_override)
|
4822
|
+
plumbing.require_native_auth = (porcelain.require_native_auth)
|
4674
4823
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
4675
4824
|
plumbing.subdomain = (porcelain.subdomain)
|
4676
4825
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
4826
|
+
plumbing.use_azure_single_server_usernames = (porcelain.use_azure_single_server_usernames)
|
4677
4827
|
plumbing.username = (porcelain.username)
|
4678
4828
|
plumbing
|
4679
4829
|
end
|
@@ -5027,9 +5177,11 @@ module SDM
|
|
5027
5177
|
porcelain.password = (plumbing.password)
|
5028
5178
|
porcelain.port = (plumbing.port)
|
5029
5179
|
porcelain.port_override = (plumbing.port_override)
|
5180
|
+
porcelain.require_native_auth = (plumbing.require_native_auth)
|
5030
5181
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
5031
5182
|
porcelain.subdomain = (plumbing.subdomain)
|
5032
5183
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
5184
|
+
porcelain.use_azure_single_server_usernames = (plumbing.use_azure_single_server_usernames)
|
5033
5185
|
porcelain.username = (plumbing.username)
|
5034
5186
|
porcelain
|
5035
5187
|
end
|
@@ -5049,9 +5201,11 @@ module SDM
|
|
5049
5201
|
plumbing.password = (porcelain.password)
|
5050
5202
|
plumbing.port = (porcelain.port)
|
5051
5203
|
plumbing.port_override = (porcelain.port_override)
|
5204
|
+
plumbing.require_native_auth = (porcelain.require_native_auth)
|
5052
5205
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
5053
5206
|
plumbing.subdomain = (porcelain.subdomain)
|
5054
5207
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
5208
|
+
plumbing.use_azure_single_server_usernames = (porcelain.use_azure_single_server_usernames)
|
5055
5209
|
plumbing.username = (porcelain.username)
|
5056
5210
|
plumbing
|
5057
5211
|
end
|
@@ -6206,6 +6360,7 @@ module SDM
|
|
6206
6360
|
return nil
|
6207
6361
|
end
|
6208
6362
|
porcelain = Relay.new()
|
6363
|
+
porcelain.connects_to = (plumbing.connects_to)
|
6209
6364
|
porcelain.device = (plumbing.device)
|
6210
6365
|
porcelain.gateway_filter = (plumbing.gateway_filter)
|
6211
6366
|
porcelain.id = (plumbing.id)
|
@@ -6222,6 +6377,7 @@ module SDM
|
|
6222
6377
|
return nil
|
6223
6378
|
end
|
6224
6379
|
plumbing = V1::Relay.new()
|
6380
|
+
plumbing.connects_to = (porcelain.connects_to)
|
6225
6381
|
plumbing.device = (porcelain.device)
|
6226
6382
|
plumbing.gateway_filter = (porcelain.gateway_filter)
|
6227
6383
|
plumbing.id = (porcelain.id)
|
@@ -6733,6 +6889,12 @@ module SDM
|
|
6733
6889
|
if porcelain.instance_of? AzurePostgres
|
6734
6890
|
plumbing.azure_postgres = convert_azure_postgres_to_plumbing(porcelain)
|
6735
6891
|
end
|
6892
|
+
if porcelain.instance_of? AzurePostgresFlexible
|
6893
|
+
plumbing.azure_postgres_flexible = convert_azure_postgres_flexible_to_plumbing(porcelain)
|
6894
|
+
end
|
6895
|
+
if porcelain.instance_of? AzurePostgresSingle
|
6896
|
+
plumbing.azure_postgres_single = convert_azure_postgres_single_to_plumbing(porcelain)
|
6897
|
+
end
|
6736
6898
|
if porcelain.instance_of? BigQuery
|
6737
6899
|
plumbing.big_query = convert_big_query_to_plumbing(porcelain)
|
6738
6900
|
end
|
@@ -6980,6 +7142,12 @@ module SDM
|
|
6980
7142
|
if plumbing.azure_postgres != nil
|
6981
7143
|
return convert_azure_postgres_to_porcelain(plumbing.azure_postgres)
|
6982
7144
|
end
|
7145
|
+
if plumbing.azure_postgres_flexible != nil
|
7146
|
+
return convert_azure_postgres_flexible_to_porcelain(plumbing.azure_postgres_flexible)
|
7147
|
+
end
|
7148
|
+
if plumbing.azure_postgres_single != nil
|
7149
|
+
return convert_azure_postgres_single_to_porcelain(plumbing.azure_postgres_single)
|
7150
|
+
end
|
6983
7151
|
if plumbing.big_query != nil
|
6984
7152
|
return convert_big_query_to_porcelain(plumbing.big_query)
|
6985
7153
|
end
|
@@ -8404,9 +8572,11 @@ module SDM
|
|
8404
8572
|
porcelain.password = (plumbing.password)
|
8405
8573
|
porcelain.port = (plumbing.port)
|
8406
8574
|
porcelain.port_override = (plumbing.port_override)
|
8575
|
+
porcelain.require_native_auth = (plumbing.require_native_auth)
|
8407
8576
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
8408
8577
|
porcelain.subdomain = (plumbing.subdomain)
|
8409
8578
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
8579
|
+
porcelain.use_azure_single_server_usernames = (plumbing.use_azure_single_server_usernames)
|
8410
8580
|
porcelain.username = (plumbing.username)
|
8411
8581
|
porcelain
|
8412
8582
|
end
|
@@ -8426,9 +8596,11 @@ module SDM
|
|
8426
8596
|
plumbing.password = (porcelain.password)
|
8427
8597
|
plumbing.port = (porcelain.port)
|
8428
8598
|
plumbing.port_override = (porcelain.port_override)
|
8599
|
+
plumbing.require_native_auth = (porcelain.require_native_auth)
|
8429
8600
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
8430
8601
|
plumbing.subdomain = (porcelain.subdomain)
|
8431
8602
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
8603
|
+
plumbing.use_azure_single_server_usernames = (porcelain.use_azure_single_server_usernames)
|
8432
8604
|
plumbing.username = (porcelain.username)
|
8433
8605
|
plumbing
|
8434
8606
|
end
|