strongdm 14.3.0 → 14.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-6f895458d0be6be9bcd6b970d9e88a21ece231b0.idx → pack-2b8617c27021b5a8243ff435b6f68b81fdbfa8f4.idx} +0 -0
- data/.git/objects/pack/{pack-6f895458d0be6be9bcd6b970d9e88a21ece231b0.pack → pack-2b8617c27021b5a8243ff435b6f68b81fdbfa8f4.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/drivers_pb.rb +19 -0
- data/lib/grpc/plumbing.rb +68 -0
- data/lib/models/porcelain.rb +76 -0
- data/lib/strongdm.rb +1 -1
- data/lib/svc.rb +1 -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: 3275a8e5be7dc96e98d4544ac516179e4103e698e23bdf95955d23d3166053ef
|
4
|
+
data.tar.gz: 1b6bc0b846f030523ca97f52ca32f44605b0f41cc64481e8fe6f869626ab873b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b67b68ec644840a79d4fc0bf77d8c7294c55a99fba816d571df452917bd90d8bd489f62ab4595023b5c5e044f138fc3677482917a68ed65a91fc0f0ea2dcf0fd
|
7
|
+
data.tar.gz: 98eb88c33ed3f0cc0824b5ebc419b45fc8b17888a4b3f0fb357fbbe53b81becc3f2984eeb1272db116e0cb613ed5cd213319457dd32201a9c09c56f8ebdab98f
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
435ad5faee6a7b0f94295b5d5fe9060611a81df3
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 435ad5faee6a7b0f94295b5d5fe9060611a81df3 root <root@56508497ec5d.(none)> 1745260209 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
435ad5faee6a7b0f94295b5d5fe9060611a81df3 435ad5faee6a7b0f94295b5d5fe9060611a81df3 root <root@56508497ec5d.(none)> 1745260209 +0000 checkout: moving from master to master
|
3
|
+
435ad5faee6a7b0f94295b5d5fe9060611a81df3 90b476259dcfed955ebd9339fbe2bbb0c2086b6d root <root@56508497ec5d.(none)> 1745260209 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 435ad5faee6a7b0f94295b5d5fe9060611a81df3 root <root@56508497ec5d.(none)> 1745260209 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
435ad5faee6a7b0f94295b5d5fe9060611a81df3 90b476259dcfed955ebd9339fbe2bbb0c2086b6d root <root@56508497ec5d.(none)> 1745260209 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 435ad5faee6a7b0f94295b5d5fe9060611a81df3 root <root@56508497ec5d.(none)> 1745260209 +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
|
+
90b476259dcfed955ebd9339fbe2bbb0c2086b6d refs/remotes/origin/development
|
3
|
+
435ad5faee6a7b0f94295b5d5fe9060611a81df3 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
|
@@ -82,6 +82,7 @@ d083930c831fd58555dfe5ad34bcaec81b755fc6 refs/tags/v13.3.0
|
|
82
82
|
321da386651635b0b22d39ebaf40d2c3e9987a8d refs/tags/v13.7.0
|
83
83
|
69ad0369c36e979fdd79988cb6b7525b3b2a7166 refs/tags/v14.0.0
|
84
84
|
f9539f7781664eb4681b99f12cbcc5d613e241ab refs/tags/v14.2.0
|
85
|
+
435ad5faee6a7b0f94295b5d5fe9060611a81df3 refs/tags/v14.3.0
|
85
86
|
e0b1ec0134c7015ccb8c14464cc713c20034159e refs/tags/v2.0.0
|
86
87
|
62a146d9d56852b2ad14ec5d2796cad158d66e1c refs/tags/v2.1.0
|
87
88
|
9de04e628082f4ad0eb9511311479a089d302008 refs/tags/v2.2.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
90b476259dcfed955ebd9339fbe2bbb0c2086b6d
|
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -100,6 +100,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
100
100
|
optional :neptune, :message, 2250, "v1.Neptune"
|
101
101
|
optional :neptune_iam, :message, 2201, "v1.NeptuneIAM"
|
102
102
|
optional :oracle, :message, 1200, "v1.Oracle"
|
103
|
+
optional :oracle_nne, :message, 1201, "v1.OracleNNE"
|
103
104
|
optional :postgres, :message, 1300, "v1.Postgres"
|
104
105
|
optional :presto, :message, 1400, "v1.Presto"
|
105
106
|
optional :rdp, :message, 1500, "v1.RDP"
|
@@ -1500,6 +1501,23 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
1500
1501
|
optional :tls_required, :bool, 7
|
1501
1502
|
optional :username, :string, 2
|
1502
1503
|
end
|
1504
|
+
add_message "v1.OracleNNE" do
|
1505
|
+
optional :id, :string, 32768
|
1506
|
+
optional :name, :string, 32769
|
1507
|
+
optional :healthy, :bool, 32770
|
1508
|
+
optional :tags, :message, 32771, "v1.Tags"
|
1509
|
+
optional :secret_store_id, :string, 32772
|
1510
|
+
optional :egress_filter, :string, 32773
|
1511
|
+
optional :bind_interface, :string, 32774
|
1512
|
+
optional :proxy_cluster_id, :string, 32776
|
1513
|
+
optional :subdomain, :string, 32775
|
1514
|
+
optional :database, :string, 4
|
1515
|
+
optional :hostname, :string, 1
|
1516
|
+
optional :password, :string, 3
|
1517
|
+
optional :port, :int32, 5
|
1518
|
+
optional :port_override, :int32, 6
|
1519
|
+
optional :username, :string, 2
|
1520
|
+
end
|
1503
1521
|
add_message "v1.Postgres" do
|
1504
1522
|
optional :id, :string, 32768
|
1505
1523
|
optional :name, :string, 32769
|
@@ -2066,6 +2084,7 @@ module V1
|
|
2066
2084
|
Neptune = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Neptune").msgclass
|
2067
2085
|
NeptuneIAM = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.NeptuneIAM").msgclass
|
2068
2086
|
Oracle = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Oracle").msgclass
|
2087
|
+
OracleNNE = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.OracleNNE").msgclass
|
2069
2088
|
Postgres = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Postgres").msgclass
|
2070
2089
|
Presto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Presto").msgclass
|
2071
2090
|
RDP = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RDP").msgclass
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -9854,6 +9854,68 @@ module SDM
|
|
9854
9854
|
end
|
9855
9855
|
items
|
9856
9856
|
end
|
9857
|
+
def self.convert_oracle_nne_to_porcelain(plumbing)
|
9858
|
+
if plumbing == nil
|
9859
|
+
return nil
|
9860
|
+
end
|
9861
|
+
porcelain = OracleNNE.new()
|
9862
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
9863
|
+
porcelain.database = (plumbing.database)
|
9864
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
9865
|
+
porcelain.healthy = (plumbing.healthy)
|
9866
|
+
porcelain.hostname = (plumbing.hostname)
|
9867
|
+
porcelain.id = (plumbing.id)
|
9868
|
+
porcelain.name = (plumbing.name)
|
9869
|
+
porcelain.password = (plumbing.password)
|
9870
|
+
porcelain.port = (plumbing.port)
|
9871
|
+
porcelain.port_override = (plumbing.port_override)
|
9872
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
9873
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
9874
|
+
porcelain.subdomain = (plumbing.subdomain)
|
9875
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
9876
|
+
porcelain.username = (plumbing.username)
|
9877
|
+
porcelain
|
9878
|
+
end
|
9879
|
+
|
9880
|
+
def self.convert_oracle_nne_to_plumbing(porcelain)
|
9881
|
+
if porcelain == nil
|
9882
|
+
return nil
|
9883
|
+
end
|
9884
|
+
plumbing = V1::OracleNNE.new()
|
9885
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
9886
|
+
plumbing.database = (porcelain.database)
|
9887
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
9888
|
+
plumbing.healthy = (porcelain.healthy)
|
9889
|
+
plumbing.hostname = (porcelain.hostname)
|
9890
|
+
plumbing.id = (porcelain.id)
|
9891
|
+
plumbing.name = (porcelain.name)
|
9892
|
+
plumbing.password = (porcelain.password)
|
9893
|
+
plumbing.port = (porcelain.port)
|
9894
|
+
plumbing.port_override = (porcelain.port_override)
|
9895
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
9896
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
9897
|
+
plumbing.subdomain = (porcelain.subdomain)
|
9898
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
9899
|
+
plumbing.username = (porcelain.username)
|
9900
|
+
plumbing
|
9901
|
+
end
|
9902
|
+
def self.convert_repeated_oracle_nne_to_plumbing(porcelains)
|
9903
|
+
items = Array.new
|
9904
|
+
porcelains.each do |porcelain|
|
9905
|
+
plumbing = convert_oracle_nne_to_plumbing(porcelain)
|
9906
|
+
items.append(plumbing)
|
9907
|
+
end
|
9908
|
+
items
|
9909
|
+
end
|
9910
|
+
|
9911
|
+
def self.convert_repeated_oracle_nne_to_porcelain(plumbings)
|
9912
|
+
items = Array.new
|
9913
|
+
plumbings.each do |plumbing|
|
9914
|
+
porcelain = convert_oracle_nne_to_porcelain(plumbing)
|
9915
|
+
items.append(porcelain)
|
9916
|
+
end
|
9917
|
+
items
|
9918
|
+
end
|
9857
9919
|
def self.convert_organization_to_porcelain(plumbing)
|
9858
9920
|
if plumbing == nil
|
9859
9921
|
return nil
|
@@ -12731,6 +12793,9 @@ module SDM
|
|
12731
12793
|
if porcelain.instance_of? Oracle
|
12732
12794
|
plumbing.oracle = convert_oracle_to_plumbing(porcelain)
|
12733
12795
|
end
|
12796
|
+
if porcelain.instance_of? OracleNNE
|
12797
|
+
plumbing.oracle_nne = convert_oracle_nne_to_plumbing(porcelain)
|
12798
|
+
end
|
12734
12799
|
if porcelain.instance_of? Postgres
|
12735
12800
|
plumbing.postgres = convert_postgres_to_plumbing(porcelain)
|
12736
12801
|
end
|
@@ -13047,6 +13112,9 @@ module SDM
|
|
13047
13112
|
if plumbing.oracle != nil
|
13048
13113
|
return convert_oracle_to_porcelain(plumbing.oracle)
|
13049
13114
|
end
|
13115
|
+
if plumbing.oracle_nne != nil
|
13116
|
+
return convert_oracle_nne_to_porcelain(plumbing.oracle_nne)
|
13117
|
+
end
|
13050
13118
|
if plumbing.postgres != nil
|
13051
13119
|
return convert_postgres_to_porcelain(plumbing.postgres)
|
13052
13120
|
end
|
data/lib/models/porcelain.rb
CHANGED
@@ -9772,6 +9772,82 @@ module SDM
|
|
9772
9772
|
end
|
9773
9773
|
end
|
9774
9774
|
|
9775
|
+
# OracleNNE is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
9776
|
+
class OracleNNE
|
9777
|
+
# The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
9778
|
+
attr_accessor :bind_interface
|
9779
|
+
# The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
|
9780
|
+
attr_accessor :database
|
9781
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
9782
|
+
attr_accessor :egress_filter
|
9783
|
+
# True if the datasource is reachable and the credentials are valid.
|
9784
|
+
attr_accessor :healthy
|
9785
|
+
# The host to dial to initiate a connection from the egress node to this resource.
|
9786
|
+
attr_accessor :hostname
|
9787
|
+
# Unique identifier of the Resource.
|
9788
|
+
attr_accessor :id
|
9789
|
+
# Unique human-readable name of the Resource.
|
9790
|
+
attr_accessor :name
|
9791
|
+
# The password to authenticate with.
|
9792
|
+
attr_accessor :password
|
9793
|
+
# The port to dial to initiate a connection from the egress node to this resource.
|
9794
|
+
attr_accessor :port
|
9795
|
+
# The local port used by clients to connect to this resource.
|
9796
|
+
attr_accessor :port_override
|
9797
|
+
# ID of the proxy cluster for this resource, if any.
|
9798
|
+
attr_accessor :proxy_cluster_id
|
9799
|
+
# ID of the secret store containing credentials for this resource, if any.
|
9800
|
+
attr_accessor :secret_store_id
|
9801
|
+
# Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
9802
|
+
attr_accessor :subdomain
|
9803
|
+
# Tags is a map of key, value pairs.
|
9804
|
+
attr_accessor :tags
|
9805
|
+
# The username to authenticate with.
|
9806
|
+
attr_accessor :username
|
9807
|
+
|
9808
|
+
def initialize(
|
9809
|
+
bind_interface: nil,
|
9810
|
+
database: nil,
|
9811
|
+
egress_filter: nil,
|
9812
|
+
healthy: nil,
|
9813
|
+
hostname: nil,
|
9814
|
+
id: nil,
|
9815
|
+
name: nil,
|
9816
|
+
password: nil,
|
9817
|
+
port: nil,
|
9818
|
+
port_override: nil,
|
9819
|
+
proxy_cluster_id: nil,
|
9820
|
+
secret_store_id: nil,
|
9821
|
+
subdomain: nil,
|
9822
|
+
tags: nil,
|
9823
|
+
username: nil
|
9824
|
+
)
|
9825
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
9826
|
+
@database = database == nil ? "" : database
|
9827
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
9828
|
+
@healthy = healthy == nil ? false : healthy
|
9829
|
+
@hostname = hostname == nil ? "" : hostname
|
9830
|
+
@id = id == nil ? "" : id
|
9831
|
+
@name = name == nil ? "" : name
|
9832
|
+
@password = password == nil ? "" : password
|
9833
|
+
@port = port == nil ? 0 : port
|
9834
|
+
@port_override = port_override == nil ? 0 : port_override
|
9835
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
9836
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
9837
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
9838
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
9839
|
+
@username = username == nil ? "" : username
|
9840
|
+
end
|
9841
|
+
|
9842
|
+
def to_json(options = {})
|
9843
|
+
hash = {}
|
9844
|
+
self.instance_variables.each do |var|
|
9845
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
9846
|
+
end
|
9847
|
+
hash.to_json
|
9848
|
+
end
|
9849
|
+
end
|
9850
|
+
|
9775
9851
|
class Organization
|
9776
9852
|
# The Organization's authentication provider, one of the AuthProvider constants.
|
9777
9853
|
attr_accessor :auth_provider
|
data/lib/strongdm.rb
CHANGED
@@ -29,7 +29,7 @@ module SDM #:nodoc:
|
|
29
29
|
DEFAULT_BASE_RETRY_DELAY = 0.0030 # 30 ms
|
30
30
|
DEFAULT_MAX_RETRY_DELAY = 300 # 300 seconds
|
31
31
|
API_VERSION = "2025-04-14"
|
32
|
-
USER_AGENT = "strongdm-sdk-ruby/14.
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/14.4.0"
|
33
33
|
private_constant :DEFAULT_MAX_RETRIES, :DEFAULT_BASE_RETRY_DELAY, :DEFAULT_MAX_RETRY_DELAY, :API_VERSION, :USER_AGENT
|
34
34
|
|
35
35
|
# Creates a new strongDM API client.
|
data/lib/svc.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: 14.
|
4
|
+
version: 14.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- strongDM Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-21 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/HEAD"
|
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-2b8617c27021b5a8243ff435b6f68b81fdbfa8f4.idx"
|
85
|
+
- "./.git/objects/pack/pack-2b8617c27021b5a8243ff435b6f68b81fdbfa8f4.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/master"
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|