Skip to content

Commit

Permalink
Update neo4j url in app, and init provider example.
Browse files Browse the repository at this point in the history
This is v1.2.1
  • Loading branch information
aplf committed Nov 26, 2023
1 parent d8e5257 commit bbbd8b2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion phylodb/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = 'pt.ist.meic'
version = '1.2.0'
version = '1.2.1'
sourceCompatibility = '11'

repositories {
Expand Down
2 changes: 1 addition & 1 deletion phylodb/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spring.data.neo4j.uri=bolt://localhost:7687
spring.data.neo4j.uri=bolt://phylodb-neo4j:7687
spring.data.neo4j.username=neo4j
spring.data.neo4j.password=password

Expand Down
4 changes: 2 additions & 2 deletions scripts/init/init_data.cypher
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
CALL apoc.cypher.runMany("MATCH(n) DETACH DELETE n;
CREATE (:User {provider: 'example', id: 'john.doe@example.net', deprecated: false})-[:CONTAINS_DETAILS {from: datetime(), version: 1}]->(:UserDetails {role: 'admin'})
CREATE (:User {provider: 'example', id: 'jane.doe@example.net', deprecated: false})-[:CONTAINS_DETAILS {from: datetime(), version: 1}]->(:UserDetails {role: 'admin'});", {});
CREATE (:User {provider: 'google', id: 'john.doe@gmail.com', deprecated: false})-[:CONTAINS_DETAILS {from: datetime(), version: 1}]->(:UserDetails {role: 'admin'})
CREATE (:User {provider: 'google', id: 'jane.doe@gmail.com', deprecated: false})-[:CONTAINS_DETAILS {from: datetime(), version: 1}]->(:UserDetails {role: 'admin'});", {});

0 comments on commit bbbd8b2

Please sign in to comment.