-
-
Notifications
You must be signed in to change notification settings - Fork 87
Conversion to Graph Database #407
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
Merged
Merged
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
dc6a2cd
Conversion to graph-based data model: Stage 1
DMalone87 1c22d77
Add NeoModel models
DMalone87 caf7f37
Replace PGSQL with Neo4j in the backend
DMalone87 819da7b
Update .env template
DMalone87 fac44b6
Update Config/ENV values
DMalone87 3c752b9
Remove SQL Alchemy code
DMalone87 4a56bfe
Removed Sqlalchemy refrences.
DMalone87 ddb14ed
Update requirements
DMalone87 e58bc06
Remove Alembic
DMalone87 be3fc45
Update DB Models
DMalone87 2b726f3
Add request validation
DMalone87 e8ce9d9
Update Auth API endpoints
DMalone87 8df5a6c
Implement paginated responses
DMalone87 300f1d4
Move Neomodel class extensions to schemas.py
DMalone87 ae64220
Update Partners API and fix errors
DMalone87 6a2ddd9
Fix error in `to_dict()`
DMalone87 ec51733
Updated Officer APIs
DMalone87 4700ba8
Handle Node updates
DMalone87 443e786
Add Update to routes
DMalone87 961f0c3
Specify versions for core dependencies
DMalone87 39e901b
Attempting to add a test DB
DMalone87 9ebb917
Disable flake8 (temp)
DMalone87 ebb80c6
Update reqs + Test tests
DMalone87 4c0d3a8
Remove unused tests
DMalone87 7c3a970
Add app fixture
DMalone87 a8a48ae
Retry Test Github action
DMalone87 c15f16f
Change id to element_id for Cypher queries.
DMalone87 e0f20e8
Update Front end registration page to match API
DMalone87 357c5b4
Add local test DB
DMalone87 597a926
Update requirements
DMalone87 fec532a
Update Auth tests
DMalone87 7abc8a2
Add Testcleanup function
DMalone87 5c7f76f
Fix failing Agency endpoint tests
DMalone87 8042d1d
Fix officer tests
DMalone87 e625251
Fix Partner endpoint tests
DMalone87 3b2b66a
Skipping officer employment tests for now. This will require a larger…
DMalone87 40309a5
Add Test Marker to GH test DB
DMalone87 4682efb
Use health check to seed test DB
DMalone87 bbec21f
Revert Health Check hack...
DMalone87 dafb755
Update test db URI
DMalone87 3f98b9d
Update frontend user db object conections
DMalone87 d6fe459
Update Jest tests
DMalone87 ee1f928
Disable frontend tests
DMalone87 88153d8
Flake8 tests
DMalone87 91c3d07
Convert Partner -> Source
DMalone87 948b764
Update Readme to explain tests
DMalone87 0d966c5
JSONSerializable.to_dict() fixed for relationships
DMalone87 fb26193
Add Cardinality to Officer, Agency, and Unit
DMalone87 3bed2b7
Make `StructuredRel`s JSON serializable
DMalone87 5a08ee8
Add citations to officers, units, and agencies
DMalone87 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
POSTGRES_USER=postgres | ||
POSTGRES_PASSWORD=postgres | ||
POSTGRES_DB=police_data | ||
POSTGRES_HOST=db | ||
PGPORT=5432 | ||
PDT_API_PORT=5000 | ||
GRAPH_USER=neo4j | ||
GRAPH_PASSWORD=password | ||
GRAPH_DB=police_data | ||
GRAPH_URI=db | ||
GRAPH_NM_URI=db:7687 | ||
GRAPH_PORT=5432 | ||
NPDI_API_PORT=5000 | ||
MIXPANEL_TOKEN=your_mixpanel_token | ||
MAIL_SERVER=mail.yourdomain.com | ||
MAIL_PORT=465 | ||
MAIL_USE_SSL=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
why remove frontend 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.
The front end is going to change significantly pretty soon so I didn't think it was that big of a priority.
That and I didn't really understand the test that was failing at the time. It was something to do with the registration page... The page runs and completes registration successfully though.