Skip to content

Commit 85df776

Browse files
authored
✨Source Survey Monkey: Migrate to low code (#35561)
1 parent e3f3379 commit 85df776

32 files changed

+1556
-1425
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[run]
2+
omit =
3+
source_surveymonkey/run.py

airbyte-integrations/connectors/source-surveymonkey/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ See `sample_files/sample_config.json` for a sample config file.
3030
poetry run source-surveymonkey spec
3131
poetry run source-surveymonkey check --config secrets/config.json
3232
poetry run source-surveymonkey discover --config secrets/config.json
33-
poetry run source-surveymonkey read --config secrets/config.json --catalog sample_files/configured_catalog.json
33+
poetry run source-surveymonkey read --config secrets/config.json --catalog integration_tests/configured_catalog.json
3434
```
3535

3636
### Running unit tests

airbyte-integrations/connectors/source-surveymonkey/integration_tests/abnormal_state.json

+236-15
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,243 @@
99
{
1010
"type": "STREAM",
1111
"stream": {
12-
"stream_state": {
13-
"306079584": { "date_modified": "2023-01-19T10:17:18+00:00" },
14-
"307785429": { "date_modified": "2023-01-19T10:59:43+00:00" },
15-
"307785444": { "date_modified": "2023-01-19T10:00:19+00:00" },
16-
"307785394": { "date_modified": "2023-01-19T10:00:59+00:00" },
17-
"307785402": { "date_modified": "2023-01-19T10:01:31+00:00" },
18-
"307785408": { "date_modified": "2023-01-19T10:02:08+00:00" },
19-
"307785448": { "date_modified": "2023-01-19T10:02:49+00:00" },
20-
"307784834": { "date_modified": "2023-01-19T10:03:45+00:00" },
21-
"307784863": { "date_modified": "2023-01-19T10:04:29+00:00" },
22-
"307784846": { "date_modified": "2023-01-19T10:05:05+00:00" },
23-
"307784856": { "date_modified": "2023-01-19T10:05:44+00:00" },
24-
"307785388": { "date_modified": "2023-01-19T10:06:20+00:00" },
25-
"307785415": { "date_modified": "2023-01-19T10:06:43+00:00" }
12+
"stream_descriptor": {
13+
"name": "survey_responses"
2614
},
27-
"stream_descriptor": { "name": "survey_responses" }
15+
"stream_state": {
16+
"states": [
17+
{
18+
"partition": {
19+
"survey_id": "306079584"
20+
},
21+
"cursor": {
22+
"date_modified": "2025-02-27T12:39:31"
23+
}
24+
},
25+
{
26+
"partition": {
27+
"survey_id": "307785429"
28+
},
29+
"cursor": {
30+
"date_modified": "2025-02-27T12:39:32"
31+
}
32+
},
33+
{
34+
"partition": {
35+
"survey_id": "307785444"
36+
},
37+
"cursor": {
38+
"date_modified": "2025-02-27T12:39:33"
39+
}
40+
},
41+
{
42+
"partition": {
43+
"survey_id": "307785394"
44+
},
45+
"cursor": {
46+
"date_modified": "2025-02-27T12:39:34"
47+
}
48+
},
49+
{
50+
"partition": {
51+
"survey_id": "307785402"
52+
},
53+
"cursor": {
54+
"date_modified": "2025-02-27T12:39:36"
55+
}
56+
},
57+
{
58+
"partition": {
59+
"survey_id": "307785408"
60+
},
61+
"cursor": {
62+
"date_modified": "2025-02-27T12:39:37"
63+
}
64+
},
65+
{
66+
"partition": {
67+
"survey_id": "307784834"
68+
},
69+
"cursor": {
70+
"date_modified": "2025-02-27T12:39:38"
71+
}
72+
},
73+
{
74+
"partition": {
75+
"survey_id": "307785448"
76+
},
77+
"cursor": {
78+
"date_modified": "2025-02-27T12:39:40"
79+
}
80+
},
81+
{
82+
"partition": {
83+
"survey_id": "307784863"
84+
},
85+
"cursor": {
86+
"date_modified": "2025-02-27T12:39:41"
87+
}
88+
},
89+
{
90+
"partition": {
91+
"survey_id": "307784846"
92+
},
93+
"cursor": {
94+
"date_modified": "2025-02-27T12:39:42"
95+
}
96+
},
97+
{
98+
"partition": {
99+
"survey_id": "307784856"
100+
},
101+
"cursor": {
102+
"date_modified": "2025-02-27T12:39:43"
103+
}
104+
},
105+
{
106+
"partition": {
107+
"survey_id": "307785388"
108+
},
109+
"cursor": {
110+
"date_modified": "2025-02-27T12:39:45"
111+
}
112+
},
113+
{
114+
"partition": {
115+
"survey_id": "307785415"
116+
},
117+
"cursor": {
118+
"date_modified": "2025-02-27T12:39:46"
119+
}
120+
},
121+
{
122+
"partition": {
123+
"survey_id": "510388524"
124+
},
125+
"cursor": {
126+
"date_modified": "2025-02-27T12:39:48"
127+
}
128+
}
129+
]
130+
}
131+
},
132+
"data": {
133+
"survey_responses": {
134+
"states": [
135+
{
136+
"partition": {
137+
"survey_id": "306079584"
138+
},
139+
"cursor": {
140+
"date_modified": "2025-02-27T12:39:31"
141+
}
142+
},
143+
{
144+
"partition": {
145+
"survey_id": "307785429"
146+
},
147+
"cursor": {
148+
"date_modified": "2025-02-27T12:39:32"
149+
}
150+
},
151+
{
152+
"partition": {
153+
"survey_id": "307785444"
154+
},
155+
"cursor": {
156+
"date_modified": "2025-02-27T12:39:33"
157+
}
158+
},
159+
{
160+
"partition": {
161+
"survey_id": "307785394"
162+
},
163+
"cursor": {
164+
"date_modified": "2025-02-27T12:39:34"
165+
}
166+
},
167+
{
168+
"partition": {
169+
"survey_id": "307785402"
170+
},
171+
"cursor": {
172+
"date_modified": "2025-02-27T12:39:36"
173+
}
174+
},
175+
{
176+
"partition": {
177+
"survey_id": "307785408"
178+
},
179+
"cursor": {
180+
"date_modified": "2025-02-27T12:39:37"
181+
}
182+
},
183+
{
184+
"partition": {
185+
"survey_id": "307784834"
186+
},
187+
"cursor": {
188+
"date_modified": "2025-02-27T12:39:38"
189+
}
190+
},
191+
{
192+
"partition": {
193+
"survey_id": "307785448"
194+
},
195+
"cursor": {
196+
"date_modified": "2025-02-27T12:39:40"
197+
}
198+
},
199+
{
200+
"partition": {
201+
"survey_id": "307784863"
202+
},
203+
"cursor": {
204+
"date_modified": "2025-02-27T12:39:41"
205+
}
206+
},
207+
{
208+
"partition": {
209+
"survey_id": "307784846"
210+
},
211+
"cursor": {
212+
"date_modified": "2025-02-27T12:39:42"
213+
}
214+
},
215+
{
216+
"partition": {
217+
"survey_id": "307784856"
218+
},
219+
"cursor": {
220+
"date_modified": "2025-02-27T12:39:43"
221+
}
222+
},
223+
{
224+
"partition": {
225+
"survey_id": "307785388"
226+
},
227+
"cursor": {
228+
"date_modified": "2025-02-27T12:39:45"
229+
}
230+
},
231+
{
232+
"partition": {
233+
"survey_id": "307785415"
234+
},
235+
"cursor": {
236+
"date_modified": "2025-02-27T12:39:46"
237+
}
238+
},
239+
{
240+
"partition": {
241+
"survey_id": "510388524"
242+
},
243+
"cursor": {
244+
"date_modified": "2025-02-27T12:39:48"
245+
}
246+
}
247+
]
248+
}
28249
}
29250
}
30251
]

0 commit comments

Comments
 (0)