-
Notifications
You must be signed in to change notification settings - Fork 181
feat: BED-5468 - added a graph fixture loader for graph json files #1335
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
Conversation
Please run |
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.
In addition to the code bits, has this been tested in any way to make sure it works?
@superlinkx i have become the thing i sought to fix :ded: |
@superlinkx the original PoC served as a manual function test. Since this is test tooling, tests would be contrived compared to use case testing. That was why I was asking yesterday if I should convert a couple harness tests. The failure points in the code are fairly limited since there's not really any business logic. |
Having a sample test or even just running this code in some way would be sufficient, I'd just like confirmation that the code has been run in some fashion before we merge, which I'm fairly sure I brought up during that discussion. Doesn't need official tests, just a confirmed code run for now |
- Removed the manually coded Completeness harness - Updated the graph json and svg for the Completeness harness - Modified the tests that use the manually coded Completeness harness to use fixture loader instead - Added a property processor with one supported timestamp function `NOW()` - Fixed a duplicate json field in the local configs
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.
Overall looks good, we need to make sure to use the neo4j driver though
…ed some loader doc text
- reworked the semantics of loading fixtures from files and write fixtures to the graph - improved the completeness tests
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.
LGTM
Description
This adds a function for importing a graph defined in JSON
Motivation and Context
This PR addresses: BED-5468
Why is this change required? What problem does it solve?
Types of changes
Checklist: