forest_admin_datasource_rpc 1.36.1 → 1.36.2
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2e516706f06f0fdd82a7196eb874712856a986a70482bdbd4ec4515f54ede430
|
|
4
|
+
data.tar.gz: 9d4e9849a1f50be68591a144ebdecfe99e9ecd253a81617478b17f0abf2735b1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2d9fdba556631a62fb596740dd8253aa379111c134011068c659927c97f17fdf729d23457d487b0689780a143a1b1813ba43996752ec156d77d4b106752f6b7c
|
|
7
|
+
data.tar.gz: b1d64e585b893e540f4d323a4f9595d0c1eb59f376009fc19358fa8a9809096628ec26e356fcc91cfaa2cda7c5477ac5f4368114b97abb86ab2447fafd324a1b
|
|
@@ -63,6 +63,24 @@ module ForestAdminDatasourceRpc
|
|
|
63
63
|
ForestAdminDatasourceToolkit::Utils::HashHelper.convert_keys(result.to_a)
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
+
def build_binding_symbol(connection_name, binds)
|
|
67
|
+
url = 'forest/rpc-binding-symbol'
|
|
68
|
+
|
|
69
|
+
ForestAdminAgent::Facades::Container.logger&.log(
|
|
70
|
+
'Debug',
|
|
71
|
+
"Requesting a binding symbol for connection '#{connection_name}' from the Rpc agent on #{url}."
|
|
72
|
+
)
|
|
73
|
+
|
|
74
|
+
@shared_rpc_client.call_rpc(
|
|
75
|
+
url,
|
|
76
|
+
method: :post,
|
|
77
|
+
payload: { connection_name: connection_name, binds_count: binds.size }
|
|
78
|
+
)
|
|
79
|
+
rescue ForestAdminAgent::Http::Exceptions::NotFoundError
|
|
80
|
+
raise ForestAdminDatasourceToolkit::Exceptions::ForestException,
|
|
81
|
+
'Upgrade forest_admin_rpc_agent: this version does not support binding symbols yet.'
|
|
82
|
+
end
|
|
83
|
+
|
|
66
84
|
def refresh!(new_schema)
|
|
67
85
|
# Replace collections with those from the new schema
|
|
68
86
|
@collections = {}
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: forest_admin_datasource_rpc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.36.
|
|
4
|
+
version: 1.36.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matthieu
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2026-
|
|
12
|
+
date: 2026-08-04 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: base64
|