Skip to content

Commit

Permalink
#5 chore: neo4j 환경설정 변경 및 기타 add
Browse files Browse the repository at this point in the history
  • Loading branch information
ShinHyeong committed Feb 3, 2023
1 parent 568d961 commit 263616d
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 86 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ext {

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-neo4j'
implementation 'org.springframework.boot:spring-boot-starter-security'
// implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-web'

implementation 'org.springframework.boot:spring-boot-starter-actuator'
Expand Down
13 changes: 0 additions & 13 deletions src/main/java/sg/graphServer/dto/AccountDTO.java

This file was deleted.

16 changes: 0 additions & 16 deletions src/main/java/sg/graphServer/dto/ResponseDTO.java

This file was deleted.

25 changes: 0 additions & 25 deletions src/main/java/sg/graphServer/entity/Account.java

This file was deleted.

25 changes: 7 additions & 18 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,17 @@
server:
port: 8004

org:
neo4j:
driver:
uri: neo4j://localhost:7687
authentication:
username: neo4j #default name. 따로 설정 안했으면 똑같이 적길 바람.
password: insta-users #neo4j 데스크톱 콘솔에서 설정한 값

spring:
application:
name: follow-server

name: graph-server
data:
neo4j:
database: insta-users #neo4j 데스톱에서 만든 데이터베이스명

logging:
level:
org:
springframework:
data:
neo4j: DEBUG # 내부적으로 돌아가는 native cyperQuery를 로그로 찍어줌
database: neo4j
neo4j:
authentication:
password: '0000'
username: neo4j
uri: bolt://localhost:7687

eureka:
instance:
Expand Down
13 changes: 0 additions & 13 deletions src/test/java/sg/fp/follow/FollowApplicationTests.java

This file was deleted.

0 comments on commit 263616d

Please sign in to comment.