multiwoven-integrations 0.1.31 → 0.1.33

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: 8e3ffd041d8b25bfbae7c39e01491aad0d56d4a0e6b55707c57587b1a3b6993d
4
- data.tar.gz: ed377a5d5c51060b7f288da572586194c1a846b5a10396c1a27f30cef960837d
3
+ metadata.gz: a66cfeeb953e2701791198684f366777de89f4705352170541a1b0d8d53b7480
4
+ data.tar.gz: b72930a210e79eff11377e0b3f4f7b6a21e647efea3e043eb54cf59bb760eba0
5
5
  SHA512:
6
- metadata.gz: 4623a3a407aa222480eff99d1a862b0d59a1d1fe941255d0a31fd3539d5bda79faf87042eb281a9b0a15c254cc04ce0ed314d4f27bd8fa2798ce0e084afafde7
7
- data.tar.gz: 8fc6cd88f2c293d2c84f0e923e25c9a57aea1fc21802e1d41dab5a3ee96e816deaefc635a4e06309b10128e3ce9ffc4b8e2d69274e95f1fd4e96f7315fe12bfb
6
+ metadata.gz: c9862d1309777e818009d27518cbf80371d7a05158749959eebdd7614b32adf31e49b624d864846a50e1377c1e4bf8b9fbe561ca002be934ecb42e3b2ad9c921
7
+ data.tar.gz: b8faac5a076b51a73dae8f522e6481777441591e48ecd1dbb4e4d74292f8ce418aad7cb5e44fc160256c5712e98fa15a98382285486e5d5217e27a55a4370bdd
@@ -94,7 +94,8 @@ module Multiwoven
94
94
  json_schema: stream_json["json_schema"],
95
95
  request_rate_limit: stream_json["request_rate_limit"].to_i,
96
96
  request_rate_limit_unit: stream_json["request_rate_limit_unit"] || "minute",
97
- request_rate_concurrency: stream_json["request_rate_concurrency"].to_i
97
+ request_rate_concurrency: stream_json["request_rate_concurrency"].to_i,
98
+ supported_sync_modes: stream_json["supported_sync_modes"]
98
99
  )
99
100
  end
100
101
  end
@@ -94,7 +94,7 @@
94
94
  }
95
95
  }
96
96
  },
97
- "supported_sync_modes": ["full_refresh", "incremental"],
97
+ "supported_sync_modes": ["incremental"],
98
98
  "source_defined_cursor": true,
99
99
  "default_cursor_field": ["updated"]
100
100
  },
@@ -176,7 +176,7 @@
176
176
  },
177
177
  "required": ["inputs"]
178
178
  },
179
- "supported_sync_modes": ["full_refresh", "incremental"],
179
+ "supported_sync_modes": [ "incremental"],
180
180
  "source_defined_cursor": true,
181
181
  "default_cursor_field": ["updated"]
182
182
  },
@@ -264,7 +264,7 @@
264
264
  },
265
265
  "required": ["properties"]
266
266
  },
267
- "supported_sync_modes": ["full_refresh", "incremental"],
267
+ "supported_sync_modes": ["incremental"],
268
268
  "source_defined_cursor": true,
269
269
  "default_cursor_field": ["updated"]
270
270
  },
@@ -343,7 +343,7 @@
343
343
  },
344
344
  "required": ["properties", "associations"]
345
345
  },
346
- "supported_sync_modes": ["full_refresh", "incremental"],
346
+ "supported_sync_modes": ["incremental"],
347
347
  "source_defined_cursor": true,
348
348
  "default_cursor_field": ["updated"]
349
349
  }
@@ -106,7 +106,6 @@
106
106
  ]
107
107
  },
108
108
  "supported_sync_modes": [
109
- "full_refresh",
110
109
  "incremental"
111
110
  ],
112
111
  "source_defined_cursor": true,
@@ -311,7 +311,7 @@
311
311
  }
312
312
  }
313
313
  },
314
- "supported_sync_modes": ["full_refresh", "incremental"],
314
+ "supported_sync_modes": ["incremental"],
315
315
  "source_defined_cursor": true,
316
316
  "default_cursor_field": ["updated"],
317
317
  "source_defined_primary_key": [["Id"]]
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "oneOf": [{ "required": ["text"] }]
15
15
  },
16
- "supported_sync_modes": ["full_refresh", "incremental"],
16
+ "supported_sync_modes": ["incremental"],
17
17
  "request_rate_limit": 60,
18
18
  "request_rate_limit_unit": "minute",
19
19
  "request_rate_concurrency": 1
@@ -108,20 +108,18 @@ module Multiwoven
108
108
  attribute :name, Types::String
109
109
  attribute? :action, StreamAction
110
110
  attribute :json_schema, Types::Hash
111
- attribute? :supported_sync_modes, Types::Array.of(SyncMode).optional
111
+ attribute? :supported_sync_modes, Types::Array.of(SyncMode).optional.default(["incremental"])
112
112
 
113
113
  # Applicable for database streams
114
114
  attribute? :source_defined_cursor, Types::Bool.optional
115
115
  attribute? :default_cursor_field, Types::Array.of(Types::String).optional
116
116
  attribute? :source_defined_primary_key, Types::Array.of(Types::Array.of(Types::String)).optional
117
-
118
117
  attribute? :namespace, Types::String.optional
119
118
  # Applicable for API streams
120
119
  attribute? :url, Types::String.optional
121
120
  attribute? :request_method, Types::String.optional
122
121
  attribute :batch_support, Types::Bool.default(false)
123
122
  attribute :batch_size, Types::Integer.default(1)
124
-
125
123
  # Rate limits
126
124
  attribute? :request_rate_limit, Types::Integer
127
125
  attribute? :request_rate_limit_unit, RequestRateLimitingUnit
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Multiwoven
4
4
  module Integrations
5
- VERSION = "0.1.31"
5
+ VERSION = "0.1.33"
6
6
 
7
7
  ENABLED_SOURCES = %w[
8
8
  Snowflake
@@ -5,40 +5,35 @@
5
5
  "$schema": "http://json-schema.org/draft-07/schema#",
6
6
  "title": "Databricks",
7
7
  "type": "object",
8
- "required": ["host", "port", "database", "schema"],
8
+ "required": ["host", "port", "http_path", "catalog", "schema"],
9
9
  "properties": {
10
- "title": "",
11
- "type": "object",
12
- "required": ["host", "port", "access_token", "http_path", "catalog", "schema"],
13
- "properties": {
14
10
  "host": {
15
- "title": "Server Hostname",
16
- "description": "Server host name for the Databricks Cluster. It is different from the SQL Endpoint Cluster.",
17
- "type": "string",
18
- "examples": "abc-12345678-wxyz.cloud.databricks.com",
19
- "order": 0
11
+ "title": "Server Hostname",
12
+ "description": "Server host name for the Databricks Cluster. It is different from the SQL Endpoint Cluster.",
13
+ "type": "string",
14
+ "examples": ["abc-12345678-wxyz.cloud.databricks.com"],
15
+ "order": 0
20
16
  },
21
17
  "port": {
22
- "title": "Port",
23
- "description": "",
24
- "type": "string",
25
- "default": "443",
26
- "order": 1
18
+ "title": "Port",
19
+ "description": "",
20
+ "type": "string",
21
+ "default": "443",
22
+ "order": 1
27
23
  },
28
24
  "access_token": {
29
- "title": "Personal Access Token",
30
- "description": "",
31
- "type": "string",
32
- "multiwoven_secret": true,
33
- "order": 2
34
- }
25
+ "title": "Personal Access Token",
26
+ "description": "",
27
+ "type": "string",
28
+ "multiwoven_secret": true,
29
+ "order": 2
35
30
  },
36
31
  "http_path": {
37
- "title": "HTTP Path",
38
- "description": "",
39
- "examples": "sql/protocolvx/o/1234567489/0000-1111111-abcd90",
40
- "type": "string",
41
- "order": 3
32
+ "title": "HTTP Path",
33
+ "description": "",
34
+ "examples": ["sql/protocolvx/o/1234567489/0000-1111111-abcd90"],
35
+ "type": "string",
36
+ "order": 3
42
37
  },
43
38
  "catalog": {
44
39
  "description": "The name of the catalog",
@@ -48,7 +43,7 @@
48
43
  "order": 4
49
44
  },
50
45
  "schema": {
51
- "description": " The default schema tables are written.",
46
+ "description": "The default schema tables are written.",
52
47
  "default": "default",
53
48
  "type": "string",
54
49
  "title": "Database schema",
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.1.31
4
+ version: 0.1.33
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-03-04 00:00:00.000000000 Z
11
+ date: 2024-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport