Skip to content
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

[DI-1132] Add Delete By Id Functionality #47

Merged
merged 17 commits into from
Dec 7, 2023
Merged

[DI-1132] Add Delete By Id Functionality #47

merged 17 commits into from
Dec 7, 2023

Conversation

simpat-adam
Copy link
Contributor

@simpat-adam simpat-adam commented Dec 2, 2023

  • Adds Delete By Id functionality.
  • Fixes integration tests using python.exe where the test would try to access the process after it had exited.

@simpat-adam simpat-adam force-pushed the DI-1132 branch 2 times, most recently from f376501 to 413eb2b Compare December 2, 2023 03:26
@simpat-adam simpat-adam marked this pull request as ready for review December 2, 2023 21:54
@simpat-adam simpat-adam force-pushed the DI-1132 branch 3 times, most recently from 7cab65f to 0627319 Compare December 5, 2023 19:42
@simpat-adam simpat-adam requested a review from a team as a code owner December 5, 2023 21:08
var result = new JObject { new JProperty("Id", new JObject { new JProperty("Column", node.SourceColumn) }) };
return result;
}

private JArray SerializeArray(ResourceMetadata arrayItemMetadata, IReadOnlyList<DataMapper> nodes)
Copy link
Contributor

Choose a reason for hiding this comment

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

@simpat-adam
Can we have separate DataMapSerializer class for just for Delete operations ? This will make sure to have single response across the classes. If we add delete by natural key we can plugin one more class or over loads on this class !

@@ -170,7 +171,7 @@ protected override async Task Handle(Command request, CancellationToken cancella
}
}

private async Task TransformAndPostEachRowUsingDataMap(File file, DataMap dataMap, IOdsApi odsApi, Agent agent)
private async Task TransformAndProcessEachRowUsingDataMap(File file, DataMap dataMap, IOdsApi odsApi, Agent agent)
Copy link
Contributor

Choose a reason for hiding this comment

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

Method renaming looks good 👍

@CSR2017 CSR2017 merged commit 8ac5a9e into main Dec 7, 2023
4 checks passed
@CSR2017 CSR2017 deleted the DI-1132 branch December 7, 2023 18:53
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.

2 participants