Skip to content

Commit 8aa966a

Browse files
Matovidloclaude
andcommitted
fix: update E2E test fixtures for keboola.ex-db-mysql schema changes
- Add schema validation warning to expected-stderr for pull-ignore-configs (mocked API now requires port/user/#password) - Add schema validation warning to create-test-two/expected-stderr (real API requires port/user) - Clear template-test-run/local-one/expected-stderr (real API no longer emits warnings) - Update create/config and create/config-row output fixtures: SDK v2.18.0 now returns normalized default values instead of {} - Revert ok-legacy .env.local: BASE_URL/BRANCH_ID/WORKSPACE_ID are not generated for Snowflake legacy workspaces Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent cea00f2 commit 8aa966a

6 files changed

Lines changed: 77 additions & 19 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Warning:
2+
- Validation failed:
3+
- Config "main/extractor/keboola.ex-db-mysql/with-rows/config.json" doesn't match schema:
4+
- "db": missing properties "port", "user", "#password"
5+
6+
The project has been pulled, but it is not in a valid state.
7+
Please correct the problems listed above.
8+
Push will proceed with warnings for configs already accepted by the server.
Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1-
{}
1+
{
2+
"parameters": {
3+
"advancedMode": false,
4+
"columns": [
5+
""
6+
],
7+
"enabled": false,
8+
"id": 0,
9+
"incremental": false,
10+
"incrementalFetchingColumn": "",
11+
"incrementalFetchingLimit": 0,
12+
"name": "",
13+
"outputTable": "",
14+
"primaryKey": [
15+
""
16+
],
17+
"query": "",
18+
"table": "",
19+
"tables": []
20+
}
21+
}
Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,41 @@
1-
{}
1+
{
2+
"parameters": {
3+
"db": {
4+
"#password": "",
5+
"database": "",
6+
"host": "",
7+
"initQueries": [
8+
""
9+
],
10+
"networkCompression": false,
11+
"port": 0,
12+
"ssh": {
13+
"#privateKey": "",
14+
"enabled": false,
15+
"keys": {
16+
"#private": "",
17+
"public": ""
18+
},
19+
"localPort": 0,
20+
"remoteHost": "",
21+
"remotePort": 0,
22+
"sshHost": "",
23+
"sshPort": 22,
24+
"user": ""
25+
},
26+
"ssl": {
27+
"#ca": "",
28+
"#cert": "",
29+
"#key": "",
30+
"ca": "",
31+
"cert": "",
32+
"cipher": "",
33+
"enabled": false,
34+
"ignoreCertificateCn": false,
35+
"verifyServerCert": false
36+
},
37+
"transactionIsolationLevel": "",
38+
"user": ""
39+
}
40+
}
41+
}
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
DBT_KBC_TARGET1_ACCOUNT=%s
2-
DBT_KBC_TARGET1_BASE_URL=%s
3-
DBT_KBC_TARGET1_BRANCH_ID=%s
42
DBT_KBC_TARGET1_DATABASE=%s
53
DBT_KBC_TARGET1_PRIVATE_KEY="%s"
64
DBT_KBC_TARGET1_SCHEMA=%s
75
DBT_KBC_TARGET1_TYPE=%s
86
DBT_KBC_TARGET1_USER=%s
97
DBT_KBC_TARGET1_WAREHOUSE=%s
10-
DBT_KBC_TARGET1_WORKSPACE_ID=%s
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Warning:
2+
- Validation failed:
3+
- Config "main/extractor/keboola.ex-db-mysql/with-rows/config.json" doesn't match schema:
4+
- "db": missing properties "port", "user"
5+
6+
Please correct the problems listed above.
7+
Push operation is only possible when project is valid.
Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +0,0 @@
1-
WARN Warning:
2-
- Validation failed:
3-
- Config "main/extractor/keboola.ex-db-mysql/with-rows/config.json" doesn't match schema:
4-
- "db": missing properties "port", "user", "#password"
5-
WARN
6-
WARN Please correct the problems listed above.
7-
WARN Push operation is only possible when project is valid.
8-
WARN Warning:
9-
- Validation failed:
10-
- Config "main/extractor/keboola.ex-db-mysql/with-rows/config.json" doesn't match schema:
11-
- "db": missing properties "port", "user", "#password"
12-
WARN
13-
WARN Please correct the problems listed above.
14-
WARN Push operation is only possible when project is valid.

0 commit comments

Comments
 (0)