-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FAI-13685] Write config/catalog files #97
Conversation
expect(existsSync(`${tmpDirPath}/state.json`)).toBe(true); | ||
expect(readFileSync(`${tmpDirPath}/state.json`, 'utf8')).toBe('{}'); | ||
}); | ||
describe('loadStateFile', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
didn't change these tests. just wrap it in another describe
logger.debug(`Airbyte config files written to: ${srcConfigFilePath}, ${dstConfigFilePath}`); | ||
|
||
// write catalog to temporary directory catalog files | ||
// TODO: @FAI-14134 Discover catalog |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
discover catalog will be covered in another ticket as we need to spin up docker
Quality Gate passedIssues Measures |
airbyteConfig.src.catalog && | ||
Object.keys(airbyteConfig.src.catalog).length > 0 | ||
) { | ||
airbyteConfig.dst.catalog = airbyteConfig.src.catalog; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is ok for now, but be prepared for logic generate a destination-compatible catalog based on the src catalog. It has slightly different format.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ohhhh i see. thanks for the heads up
Description
discover catalog and redact secrets will be covered in another ticket
Type of change