File tree Expand file tree Collapse file tree 5 files changed +8
-4
lines changed
lib/multiwoven/integrations
source/salesforce_consumer_goods_cloud
spec/multiwoven/integrations/source/salesforce_consumer_goods Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 7
7
PATH
8
8
remote: .
9
9
specs:
10
- multiwoven-integrations (0.1.58 )
10
+ multiwoven-integrations (0.1.59 )
11
11
activesupport
12
12
async-websocket
13
13
csv
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ class Stream < ProtocolModel
115
115
attribute? :supported_sync_modes , Types ::Array . of ( SyncMode ) . optional . default ( [ "incremental" ] )
116
116
117
117
# Applicable for database streams
118
- attribute? :source_defined_cursor , Types ::Bool . default ( false ) . optional
118
+ attribute :source_defined_cursor , Types ::Bool . default ( false )
119
119
attribute? :default_cursor_field , Types ::Array . of ( Types ::String ) . optional
120
120
attribute? :source_defined_primary_key , Types ::Array . of ( Types ::Array . of ( Types ::String ) ) . optional
121
121
attribute? :namespace , Types ::String . optional
Original file line number Diff line number Diff line change 2
2
3
3
module Multiwoven
4
4
module Integrations
5
- VERSION = "0.1.58 "
5
+ VERSION = "0.1.59 "
6
6
7
7
ENABLED_SOURCES = %w[
8
8
Snowflake
Original file line number Diff line number Diff line change @@ -118,7 +118,9 @@ def create_json_schema_for_object(metadata)
118
118
"json_schema" : json_schema ,
119
119
"required" : required ,
120
120
"supported_sync_modes" : %w[ incremental ] ,
121
- "source_defined_primary_key" : [ primary_key ]
121
+ "source_defined_primary_key" : [ primary_key ] ,
122
+ "source_defined_cursor" : false ,
123
+ "default_cursor_field" : nil
122
124
}
123
125
end
124
126
end
Original file line number Diff line number Diff line change 45
45
expect ( result [ :json_schema ] ) . to be_a ( Hash )
46
46
expect ( result [ :required ] ) . to contain_exactly ( "Field1" )
47
47
expect ( result [ :supported_sync_modes ] ) . to contain_exactly ( "incremental" )
48
+ expect ( result [ :source_defined_cursor ] ) . to eq ( false )
49
+ expect ( result [ :default_cursor_field ] ) . to eq ( nil )
48
50
end
49
51
end
50
52
end
You can’t perform that action at this time.
0 commit comments