-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: included also local properties to comunicate to minikube servic…
…es and local services
- Loading branch information
1 parent
5672603
commit 26530e3
Showing
3 changed files
with
80 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,4 @@ out/ | |
|
||
*.hprof | ||
|
||
src/main/resources/application.local*.properties | ||
gradle.properties |
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,40 @@ | ||
server.port=9999 | ||
|
||
# spring JPA | ||
spring.jpa.open-in-view = false | ||
#spring.jpa.hibernate.ddl-auto=update | ||
|
||
# http request handling | ||
server.error.include-stacktrace = never | ||
|
||
# logging | ||
logging.level.web = TRACE | ||
|
||
|
||
# OCN Nodep | ||
ocn.node.dev = true | ||
ocn.node.signatures = false | ||
ocn.node.url = http://localhost:9999 | ||
ocn.node.apikey = randomkey | ||
ocn.node.web3.provider = http://localhost:8555 | ||
ocn.node.web3.contracts.ocnRegistry = 0x524b431C122B1FE8352Ff243C18FF6d8E8d3307c | ||
ocn.node.privatekey = 9df16a85d24a0dab6fb2bc5c57e1068ed47d56d7518e9b0eaf1712cae718ded6 | ||
ocn.node.apiPrefix: ocn-v2 | ||
|
||
# default connection pool | ||
spring.datasource.hikari.connectionTimeout=20000 | ||
spring.datasource.hikari.maximumPoolSize=5 | ||
|
||
# database | ||
spring.datasource.url=jdbc:postgresql://localhost:5432/ocn_node | ||
spring.datasource.username=postgres | ||
spring.datasource.password=minikube | ||
|
||
# migrates on startup | ||
spring.jpa.hibernate.ddl-auto=update | ||
|
||
# disable feature detection by this undocumented parameter. Check the org.hibernate.engine.jdbc.internal.JdbcServiceImpl.configure method for more details. | ||
spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults = false | ||
|
||
# Because detection is disabled you have to set correct dialect by hand. | ||
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect |
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,40 @@ | ||
server.port=9999 | ||
|
||
# spring JPA | ||
spring.jpa.open-in-view = false | ||
#spring.jpa.hibernate.ddl-auto=update | ||
|
||
# http request handling | ||
server.error.include-stacktrace = never | ||
|
||
# logging | ||
logging.level.web = DEBUG | ||
|
||
|
||
# OCN Nodep | ||
ocn.node.dev = true | ||
ocn.node.signatures = false | ||
ocn.node.url = http://localhost:9999 | ||
ocn.node.apikey = randomkey | ||
ocn.node.web3.provider = https://volta-rpc.energyweb.org/ | ||
ocn.node.web3.contracts.ocnRegistry = 0x1934D4a099Ce4B9FB5350B8Db4a63dD4949eF6cB | ||
ocn.node.privatekey = 9df16a85d24a0dab6fb2bc5c57e1068ed47d56d7518e9b0eaf1712cae718ded6 | ||
ocn.node.apiPrefix: ocn-v2 | ||
|
||
# default connection pool | ||
spring.datasource.hikari.connectionTimeout=20000 | ||
spring.datasource.hikari.maximumPoolSize=5 | ||
|
||
# database | ||
spring.datasource.url=jdbc:postgresql://localhost:5432/ocn_node | ||
spring.datasource.username=postgres | ||
spring.datasource.password=minikube | ||
|
||
# migrates on startup | ||
spring.jpa.hibernate.ddl-auto=update | ||
|
||
# disable feature detection by this undocumented parameter. Check the org.hibernate.engine.jdbc.internal.JdbcServiceImpl.configure method for more details. | ||
spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults = false | ||
|
||
# Because detection is disabled you have to set correct dialect by hand. | ||
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect |