mirror of
https://github.com/corda/corda.git
synced 2025-02-20 09:26:41 +00:00
updating docs
This commit is contained in:
parent
51567e944d
commit
43ead64240
@ -22,6 +22,8 @@ Format
|
||||
The Corda configuration file uses the HOCON format which is superset of JSON. Please visit
|
||||
`<https://github.com/typesafehub/config/blob/master/HOCON.md>`_ for further details.
|
||||
|
||||
Please do NOT use double quotes in configuration keys.
|
||||
|
||||
Defaults
|
||||
--------
|
||||
A set of default configuration options are loaded from the built-in resource file ``/node/src/main/resources/reference.conf``.
|
||||
|
@ -3,9 +3,9 @@ keyStorePassword : "cordacadevpass"
|
||||
trustStorePassword : "trustpass"
|
||||
dataSourceProperties : {
|
||||
dataSourceClassName : org.h2.jdbcx.JdbcDataSource
|
||||
"dataSource.url" : "jdbc:h2:file:"${baseDirectory}"/persistence"
|
||||
"dataSource.user" : sa
|
||||
"dataSource.password" : ""
|
||||
dataSource.url : "jdbc:h2:file:"${baseDirectory}"/persistence"
|
||||
dataSource.user : sa
|
||||
dataSource.password : ""
|
||||
}
|
||||
p2pAddress : "my-corda-node:10002"
|
||||
rpcSettings = {
|
||||
|
@ -10,7 +10,6 @@ import net.corda.core.internal.div
|
||||
import net.corda.core.internal.exists
|
||||
import net.corda.nodeapi.internal.*
|
||||
import net.corda.nodeapi.internal.config.SSLConfiguration
|
||||
import net.corda.nodeapi.internal.config.toProperties
|
||||
import net.corda.nodeapi.internal.crypto.X509KeyStore
|
||||
import net.corda.nodeapi.internal.crypto.loadKeyStore
|
||||
import net.corda.nodeapi.internal.crypto.save
|
||||
@ -43,7 +42,7 @@ object ConfigHelper {
|
||||
val entrySet = finalConfig.entrySet().filter { entry -> entry.key.contains("\"") }
|
||||
for (mutableEntry in entrySet) {
|
||||
val key = mutableEntry.key
|
||||
log.error("Config files should not contain \" in property names. Please fix: ${key}")
|
||||
log.error("Config files should not contain \" in property names. Please fix: ${key}")
|
||||
}
|
||||
|
||||
return finalConfig
|
||||
|
Loading…
x
Reference in New Issue
Block a user