multiwoven-integrations 0.15.2 → 0.15.4

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: 061b82366f90672a1e23dfb7d57d84223892f5226b939de3b656524de8593bc0
4
- data.tar.gz: 1546c389f0fe36c4f7909a06880759b3fb1af1850c79859b112abdfdf4418a93
3
+ metadata.gz: acac8b39dc55f791583c7d36c2a28b66e8612eb30fe64b82b95614a94396a73e
4
+ data.tar.gz: 4daed0b62e0b2f8d5f804f21623901e418de57d677e30ba056a4632fd23d3e4d
5
5
  SHA512:
6
- metadata.gz: 2e0cc7cff7a29f20e0f02ed2afd72cffa313844b4dc84a5ad63fd49c48a209ef3ccd3fc06e8db32670b0e48c3e81a55740cdaa57f31d73a25716526df384ffd9
7
- data.tar.gz: d92a6a98532e3e9a820b18f2c1dabc67aa791b6bdc0ab088fd33bc2f086b55947dec475d07a979bbdc7bd86d8915708a811157229b85bc4d58ae744e9be9f03c
6
+ metadata.gz: ff74811a333c2f0fcd1ad546c87a07dd0295dc24d5765b93010243b4f5174f455469538bcc994a417f40306e81463e767a935b4f76b01c9ff9d61c7e67c4cf3f
7
+ data.tar.gz: 84f502f75b115f8e7ce89460a87f93cdaae331d50b3f187ecdde4756af6067173b7c45776dae743919bbd0d5bd5fb13955f4baf0f82aa6c6e760abeae50999c1
@@ -10,8 +10,11 @@ module Multiwoven
10
10
  http.use_ssl = (uri.scheme == "https")
11
11
 
12
12
  # Set timeout if provided
13
- http.open_timeout = config[:timeout] if config[:timeout]
14
- http.read_timeout = config[:timeout] if config[:timeout]
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)
@@ -35,7 +35,7 @@ module Multiwoven::Integrations::Destination
35
35
  catalog.to_multiwoven_message
36
36
  rescue StandardError => e
37
37
  handle_exception(e, {
38
- context: "POSTGRESQL:DISCOVER:EXCEPTION",
38
+ context: "AIS:DATA:STORE:DISCOVER:EXCEPTION",
39
39
  type: "error"
40
40
  })
41
41
  ensure
@@ -54,14 +54,14 @@ module Multiwoven::Integrations::Destination
54
54
 
55
55
  records.each do |record|
56
56
  query = Multiwoven::Integrations::Core::QueryBuilder.perform(action, table_name, record, primary_key)
57
- logger.debug("POSTGRESQL:WRITE:QUERY query = #{query} sync_id = #{sync_config.sync_id} sync_run_id = #{sync_config.sync_run_id}")
57
+ logger.debug("AIS:DATA:STORE:WRITE:QUERY query = #{query} sync_id = #{sync_config.sync_id} sync_run_id = #{sync_config.sync_run_id}")
58
58
  begin
59
59
  response = db.exec(query)
60
60
  write_success += 1
61
61
  log_message_array << log_request_response("info", query, response)
62
62
  rescue StandardError => e
63
63
  handle_exception(e, {
64
- context: "POSTGRESQL:RECORD:WRITE:EXCEPTION",
64
+ context: "AIS:DATA:STORE:RECORD:WRITE:EXCEPTION",
65
65
  type: "error",
66
66
  sync_id: sync_config.sync_id,
67
67
  sync_run_id: sync_config.sync_run_id
@@ -73,7 +73,7 @@ module Multiwoven::Integrations::Destination
73
73
  tracking_message(write_success, write_failure, log_message_array)
74
74
  rescue StandardError => e
75
75
  handle_exception(e, {
76
- context: "POSTGRESQL:RECORD:WRITE:EXCEPTION",
76
+ context: "AIS:DATA:STORE:RECORD:WRITE:EXCEPTION",
77
77
  type: "error",
78
78
  sync_id: sync_config.sync_id,
79
79
  sync_run_id: sync_config.sync_run_id
@@ -5,7 +5,7 @@
5
5
  "connector_type": "destination",
6
6
  "category": "Database",
7
7
  "documentation_url": "https://docs.mutliwoven.com",
8
- "github_issue_label": "destination-postgresql",
8
+ "github_issue_label": "destination-ais-data-store",
9
9
  "icon": "icon.svg",
10
10
  "license": "MIT",
11
11
  "release_stage": "alpha",
@@ -1,9 +1,9 @@
1
1
  {
2
- "documentation_url": "https://docs.multiwoven.com/integrations/sources/postgresql",
2
+ "documentation_url": "https://docs.multiwoven.com/integrations/destination/ais-data-store",
3
3
  "stream_type": "dynamic",
4
4
  "connection_specification": {
5
5
  "$schema": "http://json-schema.org/draft-07/schema#",
6
- "title": "Postgresql",
6
+ "title": "AIS Data Store",
7
7
  "type": "object",
8
8
  "required": ["host", "port", "database", "schema"],
9
9
  "properties": {
@@ -19,8 +19,8 @@
19
19
  "readOnly": true
20
20
  },
21
21
  "username": {
22
- "description": "Username refers to your individual PostgreSQL login credentials. At a minimum, the user associated with these credentials must be granted read access to the data intended for synchronization.",
23
- "examples": ["POSTGRESQL_USER"],
22
+ "description": "Username refers to your individual AIS Data Store login credentials. At a minimum, the user associated with these credentials must be granted read access to the data intended for synchronization.",
23
+ "examples": ["AIS_DATA_STORE_USER"],
24
24
  "type": "string",
25
25
  "title": "Username",
26
26
  "order": 1
@@ -36,29 +36,29 @@
36
36
  "order": 0
37
37
  },
38
38
  "host": {
39
- "description": "The hostname or IP address of your PostgreSQL server.",
39
+ "description": "The hostname or IP address of your AIS Data Store server.",
40
40
  "examples": ["127.0.0.1"],
41
41
  "type": "string",
42
42
  "title": "Host",
43
43
  "order": 1
44
44
  },
45
45
  "port": {
46
- "description": "The port number for your PostgreSQL server, which defaults to 5432, may vary based on your configuration. ",
46
+ "description": "The port number for your AIS Data Store server, which defaults to 5432, may vary based on your configuration. ",
47
47
  "examples": ["5432"],
48
48
  "type": "string",
49
49
  "title": "Port",
50
50
  "order": 2
51
51
  },
52
52
  "database": {
53
- "description": "The specific PostgreSQL database to connect to.",
54
- "examples": ["POSTGRESQL_DB"],
53
+ "description": "The specific AIS Data Store database to connect to.",
54
+ "examples": ["AIS_DATA_STORE_DB"],
55
55
  "type": "string",
56
56
  "title": "Database",
57
57
  "order": 3
58
58
  },
59
59
  "schema": {
60
- "description": "The schema within the PostgreSQL database.",
61
- "examples": ["POSTGRESQL_SCHEMA"],
60
+ "description": "The schema within the AIS Data Store database.",
61
+ "examples": ["AIS_DATA_STORE_SCHEMA"],
62
62
  "type": "string",
63
63
  "title": "Schema",
64
64
  "order": 4
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Multiwoven
4
4
  module Integrations
5
- VERSION = "0.15.2"
5
+ VERSION = "0.15.4"
6
6
 
7
7
  ENABLED_SOURCES = %w[
8
8
  Snowflake
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.2
4
+ version: 0.15.4
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-14 00:00:00.000000000 Z
11
+ date: 2024-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport