Skip to content

Commit dfde7da

Browse files
committed
commit
1 parent d1e4a3c commit dfde7da

File tree

3 files changed

+63
-6
lines changed

3 files changed

+63
-6
lines changed

hibernate/ifinances/src/main/resources/application.properties

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# mysql
22
#spring.datasource.driver-class-name=com.mysql.jdbc.Driver
3-
spring.datasource.url=jdbc:mysql://localhost:3306/ifinances?useSSL=false&serverTimezone=UTC&useLegacyDatetimeCode=false
3+
spring.datasource.url=jdbc:mysql://localhost:3306/ifinances?useSSL=false&serverTimezone=UTC&useLegacyDatetimeCode=false&cachePrepStmts=true&useServerPrepStmts=true&rewriteBatchedStatements=true
4+
spring.jpa.properties.hibernate.jdbc.batch_size=100
45
spring.datasource.username=root
56
spring.datasource.password=ENC(YOUR ENCRYPTED PASSWORD obtained by running below mentioned command)
67
jasypt.encryptor.password=${SECRET_ENCRYPTION_KEY}
78
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
89
spring.jpa.hibernate.ddl-auto = update
910
spring.jpa.properties.hibernate.format_sql=true
11+
spring.jpa.show-sql=true
1012

1113
# Encrypt the password using
1214
# java -cp jasypt-1.9.3.jar org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI input=<DB-PASSWD> password=<SECRETKEY> algorithm=PBEWITHHMACSHA512ANDAES_256 ivGeneratorClassName=org.jasypt.iv.RandomIvGenerator

network-overview/pom.xml

Lines changed: 53 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>2.2.7.RELEASE</version>
8+
<version>2.3.1.RELEASE</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>com.rakeshv</groupId>
1212
<artifactId>network-overview</artifactId>
13-
<version>0.0.1-SNAPSHOT</version>
13+
<version>0.0.1</version>
1414
<name>network-overview</name>
1515
<description>Demo project for Spring Boot</description>
1616

@@ -19,6 +19,22 @@
1919
</properties>
2020

2121
<dependencies>
22+
<dependency>
23+
<groupId>org.neo4j.springframework.data</groupId>
24+
<artifactId>spring-data-neo4j-rx</artifactId>
25+
<version>1.0.0-beta01</version>
26+
</dependency>
27+
<dependency>
28+
<groupId>org.neo4j.springframework.data</groupId>
29+
<artifactId>spring-data-neo4j-rx-spring-boot-starter</artifactId>
30+
<version>1.1.1</version>
31+
</dependency>
32+
<dependency>
33+
<groupId>org.neo4j.springframework.data</groupId>
34+
<artifactId>spring-data-neo4j-rx-spring-boot-test-autoconfigure</artifactId>
35+
<version>1.1.1</version>
36+
<scope>test</scope>
37+
</dependency>
2238
<dependency>
2339
<groupId>org.springframework.boot</groupId>
2440
<artifactId>spring-boot-starter-actuator</artifactId>
@@ -116,4 +132,39 @@
116132
</plugins>
117133
</build>
118134

135+
<profiles>
136+
<profile>
137+
<id>revisionMissing</id>
138+
<activation>
139+
<property>
140+
<name>!revision</name>
141+
</property>
142+
</activation>
143+
<properties>
144+
<revision>1.1.1</revision>
145+
</properties>
146+
</profile>
147+
<profile>
148+
<id>sha1Missing</id>
149+
<activation>
150+
<property>
151+
<name>!sha</name>
152+
</property>
153+
</activation>
154+
<properties>
155+
<sha1></sha1>
156+
</properties>
157+
</profile>
158+
<profile>
159+
<id>changelistMissing</id>
160+
<activation>
161+
<property>
162+
<name>!changelist</name>
163+
</property>
164+
</activation>
165+
<properties>
166+
<changelist></changelist>
167+
</properties>
168+
</profile>
169+
</profiles>
119170
</project>
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
spring.data.neo4j.uri=bolt://localhost:7687
2-
spring.data.neo4j.username=neo4j
3-
spring.data.neo4j.password=password
1+
#spring.data.neo4j.uri=bolt://localhost:7687
2+
#spring.data.neo4j.username=neo4j
3+
#spring.data.neo4j.password=password
44

55
server.port=9090
66
spring.thymeleaf.enabled=true
7+
8+
org.neo4j.driver.uri=neo4j://localhost:7687
9+
org.neo4j.driver.authentication.username=neo4j
10+
org.neo4j.driver.authentication.password=secret

0 commit comments

Comments
 (0)