Unduplicate certificatesDirectory (#740)

This commit is contained in:
Andrzej Cichocki
2017-05-25 10:30:28 +01:00
committed by GitHub
parent 246de55433
commit ca36b4676d
5 changed files with 17 additions and 17 deletions

View File

@ -10,4 +10,9 @@ interface SSLConfiguration {
val sslKeystore: Path get() = certificatesDirectory / "sslkeystore.jks"
val nodeKeystore: Path get() = certificatesDirectory / "nodekeystore.jks"
val trustStoreFile: Path get() = certificatesDirectory / "truststore.jks"
}
}
interface NodeSSLConfiguration : SSLConfiguration {
val baseDirectory: Path
override val certificatesDirectory: Path get() = baseDirectory / "certificates"
}