-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v0.12.0-beta - Preliminary Neo4j Support current as of 4.0 MR03 (#107)
* refactor InspectionResult -> Advice with unit tests * 4.0 MR code spike * 4.0 MR code spike 2 - stop/start/drop/create databases * progress on #102 security rules * bare queries * [email protected] * ability to run queries against systemdb * database administration start/stop/drop/create * database create/stop/start/delete lifecycle events working * v4.0 changes default_advertised_address config key * fixed auth provider detection for 4.0 * fixed multidb detection for 4.0 * cleanup * page cache tracking re-enabled for 4.0 * add getDefaultDatabase method * don't allow administration of default db or system db * re-enable transaction monitor for 4.0 * allow queries to be run against particular databases * first commit of privileges table for 4.0 * re-enable transaction monitor for 4.0 * cleanup * add privileges kb entry * shim buttons for grant/deny/revoke * leaky promise cleanup * tabbed layout * multidb systems always have a system graph * branch builds * correct aws cli path * fix paths in cache invalidation * when running diagnostics, tags are supported * disable unimplemented buttons for time being * export the status API * return shim databases for pre-4.0 * disable add database button for < 4.0 * full correct URLs in build output * first working commit to alter privileges * incorporate AlterPrivilegeForm * incorporate privilege operations * lint * create operations from system results * deny/revoke individual privileges * move more things into state * lock down modals for individual rows * build more robust mappings * locked forms don't permit editing dropdowns * deprecate old PageCache component * remove deprecated PageCache component from OSPane * Add popup default status * fixes #105 warn on default tx_log retention policy * slight modifications for 4.0.0-beta1 * fix finding missing parameters * run queries against systemdb * set global systemdb constant * globally use driver's SYSTEM_DB constant * 4.0MR3 fix: users, roles against systemdb * run all manager queries on systemdb * account for difference between graph and database * revoke and deny get red buttons * 4.0 transition comments * disable disk utilization for Neo4j 4 * run queries on systemdb * major package update for security fixes * npx react-codemod rename-unsafe-lifecycles https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html * dependency updates * disable privilege features not yet ready for initial 4.0 support * upgrade driver parameter syntax * make 4.0 driver work with Neo4j < 4.0 * ApocMetaStats component first commit * error handling * hoc APOC only wrapper * error handling and state updates * big scary message before you drop a database * version 0.12.0-beta
- Loading branch information
moxious
authored
Nov 20, 2019
1 parent
eafc395
commit 66ce361
Showing
96 changed files
with
2,942 additions
and
545 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
|
@@ -27,3 +27,4 @@ grafana | |
src/creds/* | ||
reports | ||
code-signing | ||
neo4j-* |
This file contains 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 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
# Quick script to start a community instance for testing. | ||
docker stop neo4j-empty | ||
|
||
PASSWORD=admin | ||
CWD=`pwd` | ||
NEO4J=neo4j:4.0.0-alpha09mr02-enterprise | ||
|
||
docker run -d --name neo4j-empty --rm \ | ||
-p 127.0.0.1:7474:7474 \ | ||
-p 127.0.0.1:7687:7687 \ | ||
--env=NEO4J_ACCEPT_LICENSE_AGREEMENT=yes \ | ||
--env=NEO4J_dbms_memory_pagecache_size=1G \ | ||
--env=NEO4J_dbms_memory_heap_initial__size=2G \ | ||
--env=NEO4J_dbms_memory_heap_max__size=4G \ | ||
--env NEO4J_AUTH=neo4j/admin \ | ||
--env NEO4J_dbms_max__databases=5 \ | ||
-t $NEO4J | ||
|
||
echo "When you're ready to run some cypher, execute this:" | ||
echo docker exec --interactive --tty neo4j-empty bin/cypher-shell -a localhost -u neo4j -p $PASSWORD |
This file contains 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 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 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/** | ||
* A database is a graph that can be stored within Neo4j. | ||
* | ||
* Multi-database starts with Neo4j >= 4.0. For versions of Neo4j prior to 4, | ||
* the HalinContext will fake a single database. | ||
*/ | ||
|
||
export default class Database { | ||
constructor(name, status, isDefault=false) { | ||
this.name = name; | ||
this.status = status; | ||
this.isDefault = isDefault; | ||
} | ||
|
||
getLabel() { | ||
return this.name; | ||
} | ||
|
||
getStatus() { | ||
return this.status; | ||
} | ||
|
||
isOnline() { return this.status === 'online'; } | ||
} |
This file contains 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 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
Oops, something went wrong.