multiwoven-integrations 0.15.7 → 0.15.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/multiwoven/integrations/core/utils.rb +3 -3
- data/lib/multiwoven/integrations/rollout.rb +1 -1
- data/lib/multiwoven/integrations/source/databrics_model/client.rb +1 -1
- data/lib/multiwoven/integrations/source/http_model/client.rb +1 -1
- data/lib/multiwoven/integrations/source/http_model/config/spec.json +3 -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: 7d481d629c9d1e2ba54774cd14c52a9b926503e241b6eab0dfc0200a5e63ae41
|
4
|
+
data.tar.gz: df8681c3c7cd33f5cb7116b00eae8f3b5aa24ef48520dfc0a71b95dfa93c0fe7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7ac53c32697fc0dbbe4dbefc3fd60aff18914d4e6a4fee6c2e18b08ccfbba179cb1de0816ef936c333898f93b4c767f834a8e960b56765181a76afec8d1a03c
|
7
|
+
data.tar.gz: 3b532bc6d382dc8e7b2362eb7c48dcca2ff9e0afc43dc0701ffd6b4a25da696c6e009e8506d6dac95cf16cf237744db5238b486c7e12897b7216943b208ef8b7
|
@@ -61,11 +61,11 @@ module Multiwoven
|
|
61
61
|
)
|
62
62
|
end
|
63
63
|
|
64
|
-
def create_log_message(context, type,
|
64
|
+
def create_log_message(context, type, message)
|
65
65
|
Integrations::Protocol::LogMessage.new(
|
66
66
|
name: context,
|
67
67
|
level: type,
|
68
|
-
message:
|
68
|
+
message: message
|
69
69
|
).to_multiwoven_message
|
70
70
|
end
|
71
71
|
|
@@ -74,7 +74,7 @@ module Multiwoven
|
|
74
74
|
"#{hash_to_string(meta)}: #{exception.message}"
|
75
75
|
)
|
76
76
|
report_exception(exception, meta)
|
77
|
-
create_log_message(meta[:context], meta[:type], exception)
|
77
|
+
create_log_message(meta[:context], meta[:type], exception.message)
|
78
78
|
end
|
79
79
|
|
80
80
|
def hash_to_string(hash)
|
@@ -65,7 +65,7 @@ module Multiwoven::Integrations::Source
|
|
65
65
|
data = JSON.parse(response.body)
|
66
66
|
[RecordMessage.new(data: data, emitted_at: Time.now.to_i).to_multiwoven_message]
|
67
67
|
else
|
68
|
-
create_log_message("DATABRICKS MODEL:RUN_MODEL", "error", "request failed")
|
68
|
+
create_log_message("DATABRICKS MODEL:RUN_MODEL", "error", "request failed: #{response.body}")
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
@@ -72,7 +72,7 @@ module Multiwoven::Integrations::Source
|
|
72
72
|
data = JSON.parse(response.body)
|
73
73
|
[RecordMessage.new(data: data, emitted_at: Time.now.to_i).to_multiwoven_message]
|
74
74
|
else
|
75
|
-
create_log_message("HTTP MODEL:RUN_MODEL", "error", "request failed")
|
75
|
+
create_log_message("HTTP MODEL:RUN_MODEL", "error", "request failed: #{response.body}")
|
76
76
|
end
|
77
77
|
end
|
78
78
|
|
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.9
|
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
|
+
date: 2024-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|