multiwoven-integrations 0.14.1 → 0.15.0

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: 214d9d0a9b6aed5037d74615ef55f30994cc6231e5be6b0ee1ffd95cdef4f96b
4
- data.tar.gz: 84d1a191ec5681d0d1a25a16153614b9b8bdaad426263b6bc416109396545149
3
+ metadata.gz: 9f2579b099f981fb092ac0acbefc87e2470fe063e7a7cb27415aada6c4544474
4
+ data.tar.gz: 3abc0ef749189c772363d4c8180c38093660ea1f0c5474460206f86ccc3d7213
5
5
  SHA512:
6
- metadata.gz: 7f19bfda47c77a07744f473c1f1be751c2724453afcf66add6c780aeca06be0a380861afc666690f25eea2f180e4623b995f7ddd60492f9a0e20be940076f08e
7
- data.tar.gz: 7f837557c947c38ff53c7434c88bd1a996cc7d441024c7e2c3392001abcdb32a6e72ec7515c626bba2a734c016f4e5179bedff3ce3241284bd9a0757d86cef34
6
+ metadata.gz: 17492404f1d1281352a5c2876a1aa46d3fe2b402a33fb56ae525eac77e8641a5cad7d77547896c51e7e33f80bb4dfb707e04813370aa3976dab4a93ca0081099
7
+ data.tar.gz: 1eb25fac02b0736fac98569c6e4f6f7a7d1205be19e82629dc891bc71a1d699fe9ee4b07b740e4d1087e0869e43366c5fe2b0f7ee136be35ba3d0321dc70af7b
@@ -0,0 +1,127 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "pg"
4
+
5
+ module Multiwoven::Integrations::Destination
6
+ module AISDataStore
7
+ include Multiwoven::Integrations::Core
8
+ class Client < DestinationConnector
9
+ def check_connection(connection_config)
10
+ connection_config = connection_config.with_indifferent_access
11
+ create_connection(connection_config)
12
+ ConnectionStatus.new(
13
+ status: ConnectionStatusType["succeeded"]
14
+ ).to_multiwoven_message
15
+ rescue PG::Error => e
16
+ ConnectionStatus.new(
17
+ status: ConnectionStatusType["failed"], message: e.message
18
+ ).to_multiwoven_message
19
+ end
20
+
21
+ def discover(connection_config)
22
+ connection_config = connection_config.with_indifferent_access
23
+ query = "SELECT table_name, column_name, data_type, is_nullable
24
+ FROM information_schema.columns
25
+ WHERE table_schema = '#{connection_config[:schema]}' AND table_catalog = '#{connection_config[:database]}'
26
+ ORDER BY table_name, ordinal_position;"
27
+
28
+ db = create_connection(connection_config)
29
+ records = db.exec(query) do |result|
30
+ result.map do |row|
31
+ row
32
+ end
33
+ end
34
+ catalog = Catalog.new(streams: create_streams(records))
35
+ catalog.to_multiwoven_message
36
+ rescue StandardError => e
37
+ handle_exception(e, {
38
+ context: "POSTGRESQL:DISCOVER:EXCEPTION",
39
+ type: "error"
40
+ })
41
+ ensure
42
+ db&.close
43
+ end
44
+
45
+ def write(sync_config, records, action = "destination_insert")
46
+ connection_config = sync_config.destination.connection_specification.with_indifferent_access
47
+ table_name = sync_config.stream.name
48
+ primary_key = sync_config.model.primary_key
49
+ log_message_array = []
50
+ db = create_connection(connection_config)
51
+
52
+ write_success = 0
53
+ write_failure = 0
54
+
55
+ records.each do |record|
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}")
58
+ begin
59
+ response = db.exec(query)
60
+ write_success += 1
61
+ log_message_array << log_request_response("info", query, response)
62
+ rescue StandardError => e
63
+ handle_exception(e, {
64
+ context: "POSTGRESQL:RECORD:WRITE:EXCEPTION",
65
+ type: "error",
66
+ sync_id: sync_config.sync_id,
67
+ sync_run_id: sync_config.sync_run_id
68
+ })
69
+ write_failure += 1
70
+ log_message_array << log_request_response("error", query, e.message)
71
+ end
72
+ end
73
+ tracking_message(write_success, write_failure, log_message_array)
74
+ rescue StandardError => e
75
+ handle_exception(e, {
76
+ context: "POSTGRESQL:RECORD:WRITE:EXCEPTION",
77
+ type: "error",
78
+ sync_id: sync_config.sync_id,
79
+ sync_run_id: sync_config.sync_run_id
80
+ })
81
+ end
82
+
83
+ private
84
+
85
+ def query(connection, query)
86
+ connection.exec(query) do |result|
87
+ result.map do |row|
88
+ RecordMessage.new(data: row, emitted_at: Time.now.to_i).to_multiwoven_message
89
+ end
90
+ end
91
+ end
92
+
93
+ def create_connection(connection_config)
94
+ raise "Unsupported Auth type" unless connection_config[:credentials][:auth_type] == "username/password"
95
+
96
+ PG.connect(
97
+ host: connection_config[:host],
98
+ dbname: connection_config[:database],
99
+ user: connection_config[:credentials][:username],
100
+ password: connection_config[:credentials][:password],
101
+ port: connection_config[:port]
102
+ )
103
+ end
104
+
105
+ def create_streams(records)
106
+ group_by_table(records).map do |r|
107
+ Multiwoven::Integrations::Protocol::Stream.new(name: r[:tablename], action: StreamAction["fetch"], json_schema: convert_to_json_schema(r[:columns]))
108
+ end
109
+ end
110
+
111
+ def group_by_table(records)
112
+ records.group_by { |entry| entry["table_name"] }.map do |table_name, columns|
113
+ {
114
+ tablename: table_name,
115
+ columns: columns.map do |column|
116
+ {
117
+ column_name: column["column_name"],
118
+ type: column["data_type"],
119
+ optional: column["is_nullable"] == "YES"
120
+ }
121
+ end
122
+ }
123
+ end
124
+ end
125
+ end
126
+ end
127
+ end
@@ -0,0 +1,15 @@
1
+ {
2
+ "data": {
3
+ "name": "AISDataStore",
4
+ "title": "AIS Data Store",
5
+ "connector_type": "destination",
6
+ "category": "Database",
7
+ "documentation_url": "https://docs.mutliwoven.com",
8
+ "github_issue_label": "destination-postgresql",
9
+ "icon": "icon.svg",
10
+ "license": "MIT",
11
+ "release_stage": "alpha",
12
+ "support_level": "community",
13
+ "tags": ["language:ruby", "multiwoven"]
14
+ }
15
+ }
@@ -0,0 +1,68 @@
1
+ {
2
+ "documentation_url": "https://docs.multiwoven.com/integrations/sources/postgresql",
3
+ "stream_type": "dynamic",
4
+ "connection_specification": {
5
+ "$schema": "http://json-schema.org/draft-07/schema#",
6
+ "title": "Postgresql",
7
+ "type": "object",
8
+ "required": ["host", "port", "database", "schema"],
9
+ "properties": {
10
+ "credentials": {
11
+ "title": "",
12
+ "type": "object",
13
+ "required": ["auth_type", "username", "password"],
14
+ "properties": {
15
+ "auth_type": {
16
+ "type": "string",
17
+ "default": "username/password",
18
+ "order": 0,
19
+ "readOnly": true
20
+ },
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"],
24
+ "type": "string",
25
+ "title": "Username",
26
+ "order": 1
27
+ },
28
+ "password": {
29
+ "description": "This field requires the password associated with the user account specified in the preceding section.",
30
+ "type": "string",
31
+ "multiwoven_secret": true,
32
+ "title": "Password",
33
+ "order": 2
34
+ }
35
+ },
36
+ "order": 0
37
+ },
38
+ "host": {
39
+ "description": "The hostname or IP address of your PostgreSQL server.",
40
+ "examples": ["127.0.0.1"],
41
+ "type": "string",
42
+ "title": "Host",
43
+ "order": 1
44
+ },
45
+ "port": {
46
+ "description": "The port number for your PostgreSQL server, which defaults to 5432, may vary based on your configuration. ",
47
+ "examples": ["5432"],
48
+ "type": "string",
49
+ "title": "Port",
50
+ "order": 2
51
+ },
52
+ "database": {
53
+ "description": "The specific PostgreSQL database to connect to.",
54
+ "examples": ["POSTGRESQL_DB"],
55
+ "type": "string",
56
+ "title": "Database",
57
+ "order": 3
58
+ },
59
+ "schema": {
60
+ "description": "The schema within the PostgreSQL database.",
61
+ "examples": ["POSTGRESQL_SCHEMA"],
62
+ "type": "string",
63
+ "title": "Schema",
64
+ "order": 4
65
+ }
66
+ }
67
+ }
68
+ }
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="120" height="120">
3
+ <path d="M0 0 C0.86770523 -0.01004562 1.73541046 -0.02009125 2.62940979 -0.03044128 C3.58369873 -0.03627228 4.53798767 -0.04210327 5.52119446 -0.04811096 C6.5246138 -0.05789474 7.52803314 -0.06767853 8.56185913 -0.07775879 C11.89374965 -0.10775492 15.22559986 -0.12911119 18.55757141 -0.14796448 C20.26279433 -0.15782222 20.26279433 -0.15782222 22.0024662 -0.1678791 C28.02106609 -0.20049291 34.03964812 -0.22493756 40.05830383 -0.24440002 C45.04131327 -0.26221014 50.02375652 -0.29702378 55.00654602 -0.34693909 C61.01949684 -0.4071084 67.03192274 -0.43787191 73.04516029 -0.44757271 C75.3365012 -0.45613508 77.62782781 -0.47497223 79.91899681 -0.50431633 C83.12946569 -0.54321656 86.33788969 -0.54426658 89.54853821 -0.53639221 C90.96478989 -0.56639313 90.96478989 -0.56639313 92.40965271 -0.59700012 C98.27116391 -0.53256805 101.35293046 0.57580113 105.59190083 4.67732143 C107.78589597 7.24699689 107.98906384 9.01053142 108.01898193 12.30227661 C108.02902756 13.16998184 108.03907318 14.03768707 108.04942322 14.9316864 C108.05525421 15.88597534 108.06108521 16.84026428 108.0670929 17.82347107 C108.07687668 18.82689041 108.08666046 19.83030975 108.09674072 20.86413574 C108.12673686 24.19602626 108.14809313 27.52787647 108.16694641 30.85984802 C108.17351824 31.9966633 108.18009007 33.13347858 108.18686104 34.30474281 C108.21947484 40.3233427 108.24391949 46.34192473 108.26338196 52.36058044 C108.28119207 57.34358989 108.31600571 62.32603313 108.36592102 67.30882263 C108.42609034 73.32177345 108.45685385 79.33419935 108.46655464 85.3474369 C108.47511702 87.63877781 108.49395416 89.93010442 108.52329826 92.22127342 C108.5621985 95.43174231 108.56324851 98.6401663 108.55537415 101.85081482 C108.57537476 102.7949826 108.59537537 103.73915039 108.61598206 104.71192932 C108.55154998 110.57344052 107.44318081 113.65520707 103.3416605 117.89417744 C100.77198505 120.08817258 99.00845051 120.29134045 95.71670532 120.32125854 C94.84900009 120.33130417 93.98129486 120.34134979 93.08729553 120.35169983 C91.65586212 120.36044632 91.65586212 120.36044632 90.19551086 120.36936951 C89.19209152 120.37915329 88.18867218 120.38893707 87.15484619 120.39901733 C83.82295567 120.42901347 80.49110546 120.45036974 77.15913391 120.46922302 C75.45391099 120.47908076 75.45391099 120.47908076 73.71423912 120.48913765 C67.69563923 120.52175145 61.6770572 120.5461961 55.65840149 120.56565857 C50.67539205 120.58346868 45.69294881 120.61828232 40.7101593 120.66819763 C34.69720848 120.72836695 28.68478258 120.75913046 22.67154503 120.76883125 C20.38020412 120.77739363 18.08887751 120.79623078 15.79770851 120.82557487 C12.58723963 120.86447511 9.37881563 120.86552512 6.16816711 120.85765076 C4.75191544 120.88765167 4.75191544 120.88765167 3.30705261 120.91825867 C-2.55445859 120.85382659 -5.63622513 119.74545742 -9.8751955 115.64393711 C-12.06919065 113.07426166 -12.27235852 111.31072713 -12.30227661 108.01898193 C-12.31232224 107.1512767 -12.32236786 106.28357147 -12.3327179 105.38957214 C-12.34146439 103.95813873 -12.34146439 103.95813873 -12.35038757 102.49778748 C-12.36017136 101.49436813 -12.36995514 100.49094879 -12.3800354 99.4571228 C-12.41003153 96.12523229 -12.4313878 92.79338207 -12.45024109 89.46141052 C-12.45681292 88.32459524 -12.46338474 87.18777996 -12.47015572 86.01651573 C-12.50276952 79.99791585 -12.52721417 73.97933381 -12.54667664 67.9606781 C-12.56448675 62.97766866 -12.59930039 57.99522542 -12.6492157 53.01243591 C-12.70938501 46.99948509 -12.74014853 40.9870592 -12.74984932 34.97382164 C-12.7584117 32.68248073 -12.77724884 30.39115413 -12.80659294 28.09998512 C-12.84549318 24.88951624 -12.84654319 21.68109224 -12.83866882 18.47044373 C-12.85866943 17.52627594 -12.87867004 16.58210815 -12.89927673 15.60932922 C-12.83484466 9.74781802 -11.72647549 6.66605148 -7.62495518 2.42708111 C-5.05527972 0.23308596 -3.29174519 0.02991809 0 0 Z M1.50151062 18.94068909 C0.56440872 22.17521358 0.56353658 25.34117723 0.56782532 28.67967224 C0.56110809 29.43139709 0.55439087 30.18312195 0.54747009 30.95762634 C0.52849296 33.43942397 0.52456606 35.92095113 0.52241516 38.40281677 C0.51598698 40.13150646 0.5092586 41.86019505 0.50224304 43.58888245 C0.49027097 47.2119448 0.48656214 50.83491181 0.48774719 54.45799255 C0.48795037 59.09400724 0.46064985 63.72940881 0.42620277 68.36527824 C0.40393347 71.93585502 0.39990966 75.50628426 0.40096664 79.07692337 C0.39861067 80.78571307 0.3897873 82.49450684 0.37430191 84.203228 C0.35464087 86.59685083 0.36047948 88.98915179 0.37251282 91.38279724 C0.3612738 92.08429901 0.35003479 92.78580078 0.3384552 93.50856018 C0.40196991 98.49625643 1.66403777 101.3629638 4.85835266 105.16062927 C8.29964553 107.78373822 12.21729425 107.45650081 16.37739563 107.45115662 C17.12912048 107.45787384 17.88084534 107.46459106 18.65534973 107.47151184 C21.13714736 107.49048897 23.61867452 107.49441587 26.10054016 107.49656677 C27.82922984 107.50299496 29.55791844 107.50972333 31.28660583 107.51673889 C34.90966819 107.52871097 38.5326352 107.53241979 42.15571594 107.53123474 C46.79173063 107.53103157 51.4271322 107.55833209 56.06300163 107.59277916 C59.63357841 107.61504847 63.20400765 107.61907228 66.77464676 107.61801529 C68.48343646 107.62037126 70.19223023 107.62919464 71.90095139 107.64468002 C74.29457422 107.66434107 76.68687518 107.65850246 79.08052063 107.64646912 C79.7820224 107.65770813 80.48352417 107.66894714 81.20628357 107.68052673 C86.19397982 107.61701203 89.06068718 106.35494417 92.85835266 103.16062927 C95.48817303 99.71497264 95.14760513 95.79131326 95.13301086 91.62571716 C95.14067726 90.49572044 95.14067726 90.49572044 95.14849854 89.34289551 C95.16238195 86.8562777 95.16143875 84.36993745 95.15913391 81.88328552 C95.1630215 80.15220029 95.1673563 78.42111601 95.17211914 76.69003296 C95.17957863 73.06276863 95.17929202 69.43560163 95.17402649 65.80833435 C95.16823182 61.16335098 95.18516397 56.51876636 95.20837116 51.87384892 C95.22311305 48.29902828 95.22397959 44.72430358 95.22086143 41.14945793 C95.22137441 39.43706408 95.22660763 37.72466483 95.23667336 36.01230049 C95.24902962 33.61624976 95.24225144 31.22097451 95.23066711 28.82493591 C95.23831085 28.11983887 95.24595459 27.41474182 95.25382996 26.6882782 C95.20736448 22.33343222 94.61604615 19.56450247 91.85835266 16.16062927 C87.86951071 12.93549505 84.17588538 12.72483146 79.2257843 12.75657654 C78.47391342 12.74971329 77.72204254 12.74285004 76.9473877 12.73577881 C74.4709007 12.71753151 71.99504848 12.72134524 69.51850891 12.72703552 C67.7912475 12.72247263 66.06398792 12.71716674 64.33673096 12.71115112 C60.71959551 12.70222404 57.1026809 12.70463841 53.48554993 12.71458435 C48.85737598 12.72607218 44.22996522 12.7058637 39.60189152 12.67666721 C36.03558536 12.65829306 32.46946167 12.65860009 28.90312004 12.66430473 C27.19713203 12.66445781 25.49113154 12.65842495 23.78518867 12.64601326 C21.39641515 12.63108197 19.00904608 12.64179466 16.62031555 12.65892029 C15.92038483 12.64925232 15.2204541 12.63958435 14.49931335 12.62962341 C8.89328018 12.71349425 4.94042692 14.4291273 1.50151062 18.94068909 Z " fill="#00239C" transform="translate(12.141647338867188,-0.1606292724609375)"/>
4
+ <path d="M0 0 C1.83749565 -0.01925285 1.83749565 -0.01925285 3.71211243 -0.03889465 C5.05571082 -0.04706237 6.39931378 -0.05450604 7.74291992 -0.0612793 C8.41886389 -0.06535482 9.09480785 -0.06943035 9.79123497 -0.07362938 C13.36960927 -0.09448933 16.94794524 -0.10879078 20.52636719 -0.11816406 C24.21867292 -0.12922282 27.91037503 -0.16361566 31.60246754 -0.20333576 C34.44468794 -0.22950944 37.28676476 -0.23785654 40.12909508 -0.24144554 C41.48984538 -0.2463104 42.8505893 -0.25792176 44.21122169 -0.27648354 C46.11853089 -0.30088366 48.02613384 -0.29748929 49.93359375 -0.29296875 C51.01788162 -0.29883499 52.10216949 -0.30470123 53.21931458 -0.31074524 C56.86654226 0.29400752 58.52626077 1.63652802 61.16088867 4.17700195 C62.54314883 6.94152228 62.25614254 9.22313826 62.22338867 12.30200195 C62.21436523 13.39770508 62.2053418 14.4934082 62.19604492 15.62231445 C62.18444336 16.46536133 62.1728418 17.3084082 62.16088867 18.17700195 C55.98619204 18.25123994 49.81175607 18.30564608 43.63671875 18.34179688 C41.53673781 18.35686967 39.43678828 18.37733137 37.33691406 18.40332031 C34.31592043 18.43976949 31.29534356 18.45674355 28.27416992 18.4699707 C27.33753006 18.48545456 26.4008902 18.50093842 25.43586731 18.51689148 C20.36464019 18.51819649 17.41383115 18.18564024 13.16088867 15.17700195 C9.52849054 15.00536525 9.52849054 15.00536525 6.16088867 16.17700195 C3.60317135 18.97450527 3.14615503 20.45505357 3.22338867 24.23950195 C4.31755912 27.66790268 5.21661132 29.1080503 8.16088867 31.17700195 C11.16088867 31.76033529 11.16088867 31.76033529 14.16088867 31.17700195 C14.70237549 30.68337158 15.2438623 30.18974121 15.80175781 29.68115234 C19.31463202 27.44139057 22.86528525 27.68961623 26.90698242 27.6730957 C27.75511002 27.6631105 28.60323761 27.65312531 29.47706604 27.64283752 C31.2681898 27.62767186 33.05939804 27.62061125 34.85058594 27.62109375 C37.58630291 27.61453095 40.31839175 27.56003661 43.0534668 27.50317383 C44.79629296 27.49437122 46.53913631 27.48841736 48.28198242 27.4855957 C49.09670517 27.46403915 49.91142792 27.4424826 50.75083923 27.42027283 C55.14475818 27.47311228 56.70438448 27.79056997 60.17651367 30.72973633 C62.43076923 34.64583974 62.87350852 37.623383 62.78979492 42.0246582 C62.79220688 42.75897568 62.79461884 43.49329315 62.79710388 44.24986267 C62.79612927 45.79374625 62.78282772 47.33766645 62.7578125 48.88134766 C62.72342562 51.23697056 62.73718793 53.588852 62.7565918 55.94458008 C62.74969426 57.45045532 62.7400227 58.95632095 62.72729492 60.4621582 C62.73473473 61.51077782 62.73473473 61.51077782 62.74232483 62.58058167 C62.62773275 67.363316 61.53998864 69.81290442 58.16088867 73.17700195 C55.46421666 74.52533796 53.34117034 74.32653048 50.32177734 74.35400391 C48.48428169 74.37325676 48.48428169 74.37325676 46.60966492 74.39289856 C45.26606653 74.40106628 43.92246357 74.40850995 42.57885742 74.4152832 C41.90291346 74.41935873 41.22696949 74.42343426 40.53054237 74.42763329 C36.95216808 74.44849324 33.37383211 74.46279468 29.79541016 74.47216797 C26.10310442 74.48322673 22.41140231 74.51761956 18.71930981 74.55733967 C15.8770894 74.58351334 13.03501259 74.59186045 10.19268227 74.59544945 C8.83193197 74.60031431 7.47118804 74.61192567 6.11055565 74.63048744 C4.20324645 74.65488757 2.2956435 74.6514932 0.38818359 74.64697266 C-0.69610428 74.6528389 -1.78039215 74.65870514 -2.89753723 74.66474915 C-6.54476492 74.05999638 -8.20448343 72.71747588 -10.83911133 70.17700195 C-12.22137149 67.41248163 -11.9343652 65.13086565 -11.90161133 62.05200195 C-11.89258789 60.95629883 -11.88356445 59.8605957 -11.87426758 58.73168945 C-11.86266602 57.88864258 -11.85106445 57.0455957 -11.83911133 56.17700195 C-5.66441469 56.10276397 0.51002128 56.04835782 6.68505859 56.01220703 C8.78503953 55.99713423 10.88498907 55.97667254 12.98486328 55.95068359 C16.00585691 55.91423442 19.02643378 55.89726036 22.04760742 55.8840332 C22.98424728 55.86854935 23.92088715 55.85306549 24.88591003 55.83711243 C29.95713715 55.83580742 32.9079462 56.16836367 37.16088867 59.17700195 C40.79328681 59.34863865 40.79328681 59.34863865 44.16088867 58.17700195 C46.71860599 55.37949863 47.17562231 53.89895034 47.09838867 50.11450195 C46.00421823 46.68610122 45.10516602 45.2459536 42.16088867 43.17700195 C39.16088867 42.59366862 39.16088867 42.59366862 36.16088867 43.17700195 C35.61940186 43.67063232 35.07791504 44.1642627 34.52001953 44.67285156 C31.00714532 46.91261334 27.4564921 46.66438768 23.41479492 46.6809082 C22.56666733 46.6908934 21.71853973 46.7008786 20.8447113 46.71116638 C19.05358754 46.72633205 17.2623793 46.73339265 15.47119141 46.73291016 C12.73547443 46.73947296 10.00338559 46.7939673 7.26831055 46.85083008 C5.52548439 46.85963269 3.78264103 46.86558654 2.03979492 46.8684082 C1.22507217 46.88996475 0.41034943 46.9115213 -0.42906189 46.93373108 C-4.82298084 46.88089163 -6.38260714 46.56343393 -9.85473633 43.62426758 C-12.10899189 39.70816417 -12.55173118 36.7306209 -12.46801758 32.3293457 C-12.47042953 31.59502823 -12.47284149 30.86071075 -12.47532654 30.10414124 C-12.47435192 28.56025766 -12.46105038 27.01633746 -12.43603516 25.47265625 C-12.40164828 23.11703335 -12.41541058 20.76515191 -12.43481445 18.40942383 C-12.42791692 16.90354858 -12.41824535 15.39768295 -12.40551758 13.8918457 C-12.41047745 13.19276596 -12.41543732 12.49368622 -12.42054749 11.77342224 C-12.30595541 6.9906879 -11.21821129 4.54109949 -7.83911133 1.17700195 C-5.14243932 -0.17133405 -3.019393 0.02747343 0 0 Z " fill="#00249C" transform="translate(34.839111328125,22.822998046875)"/>
5
+ </svg>
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Multiwoven
4
4
  module Integrations
5
- VERSION = "0.14.1"
5
+ VERSION = "0.15.0"
6
6
 
7
7
  ENABLED_SOURCES = %w[
8
8
  Snowflake
@@ -43,6 +43,7 @@ module Multiwoven
43
43
  MicrosoftExcel
44
44
  MicrosoftSql
45
45
  Mailchimp
46
+ AISDataStore
46
47
  ].freeze
47
48
  end
48
49
  end
@@ -14,9 +14,11 @@
14
14
  "order": 0
15
15
  },
16
16
  "headers": {
17
- "type": "string",
18
17
  "title": "Http Headers",
19
- "order": 1
18
+ "order": 1,
19
+ "additionalProperties": {
20
+ "type": "string"
21
+ }
20
22
  },
21
23
  "config": {
22
24
  "title": "",
@@ -31,6 +33,20 @@
31
33
  }
32
34
  },
33
35
  "order": 2
36
+ },
37
+ "request_format": {
38
+ "title": "Request Format",
39
+ "description": "Sample Request Format",
40
+ "type": "string",
41
+ "x-request-format": true,
42
+ "order": 3
43
+ },
44
+ "response_format": {
45
+ "title": "Response Format",
46
+ "description": "Sample Response Format",
47
+ "type": "string",
48
+ "x-response-format": true,
49
+ "order": 4
34
50
  }
35
51
  }
36
52
  }
@@ -93,6 +93,7 @@ require_relative "integrations/destination/oracle_db/client"
93
93
  require_relative "integrations/destination/microsoft_excel/client"
94
94
  require_relative "integrations/destination/microsoft_sql/client"
95
95
  require_relative "integrations/destination/mailchimp/client"
96
+ require_relative "integrations/destination/ais_data_store/client"
96
97
 
97
98
  module Multiwoven
98
99
  module Integrations
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multiwoven-integrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.1
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Subin T P
@@ -590,6 +590,10 @@ files:
590
590
  - lib/multiwoven/integrations/destination/airtable/config/spec.json
591
591
  - lib/multiwoven/integrations/destination/airtable/icon.svg
592
592
  - lib/multiwoven/integrations/destination/airtable/schema_helper.rb
593
+ - lib/multiwoven/integrations/destination/ais_data_store/client.rb
594
+ - lib/multiwoven/integrations/destination/ais_data_store/config/meta.json
595
+ - lib/multiwoven/integrations/destination/ais_data_store/config/spec.json
596
+ - lib/multiwoven/integrations/destination/ais_data_store/icon.svg
593
597
  - lib/multiwoven/integrations/destination/databricks_lakehouse/client.rb
594
598
  - lib/multiwoven/integrations/destination/databricks_lakehouse/config/meta.json
595
599
  - lib/multiwoven/integrations/destination/databricks_lakehouse/config/spec.json