Skip to content

refactor: re-implement cud strategy#127

Merged
ali-ince merged 13 commits intoneo4j:mainfrom
ali-ince:refactor-cud-strategy
Jun 11, 2024
Merged

refactor: re-implement cud strategy#127
ali-ince merged 13 commits intoneo4j:mainfrom
ali-ince:refactor-cud-strategy

Conversation

@ali-ince
Copy link
Contributor

This PR;

  • introduces a simple CUD file format schema
  • rewrites CUD file format into individual data classes for each operation so that each is responsible for it's own cypher statement building.

Based on #120

@ali-ince ali-ince requested a review from a team as a code owner May 29, 2024 13:36
@ali-ince ali-ince changed the title refactor: re-implement cud sink strategy refactor: re-implement cud strategy May 29, 2024
@TopicProducer(TOPIC) producer: ConvertingKafkaProducer,
session: Session
) = runTest {
// session
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this is left from a debug.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Contributor Author

@ali-ince ali-ince left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, added a few more suggestions for the tests.

@ali-ince ali-ince enabled auto-merge (squash) June 11, 2024 16:31
@ali-ince ali-ince merged commit 9ee0907 into neo4j:main Jun 11, 2024
@ali-ince ali-ince deleted the refactor-cud-strategy branch June 11, 2024 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants