Skip to content

Commit

Permalink
feat: added syncFilesReport in options for s3 source (#1550)
Browse files Browse the repository at this point in the history
Co-authored-by: ItsSudip <[email protected]>
Co-authored-by: Sudip Paul <[email protected]>
  • Loading branch information
3 people authored Jul 19, 2024
1 parent 7f99dd2 commit ed432b0
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/configurations/destinations/ga4_v2/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2156,4 +2156,4 @@
}
}
}
}
}
3 changes: 2 additions & 1 deletion src/configurations/sources/s3/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"displayName": "Amazon S3",
"options": {
"skipWarehouseSchemaConfig": true,
"isCredentialsValidationSupported": true
"isCredentialsValidationSupported": true,
"syncReportType": "file"
},
"type": "warehouse"
}
51 changes: 50 additions & 1 deletion src/configurations/sources/s3/schema.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,52 @@
{
"configSchema": null
"configSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [],
"type": "object",
"properties": {},
"oneOf": [
{
"if": {
"properties": {
"connectionMode": {
"const": "accessKey"
}
},
"required": ["connectionMode"]
},
"then": {
"properties": {
"accessKeyID": {
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$"
},
"accessKey": {
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$"
}
},
"required": ["accessKeyID", "accessKey"]
}
},
{
"if": {
"properties": {
"connectionMode": {
"const": "crossAccountRole"
}
},
"required": ["connectionMode"]
},
"then": {
"properties": {
"roleARN": {
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$"
}
},
"required": ["roleARN"]
}
}
]
}
}

0 comments on commit ed432b0

Please sign in to comment.