forest_admin_datasource_rpc 1.24.4 → 1.24.5
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/lib/forest_admin_datasource_rpc/version.rb +1 -1
- data/lib/forest_admin_datasource_rpc.rb +11 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1dd1054458956e40b19ec0ba9e85988b9c054725da611973815c8ff05329fa55
|
|
4
|
+
data.tar.gz: a3b88a125fb5c5d6531464628fbed3941e1436b9a7923a5f9783b7c49f8a0b91
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7fa6e005cb0005b6ec778d482daf2bd5ae7d7cdba38bd24e15036d4e3a78e92edee37c03e6b4f2eb224808c22f649c67fcf528cef4edad26838b7e3e88b7b821
|
|
7
|
+
data.tar.gz: 3641e1d075abbc94b1efab191ea06b3a37c29b204d2c5323365d2075b8cf2c289534ce7aec4380fb44c6fe403bb81a408fee0c74f7d0b6e4a076e19e36c81057
|
|
@@ -12,7 +12,18 @@ module ForestAdminDatasourceRpc
|
|
|
12
12
|
Utils::SchemaPollingPool.instance.configure(max_threads: max_threads)
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
+
KNOWN_BUILD_OPTIONS = %i[uri auth_secret introspection introspection_etag schema_polling_interval_sec].freeze
|
|
16
|
+
|
|
15
17
|
def self.build(options)
|
|
18
|
+
unknown_keys = options.keys - KNOWN_BUILD_OPTIONS
|
|
19
|
+
if unknown_keys.any?
|
|
20
|
+
ForestAdminAgent::Facades::Container.logger.log(
|
|
21
|
+
'Warn',
|
|
22
|
+
"[RPCDatasource] Unknown option(s) passed to build: #{unknown_keys.join(", ")}. " \
|
|
23
|
+
"Known options are: #{KNOWN_BUILD_OPTIONS.join(", ")}"
|
|
24
|
+
)
|
|
25
|
+
end
|
|
26
|
+
|
|
16
27
|
uri = options[:uri]
|
|
17
28
|
auth_secret = options[:auth_secret] || ForestAdminAgent::Facades::Container.cache(:auth_secret)
|
|
18
29
|
provided_introspection = options[:introspection]
|
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.24.
|
|
4
|
+
version: 1.24.5
|
|
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-02-
|
|
12
|
+
date: 2026-02-20 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: base64
|