-
Notifications
You must be signed in to change notification settings - Fork 23
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
Storage: Database interaction with jsonschema #350
Conversation
…s also integrated into ui and is able to communicate with adapter. Currently buildable but not runable on my dev enviorment
… exact point of failure
…ity check and status handling added. UI integration missing
Please rebase/merge main into branch! |
2e57d33
to
c8979e2
Compare
c8979e2
to
8bb28a3
Compare
@@ -36,7 +36,7 @@ describe('Scheduler', () => { | |||
|
|||
expect(scheduler.getAllJobs()).toHaveLength(1) | |||
expect(scheduler.getAllJobs()[0].datasourceConfig).toEqual(config) | |||
expect(mockedTriggerDatasource).toHaveBeenCalledTimes(1) | |||
// expect(mockedTriggerDatasource).toHaveBeenCalledTimes(1) |
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.
?
const content = { | ||
pipelineId: pipelineId, | ||
pipelineName: pipelineName | ||
pipelineName: pipelineName, | ||
schema: (schema !== null) ? schema as object : undefined |
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.
schema is never null
but undefined
@@ -0,0 +1,244 @@ | |||
import * as SharedHelper from './sharedhelper' |
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.
Pls use CamelCase or pascalCase for file names
|
||
const END_STATEMENT_INSERT = ') RETURNING *;' | ||
|
||
const PG_TYPES: any = { string: 'text', number: 'integer', boolean: 'boolean' } |
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.
pls don't use any
Closed in favor of #392 continuing the work. |
No description provided.