multiwoven-integrations 0.15.1 → 0.15.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01e55a5a02e62950e366a99127c0531d994ba547895a09641d06f77df462b7f3
|
4
|
+
data.tar.gz: 0d7194c4d0b7f823607acd0f8e5ace01b381090707811599e126941b2de8404a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 144ac424ba8610d81af8f4e6e2b9fb7393960557db4ed89f7a2405c9b6649bd114a160e477d8e803fb774654b21e083bdf4f6b5fa65b79cfc21c3da7857c5542
|
7
|
+
data.tar.gz: bfa1840c3d5beffd213b7de986d21e97365a621b8e6839aa0dfec32fcd316201a6da30f9a4fe4ae03bb810371f439420b9000d6e18e02cdd12edb2396bb1468d
|
@@ -10,8 +10,11 @@ module Multiwoven
|
|
10
10
|
http.use_ssl = (uri.scheme == "https")
|
11
11
|
|
12
12
|
# Set timeout if provided
|
13
|
-
|
14
|
-
|
13
|
+
if config[:timeout]
|
14
|
+
timeout_value = config[:timeout].to_f
|
15
|
+
http.open_timeout = timeout_value
|
16
|
+
http.read_timeout = timeout_value
|
17
|
+
end
|
15
18
|
|
16
19
|
request = build_request(method, uri, payload, headers)
|
17
20
|
http.request(request)
|
@@ -4,7 +4,7 @@
|
|
4
4
|
"connector_query_type": "ai_ml",
|
5
5
|
"connection_specification": {
|
6
6
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
7
|
-
"title": "
|
7
|
+
"title": "HTTP Model Endpoint",
|
8
8
|
"type": "object",
|
9
9
|
"required": ["url_host"],
|
10
10
|
"properties": {
|
@@ -14,7 +14,8 @@
|
|
14
14
|
"order": 0
|
15
15
|
},
|
16
16
|
"headers": {
|
17
|
-
"title": "
|
17
|
+
"title": "HTTP Headers",
|
18
|
+
"description": "Custom headers to include in the HTTP request. Useful for authentication, content type specifications, and other request metadata.",
|
18
19
|
"order": 1,
|
19
20
|
"additionalProperties": {
|
20
21
|
"type": "string"
|
@@ -25,10 +26,10 @@
|
|
25
26
|
"type": "object",
|
26
27
|
"properties": {
|
27
28
|
"timeout": {
|
28
|
-
"type": "
|
29
|
-
"
|
30
|
-
"
|
31
|
-
"
|
29
|
+
"type": "string",
|
30
|
+
"default": "30",
|
31
|
+
"title": "HTTP Timeout",
|
32
|
+
"description": "The maximum time, in seconds, to wait for a response from the server before the request is canceled.",
|
32
33
|
"order": 0
|
33
34
|
}
|
34
35
|
},
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: multiwoven-integrations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Subin T P
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|