multiwoven-integrations 0.15.8 → 0.15.10
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/destination/mailchimp/config/catalog.json +4 -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
- 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: 0bd4700c4c04ca8b4c67a3fe775104f2081e3fce2dc8628936cac70b60cb3fe4
|
4
|
+
data.tar.gz: e1cf0405a0d0775638f3e27d0c1d3babb21d2bca2f2b806363b908cb07370508
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52e96a9dd052cfb7b99af82d49cc910dc03698cbb4b406554280c507d8f3c7e8260aa4397522fc6547a306c9e4e80954aee44d6e640d311dc143f0918beb9f5c
|
7
|
+
data.tar.gz: 46073602a80873d3ed517e0e6b8296951fe810b5be48002ec89e537b5c0adf2db2bd0b721db326402a8b1207addf6d630d8194e9e5e613b9bbb3b2a7d51a1343
|
@@ -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)
|
@@ -9,7 +9,7 @@
|
|
9
9
|
"json_schema": {
|
10
10
|
"type": "object",
|
11
11
|
"additionalProperties": true,
|
12
|
-
"required": ["email"],
|
12
|
+
"required": ["email", "first_name", "last_name"],
|
13
13
|
"properties": {
|
14
14
|
"email": {
|
15
15
|
"type": "string",
|
@@ -70,7 +70,7 @@
|
|
70
70
|
"supported_sync_modes": ["incremental"],
|
71
71
|
"source_defined_cursor": true,
|
72
72
|
"default_cursor_field": ["timestamp_opt"],
|
73
|
-
"source_defined_primary_key": [
|
73
|
+
"source_defined_primary_key": ["email"]
|
74
74
|
},
|
75
75
|
{
|
76
76
|
"name": "Tags",
|
@@ -94,7 +94,8 @@
|
|
94
94
|
},
|
95
95
|
"supported_sync_modes": ["incremental"],
|
96
96
|
"source_defined_cursor": true,
|
97
|
-
"default_cursor_field": ["
|
97
|
+
"default_cursor_field": ["email"],
|
98
|
+
"source_defined_primary_key": ["email"]
|
98
99
|
},
|
99
100
|
{
|
100
101
|
"name": "Campaigns",
|
@@ -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.10
|
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-12-
|
11
|
+
date: 2024-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|