strongdm 1.0.30 → 1.0.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.git/FETCH_HEAD +2 -2
- data/.git/ORIG_HEAD +1 -1
- data/.git/index +0 -0
- data/.git/logs/HEAD +4 -4
- data/.git/logs/refs/heads/development +1 -1
- data/.git/logs/refs/heads/master +2 -2
- data/.git/logs/refs/remotes/origin/HEAD +1 -1
- data/.git/objects/pack/{pack-2a1c5a06b136f3cf06883c00f082bae3158e9ac6.idx → pack-156dc2dc5f58228a26c86e1e423b177043b93423.idx} +0 -0
- data/.git/objects/pack/{pack-2a1c5a06b136f3cf06883c00f082bae3158e9ac6.pack → pack-156dc2dc5f58228a26c86e1e423b177043b93423.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/development +1 -1
- data/.git/refs/heads/master +1 -1
- data/doc/SDM/AzurePostgres.html +367 -0
- data/doc/SDM/BigQuery.html +2 -2
- data/doc/SDM/Cassandra.html +2 -2
- data/doc/SDM/Citus.html +2 -2
- data/doc/SDM/Clustrix.html +2 -2
- data/doc/SDM/Cockroach.html +2 -2
- data/doc/SDM/ControlPanelGetSSHCAPublicKeyResponse.html +2 -2
- data/doc/SDM/ControlPanelVerifyJWTResponse.html +2 -2
- data/doc/SDM/CreateResponseMetadata.html +2 -2
- data/doc/SDM/DB2LUW.html +2 -2
- data/doc/SDM/DB2i.html +2 -2
- data/doc/SDM/DeleteResponseMetadata.html +2 -2
- data/doc/SDM/DocumentDBHost.html +2 -2
- data/doc/SDM/DocumentDBReplicaSet.html +2 -2
- data/doc/SDM/Druid.html +2 -2
- data/doc/SDM/DynamoDB.html +2 -2
- data/doc/SDM/Elastic.html +2 -2
- data/doc/SDM/ElasticacheRedis.html +2 -2
- data/doc/SDM/Gateway.html +2 -2
- data/doc/SDM/GetResponseMetadata.html +2 -2
- data/doc/SDM/GoogleGKE.html +2 -2
- data/doc/SDM/GoogleGKEUserImpersonation.html +2 -2
- data/doc/SDM/Greenplum.html +2 -2
- data/doc/SDM/HTTPAuth.html +2 -2
- data/doc/SDM/HTTPBasicAuth.html +2 -2
- data/doc/SDM/HTTPNoAuth.html +2 -2
- data/doc/SDM/Kubernetes.html +2 -2
- data/doc/SDM/KubernetesBasicAuth.html +2 -2
- data/doc/SDM/KubernetesServiceAccount.html +2 -2
- data/doc/SDM/KubernetesServiceAccountUserImpersonation.html +2 -2
- data/doc/SDM/KubernetesUserImpersonation.html +2 -2
- data/doc/SDM/Maria.html +2 -2
- data/doc/SDM/Memcached.html +2 -2
- data/doc/SDM/Memsql.html +2 -2
- data/doc/SDM/MongoHost.html +2 -2
- data/doc/SDM/MongoLegacyHost.html +2 -2
- data/doc/SDM/MongoLegacyReplicaset.html +2 -2
- data/doc/SDM/MongoReplicaSet.html +2 -2
- data/doc/SDM/Mysql.html +2 -2
- data/doc/SDM/Neptune.html +2 -2
- data/doc/SDM/NeptuneIAM.html +2 -2
- data/doc/SDM/NodeCreateResponse.html +2 -2
- data/doc/SDM/NodeDeleteResponse.html +2 -2
- data/doc/SDM/NodeGetResponse.html +2 -2
- data/doc/SDM/NodeUpdateResponse.html +2 -2
- data/doc/SDM/Oracle.html +2 -2
- data/doc/SDM/Plumbing.html +511 -373
- data/doc/SDM/Postgres.html +2 -2
- data/doc/SDM/Presto.html +2 -2
- data/doc/SDM/RDP.html +2 -2
- data/doc/SDM/RabbitMQAMQP091.html +2 -2
- data/doc/SDM/RateLimitMetadata.html +2 -2
- data/doc/SDM/RawTCP.html +2 -2
- data/doc/SDM/Redis.html +2 -2
- data/doc/SDM/Redshift.html +2 -2
- data/doc/SDM/Relay.html +2 -2
- data/doc/SDM/ResourceCreateResponse.html +2 -2
- data/doc/SDM/ResourceDeleteResponse.html +2 -2
- data/doc/SDM/ResourceGetResponse.html +2 -2
- data/doc/SDM/ResourceUpdateResponse.html +2 -2
- data/doc/SDM/Role.html +2 -2
- data/doc/SDM/RoleAttachment.html +2 -2
- data/doc/SDM/RoleAttachmentCreateResponse.html +2 -2
- data/doc/SDM/RoleAttachmentDeleteResponse.html +2 -2
- data/doc/SDM/RoleAttachmentGetResponse.html +2 -2
- data/doc/SDM/RoleCreateResponse.html +2 -2
- data/doc/SDM/RoleDeleteResponse.html +2 -2
- data/doc/SDM/RoleGetResponse.html +2 -2
- data/doc/SDM/RoleGrant.html +2 -2
- data/doc/SDM/RoleGrantCreateResponse.html +2 -2
- data/doc/SDM/RoleGrantDeleteResponse.html +2 -2
- data/doc/SDM/RoleGrantGetResponse.html +2 -2
- data/doc/SDM/RoleUpdateResponse.html +2 -2
- data/doc/SDM/SQLServer.html +2 -2
- data/doc/SDM/SSH.html +2 -2
- data/doc/SDM/SSHCert.html +2 -2
- data/doc/SDM/SSHCustomerKey.html +2 -2
- data/doc/SDM/SecretStoreCreateResponse.html +2 -2
- data/doc/SDM/SecretStoreDeleteResponse.html +2 -2
- data/doc/SDM/SecretStoreGetResponse.html +2 -2
- data/doc/SDM/SecretStoreUpdateResponse.html +2 -2
- data/doc/SDM/Service.html +2 -2
- data/doc/SDM/SingleStore.html +2 -2
- data/doc/SDM/Snowflake.html +2 -2
- data/doc/SDM/Sybase.html +2 -2
- data/doc/SDM/SybaseIQ.html +2 -2
- data/doc/SDM/Tag.html +2 -2
- data/doc/SDM/Teradata.html +2 -2
- data/doc/SDM/UpdateResponseMetadata.html +2 -2
- data/doc/SDM/User.html +2 -2
- data/doc/SDM/VaultTLSStore.html +2 -2
- data/doc/SDM/VaultTokenStore.html +2 -2
- data/doc/V1.html +2 -0
- data/doc/created.rid +37 -37
- data/doc/index.html +1 -0
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search_index.js +1 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/lib/version.html +1 -1
- data/doc/table_of_contents.html +586 -553
- data/lib/grpc/drivers_pb.rb +17 -0
- data/lib/grpc/plumbing.rb +64 -0
- data/lib/models/porcelain.rb +92 -0
- data/lib/strongdm.rb +1 -1
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +5 -4
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -36,6 +36,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
36
36
|
optional :athena, :message, 100, "v1.Athena"
|
37
37
|
optional :aurora_mysql, :message, 1101, "v1.AuroraMysql"
|
38
38
|
optional :aurora_postgres, :message, 1301, "v1.AuroraPostgres"
|
39
|
+
optional :azure_postgres, :message, 1307, "v1.AzurePostgres"
|
39
40
|
optional :big_query, :message, 200, "v1.BigQuery"
|
40
41
|
optional :cassandra, :message, 300, "v1.Cassandra"
|
41
42
|
optional :citus, :message, 1305, "v1.Citus"
|
@@ -274,6 +275,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
274
275
|
optional :port_override, :int32, 5
|
275
276
|
optional :username, :string, 2
|
276
277
|
end
|
278
|
+
add_message "v1.AzurePostgres" do
|
279
|
+
optional :id, :string, 32768
|
280
|
+
optional :name, :string, 32769
|
281
|
+
optional :healthy, :bool, 32770
|
282
|
+
optional :tags, :message, 32771, "v1.Tags"
|
283
|
+
optional :secret_store_id, :string, 32772
|
284
|
+
optional :egress_filter, :string, 32773
|
285
|
+
optional :database, :string, 4
|
286
|
+
optional :hostname, :string, 1
|
287
|
+
optional :override_database, :bool, 7
|
288
|
+
optional :password, :string, 3
|
289
|
+
optional :port, :int32, 6
|
290
|
+
optional :port_override, :int32, 5
|
291
|
+
optional :username, :string, 2
|
292
|
+
end
|
277
293
|
add_message "v1.BigQuery" do
|
278
294
|
optional :id, :string, 32768
|
279
295
|
optional :name, :string, 32769
|
@@ -1000,6 +1016,7 @@ module V1
|
|
1000
1016
|
Athena = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Athena").msgclass
|
1001
1017
|
AuroraMysql = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuroraMysql").msgclass
|
1002
1018
|
AuroraPostgres = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuroraPostgres").msgclass
|
1019
|
+
AzurePostgres = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzurePostgres").msgclass
|
1003
1020
|
BigQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.BigQuery").msgclass
|
1004
1021
|
Cassandra = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Cassandra").msgclass
|
1005
1022
|
Citus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Citus").msgclass
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -1365,6 +1365,64 @@ module SDM
|
|
1365
1365
|
end
|
1366
1366
|
items
|
1367
1367
|
end
|
1368
|
+
def self.convert_azure_postgres_to_porcelain(plumbing)
|
1369
|
+
if plumbing == nil
|
1370
|
+
return nil
|
1371
|
+
end
|
1372
|
+
porcelain = AzurePostgres.new()
|
1373
|
+
porcelain.database = (plumbing.database)
|
1374
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
1375
|
+
porcelain.healthy = (plumbing.healthy)
|
1376
|
+
porcelain.hostname = (plumbing.hostname)
|
1377
|
+
porcelain.id = (plumbing.id)
|
1378
|
+
porcelain.name = (plumbing.name)
|
1379
|
+
porcelain.override_database = (plumbing.override_database)
|
1380
|
+
porcelain.password = (plumbing.password)
|
1381
|
+
porcelain.port = (plumbing.port)
|
1382
|
+
porcelain.port_override = (plumbing.port_override)
|
1383
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1384
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1385
|
+
porcelain.username = (plumbing.username)
|
1386
|
+
porcelain
|
1387
|
+
end
|
1388
|
+
|
1389
|
+
def self.convert_azure_postgres_to_plumbing(porcelain)
|
1390
|
+
if porcelain == nil
|
1391
|
+
return nil
|
1392
|
+
end
|
1393
|
+
plumbing = V1::AzurePostgres.new()
|
1394
|
+
plumbing.database = (porcelain.database) unless porcelain.database == nil
|
1395
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
1396
|
+
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1397
|
+
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
1398
|
+
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
1399
|
+
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1400
|
+
plumbing.override_database = (porcelain.override_database) unless porcelain.override_database == nil
|
1401
|
+
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
1402
|
+
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
1403
|
+
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
1404
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1405
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1406
|
+
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
1407
|
+
plumbing
|
1408
|
+
end
|
1409
|
+
def self.convert_repeated_azure_postgres_to_plumbing(porcelains)
|
1410
|
+
items = Array.new
|
1411
|
+
porcelains.each do |porcelain|
|
1412
|
+
plumbing = convert_azure_postgres_to_plumbing(porcelain)
|
1413
|
+
items.append(plumbing)
|
1414
|
+
end
|
1415
|
+
items
|
1416
|
+
end
|
1417
|
+
|
1418
|
+
def self.convert_repeated_azure_postgres_to_porcelain(plumbings)
|
1419
|
+
items = Array.new
|
1420
|
+
plumbings.each do |plumbing|
|
1421
|
+
porcelain = convert_azure_postgres_to_porcelain(plumbing)
|
1422
|
+
items.append(porcelain)
|
1423
|
+
end
|
1424
|
+
items
|
1425
|
+
end
|
1368
1426
|
def self.convert_big_query_to_porcelain(plumbing)
|
1369
1427
|
if plumbing == nil
|
1370
1428
|
return nil
|
@@ -4247,6 +4305,9 @@ module SDM
|
|
4247
4305
|
if porcelain.instance_of? AWS
|
4248
4306
|
plumbing.aws = convert_aws_to_plumbing(porcelain)
|
4249
4307
|
end
|
4308
|
+
if porcelain.instance_of? AzurePostgres
|
4309
|
+
plumbing.azure_postgres = convert_azure_postgres_to_plumbing(porcelain)
|
4310
|
+
end
|
4250
4311
|
if porcelain.instance_of? BigQuery
|
4251
4312
|
plumbing.big_query = convert_big_query_to_plumbing(porcelain)
|
4252
4313
|
end
|
@@ -4446,6 +4507,9 @@ module SDM
|
|
4446
4507
|
if plumbing.aws != nil
|
4447
4508
|
return convert_aws_to_porcelain(plumbing.aws)
|
4448
4509
|
end
|
4510
|
+
if plumbing.azure_postgres != nil
|
4511
|
+
return convert_azure_postgres_to_porcelain(plumbing.azure_postgres)
|
4512
|
+
end
|
4449
4513
|
if plumbing.big_query != nil
|
4450
4514
|
return convert_big_query_to_porcelain(plumbing.big_query)
|
4451
4515
|
end
|
data/lib/models/porcelain.rb
CHANGED
@@ -1607,6 +1607,98 @@ module SDM
|
|
1607
1607
|
end
|
1608
1608
|
end
|
1609
1609
|
|
1610
|
+
class AzurePostgres
|
1611
|
+
attr_accessor :database
|
1612
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
1613
|
+
attr_accessor :egress_filter
|
1614
|
+
# True if the datasource is reachable and the credentials are valid.
|
1615
|
+
attr_accessor :healthy
|
1616
|
+
|
1617
|
+
attr_accessor :hostname
|
1618
|
+
# Unique identifier of the Resource.
|
1619
|
+
attr_accessor :id
|
1620
|
+
# Unique human-readable name of the Resource.
|
1621
|
+
attr_accessor :name
|
1622
|
+
|
1623
|
+
attr_accessor :override_database
|
1624
|
+
|
1625
|
+
attr_accessor :password
|
1626
|
+
|
1627
|
+
attr_accessor :port
|
1628
|
+
|
1629
|
+
attr_accessor :port_override
|
1630
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1631
|
+
attr_accessor :secret_store_id
|
1632
|
+
# Tags is a map of key, value pairs.
|
1633
|
+
attr_accessor :tags
|
1634
|
+
|
1635
|
+
attr_accessor :username
|
1636
|
+
|
1637
|
+
def initialize(
|
1638
|
+
database: nil,
|
1639
|
+
egress_filter: nil,
|
1640
|
+
healthy: nil,
|
1641
|
+
hostname: nil,
|
1642
|
+
id: nil,
|
1643
|
+
name: nil,
|
1644
|
+
override_database: nil,
|
1645
|
+
password: nil,
|
1646
|
+
port: nil,
|
1647
|
+
port_override: nil,
|
1648
|
+
secret_store_id: nil,
|
1649
|
+
tags: nil,
|
1650
|
+
username: nil
|
1651
|
+
)
|
1652
|
+
if database != nil
|
1653
|
+
@database = database
|
1654
|
+
end
|
1655
|
+
if egress_filter != nil
|
1656
|
+
@egress_filter = egress_filter
|
1657
|
+
end
|
1658
|
+
if healthy != nil
|
1659
|
+
@healthy = healthy
|
1660
|
+
end
|
1661
|
+
if hostname != nil
|
1662
|
+
@hostname = hostname
|
1663
|
+
end
|
1664
|
+
if id != nil
|
1665
|
+
@id = id
|
1666
|
+
end
|
1667
|
+
if name != nil
|
1668
|
+
@name = name
|
1669
|
+
end
|
1670
|
+
if override_database != nil
|
1671
|
+
@override_database = override_database
|
1672
|
+
end
|
1673
|
+
if password != nil
|
1674
|
+
@password = password
|
1675
|
+
end
|
1676
|
+
if port != nil
|
1677
|
+
@port = port
|
1678
|
+
end
|
1679
|
+
if port_override != nil
|
1680
|
+
@port_override = port_override
|
1681
|
+
end
|
1682
|
+
if secret_store_id != nil
|
1683
|
+
@secret_store_id = secret_store_id
|
1684
|
+
end
|
1685
|
+
if tags != nil
|
1686
|
+
@tags = tags
|
1687
|
+
end
|
1688
|
+
if username != nil
|
1689
|
+
@username = username
|
1690
|
+
end
|
1691
|
+
end
|
1692
|
+
|
1693
|
+
def to_json(options = {})
|
1694
|
+
hash = {}
|
1695
|
+
self.instance_variables.each do |var|
|
1696
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
1697
|
+
end
|
1698
|
+
hash.to_json
|
1699
|
+
end
|
1700
|
+
end
|
1701
|
+
|
1610
1702
|
class BigQuery
|
1611
1703
|
# A filter applied to the routing logic to pin datasource to nodes.
|
1612
1704
|
attr_accessor :egress_filter
|
data/lib/strongdm.rb
CHANGED
data/lib/version
CHANGED
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strongdm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.31
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- strongDM Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -81,8 +81,8 @@ files:
|
|
81
81
|
- "./.git/logs/refs/heads/development"
|
82
82
|
- "./.git/logs/refs/heads/master"
|
83
83
|
- "./.git/logs/refs/remotes/origin/HEAD"
|
84
|
-
- "./.git/objects/pack/pack-
|
85
|
-
- "./.git/objects/pack/pack-
|
84
|
+
- "./.git/objects/pack/pack-156dc2dc5f58228a26c86e1e423b177043b93423.idx"
|
85
|
+
- "./.git/objects/pack/pack-156dc2dc5f58228a26c86e1e423b177043b93423.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/development"
|
88
88
|
- "./.git/refs/heads/master"
|
@@ -124,6 +124,7 @@ files:
|
|
124
124
|
- "./doc/SDM/AuroraMysql.html"
|
125
125
|
- "./doc/SDM/AuroraPostgres.html"
|
126
126
|
- "./doc/SDM/AuthenticationError.html"
|
127
|
+
- "./doc/SDM/AzurePostgres.html"
|
127
128
|
- "./doc/SDM/BadRequestError.html"
|
128
129
|
- "./doc/SDM/BigQuery.html"
|
129
130
|
- "./doc/SDM/Cassandra.html"
|