Updated to latest config lib and changed how reference config files are loaded.
* Config lib 4f3a91f * All reference files named reference.conf, all will be loaded * Usage of ConfigFactor.load as default way * Extensions use same config as ActorSystem.settings.config
This commit is contained in:
parent
8ab25a23ac
commit
b56201ab7f
72 changed files with 2361 additions and 977 deletions
|
|
@ -6,7 +6,6 @@ import org.scalatest.matchers.MustMatchers
|
|||
//#imports
|
||||
import akka.actor.ActorSystem
|
||||
import com.typesafe.config.ConfigFactory
|
||||
import com.typesafe.config.ConfigParseOptions
|
||||
|
||||
//#imports
|
||||
|
||||
|
|
@ -21,7 +20,7 @@ class ConfigDocSpec extends WordSpec {
|
|||
nr-of-instances = 3
|
||||
}
|
||||
}
|
||||
""", ConfigParseOptions.defaults)
|
||||
""")
|
||||
val system = ActorSystem("MySystem", ConfigFactory.systemProperties.withFallback(customConf))
|
||||
//#custom-config
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue