multiwoven-integrations 0.7.0 → 0.7.2

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: 697c4972edd603a75aa7fd96653ce86c5946f90d90acf859d2577e8a1314608f
4
- data.tar.gz: 6295ce58e8cdbe4c6f562202362a8e33c3dc0dd9db1dc368ec4be5cfce6ee3a9
3
+ metadata.gz: 77c1f29e452cbeee226a06909b5bf589061063a051bc3c73ac73ec1d2748b159
4
+ data.tar.gz: d4b47377d27c931947cf15589723ba397d4a2e500c600ada8fad308f3a82e0d6
5
5
  SHA512:
6
- metadata.gz: 4868f70099d7fd8f8454e50371ab29ae622749175df9bcfa29f992223ef6b88946723442653f6ec82837326e506b86b583382478bd5fc5c4af94fa93eeccb594
7
- data.tar.gz: 7a02dab7bf70873cf95455cf1906a7357c156803c4037c9adeb1e0dfb47ebe55cc0b24f219a0ba71152eb996b6e11ab244139d2267b2db5b8998dcd3dbe99dd0
6
+ metadata.gz: 6d81300b2ed2fa1dc066b29a3af4096ef5a85045e18f84d708bec9f7f12182fbd2ee013c7bb797de6a2dfa23494a7e07fbb802498e6c2426e6ee714bc8465508
7
+ data.tar.gz: 2f65fd9330887945df04375914b8dddfe1170c40c16fb5575cba642ffae943d36223c42c2e85f50f89796e5f2e9cc82df5878bb1923936f54c544ee725f58535
data/README.md CHANGED
@@ -59,6 +59,10 @@ Before you begin the installation, ensure you have the following dependencies in
59
59
  - Command: `brew install openssl@3`
60
60
  - Description: Essential for secure communication.
61
61
 
62
+ - **Oracle Instant Client**
63
+ - Download Link: https://www.oracle.com/database/technologies/instant-client/downloads.html
64
+ - Description: Required for database interactions.
65
+
62
66
 
63
67
  ### Installation
64
68
 
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "data": {
3
3
  "name": "DatabricksLakehouse",
4
- "title": "Databricks Lakehouse",
4
+ "title": "Databricks Datawarehouse",
5
5
  "connector_type": "destination",
6
- "category": "Marketing Automation",
6
+ "category": "Database",
7
7
  "documentation_url": "https://docs.multiwoven.com/destinations/databricks_lakehouse",
8
8
  "github_issue_label": "destination-databricks-lakehouse",
9
9
  "icon": "icon.svg",
@@ -3,7 +3,7 @@
3
3
  "stream_type": "static",
4
4
  "connection_specification": {
5
5
  "$schema": "http://json-schema.org/draft-07/schema#",
6
- "title": "Databricks Lakehouse",
6
+ "title": "Databricks Datawarehouse",
7
7
  "type": "object",
8
8
  "required": ["host", "api_token", "warehouse_id", "catalog", "schema"],
9
9
  "properties": {
@@ -41,6 +41,7 @@ module Multiwoven::Integrations::Destination
41
41
  primary_key = sync_config.model.primary_key
42
42
  db = create_connection(connection_config)
43
43
 
44
+ log_message_array = []
44
45
  write_success = 0
45
46
  write_failure = 0
46
47
 
@@ -50,6 +51,7 @@ module Multiwoven::Integrations::Destination
50
51
  begin
51
52
  db.run(query)
52
53
  write_success += 1
54
+ log_message_array << log_request_response("info", query, "Successful")
53
55
  rescue StandardError => e
54
56
  handle_exception(e, {
55
57
  context: "MARIA:DB:RECORD:WRITE:EXCEPTION",
@@ -58,9 +60,10 @@ module Multiwoven::Integrations::Destination
58
60
  sync_run_id: sync_config.sync_run_id
59
61
  })
60
62
  write_failure += 1
63
+ log_message_array << log_request_response("error", query, e.message)
61
64
  end
62
65
  end
63
- tracking_message(write_success, write_failure)
66
+ tracking_message(write_success, write_failure, log_message_array)
64
67
  rescue StandardError => e
65
68
  handle_exception(e, {
66
69
  context: "MARIA:DB:RECORD:WRITE:EXCEPTION",
@@ -106,12 +109,6 @@ module Multiwoven::Integrations::Destination
106
109
  { tablename: entries.first[:tablename], columns: entries.flat_map { |entry| entry[:columns] } }
107
110
  end
108
111
  end
109
-
110
- def tracking_message(success, failure)
111
- Multiwoven::Integrations::Protocol::TrackingMessage.new(
112
- success: success, failed: failure
113
- ).to_multiwoven_message
114
- end
115
112
  end
116
113
  end
117
114
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Multiwoven
4
4
  module Integrations
5
- VERSION = "0.7.0"
5
+ VERSION = "0.7.2"
6
6
 
7
7
  ENABLED_SOURCES = %w[
8
8
  Snowflake
@@ -4,7 +4,7 @@
4
4
  "connector_query_type": "raw_sql",
5
5
  "connection_specification": {
6
6
  "$schema": "http://json-schema.org/draft-07/schema#",
7
- "title": "Databricks",
7
+ "title": "Databricks Datawarehouse",
8
8
  "type": "object",
9
9
  "required": ["host", "port", "http_path", "catalog", "schema"],
10
10
  "properties": {
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.7.0
4
+ version: 0.7.2
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-08-01 00:00:00.000000000 Z
11
+ date: 2024-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport