strongdm 3.16.0 → 3.17.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-65e340f050c65a6aaf311892bf375358d0462aa9.idx → pack-b80c1f83bad67d2b8f6fb7851c83c3e84eba1c78.idx} +0 -0
- data/.git/objects/pack/{pack-65e340f050c65a6aaf311892bf375358d0462aa9.pack → pack-b80c1f83bad67d2b8f6fb7851c83c3e84eba1c78.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/drivers_pb.rb +38 -0
- data/lib/grpc/nodes_pb.rb +4 -0
- data/lib/grpc/plumbing.rb +140 -0
- data/lib/models/porcelain.rb +800 -612
- 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
|
@@ -49,6 +49,7 @@ f880c51210aa33186d71d9b463ddbd587ef3e4fd refs/tags/v3.12.0
|
|
49
49
|
8192d0d63f6b0357b343ee32a9e436bcaad28ebe refs/tags/v3.14.0
|
50
50
|
6cd69f8e98657b0aa1c55786add9519085361ef2 refs/tags/v3.14.2
|
51
51
|
6e8ee132772d2663157a4263aa15ddffeac7486f refs/tags/v3.15.0
|
52
|
+
a469b2d58875fd54ce9a67154bd8feaa73588449 refs/tags/v3.16.0
|
52
53
|
40d185ce8d4f4375411706886f6fbbaa5493bef6 refs/tags/v3.2.0
|
53
54
|
dd6a8a74ad5675831f42e3a820208e96f7361f80 refs/tags/v3.2.1
|
54
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"
|
@@ -472,6 +474,40 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
472
474
|
optional :port_override, :int32, 5
|
473
475
|
optional :username, :string, 2
|
474
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
|
475
511
|
add_message "v1.BigQuery" do
|
476
512
|
optional :id, :string, 32768
|
477
513
|
optional :name, :string, 32769
|
@@ -1481,6 +1517,8 @@ module V1
|
|
1481
1517
|
AzureCertificate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzureCertificate").msgclass
|
1482
1518
|
AzureMysql = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzureMysql").msgclass
|
1483
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
|
1484
1522
|
BigQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.BigQuery").msgclass
|
1485
1523
|
Cassandra = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Cassandra").msgclass
|
1486
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
@@ -2420,6 +2420,130 @@ module SDM
|
|
2420
2420
|
end
|
2421
2421
|
items
|
2422
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
|
2423
2547
|
def self.convert_azure_store_to_porcelain(plumbing)
|
2424
2548
|
if plumbing == nil
|
2425
2549
|
return nil
|
@@ -3650,6 +3774,7 @@ module SDM
|
|
3650
3774
|
end
|
3651
3775
|
porcelain = Gateway.new()
|
3652
3776
|
porcelain.bind_address = (plumbing.bind_address)
|
3777
|
+
porcelain.connects_to = (plumbing.connects_to)
|
3653
3778
|
porcelain.device = (plumbing.device)
|
3654
3779
|
porcelain.gateway_filter = (plumbing.gateway_filter)
|
3655
3780
|
porcelain.id = (plumbing.id)
|
@@ -3668,6 +3793,7 @@ module SDM
|
|
3668
3793
|
end
|
3669
3794
|
plumbing = V1::Gateway.new()
|
3670
3795
|
plumbing.bind_address = (porcelain.bind_address)
|
3796
|
+
plumbing.connects_to = (porcelain.connects_to)
|
3671
3797
|
plumbing.device = (porcelain.device)
|
3672
3798
|
plumbing.gateway_filter = (porcelain.gateway_filter)
|
3673
3799
|
plumbing.id = (porcelain.id)
|
@@ -6234,6 +6360,7 @@ module SDM
|
|
6234
6360
|
return nil
|
6235
6361
|
end
|
6236
6362
|
porcelain = Relay.new()
|
6363
|
+
porcelain.connects_to = (plumbing.connects_to)
|
6237
6364
|
porcelain.device = (plumbing.device)
|
6238
6365
|
porcelain.gateway_filter = (plumbing.gateway_filter)
|
6239
6366
|
porcelain.id = (plumbing.id)
|
@@ -6250,6 +6377,7 @@ module SDM
|
|
6250
6377
|
return nil
|
6251
6378
|
end
|
6252
6379
|
plumbing = V1::Relay.new()
|
6380
|
+
plumbing.connects_to = (porcelain.connects_to)
|
6253
6381
|
plumbing.device = (porcelain.device)
|
6254
6382
|
plumbing.gateway_filter = (porcelain.gateway_filter)
|
6255
6383
|
plumbing.id = (porcelain.id)
|
@@ -6761,6 +6889,12 @@ module SDM
|
|
6761
6889
|
if porcelain.instance_of? AzurePostgres
|
6762
6890
|
plumbing.azure_postgres = convert_azure_postgres_to_plumbing(porcelain)
|
6763
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
|
6764
6898
|
if porcelain.instance_of? BigQuery
|
6765
6899
|
plumbing.big_query = convert_big_query_to_plumbing(porcelain)
|
6766
6900
|
end
|
@@ -7008,6 +7142,12 @@ module SDM
|
|
7008
7142
|
if plumbing.azure_postgres != nil
|
7009
7143
|
return convert_azure_postgres_to_porcelain(plumbing.azure_postgres)
|
7010
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
|
7011
7151
|
if plumbing.big_query != nil
|
7012
7152
|
return convert_big_query_to_porcelain(plumbing.big_query)
|
7013
7153
|
end
|