Questions tagged [typesafe-config]

Typesafe-config is a configuration reading library written by Typesafe.com in Java.

Lightbend Config is a configuration reading library written by Lightbend (formerly known as Typesafe) in Java. It supports HOCON, a JSON superset optimized for succinctly expressing configuration.

214 questions
0
votes
1 answer

Typesafe Config under OSGi

Libraries using Typesafe Config usually depend on one big configuration merged from /reference.conf files on the classpath. For example, Spray expects to find its config sections in the ActorSystem's Typesafe Config instance, but they aren't…
Yuri Geinish
  • 15,680
  • 5
  • 31
  • 35
0
votes
1 answer

typesafe config cannot parse url with variable

I need to connect to a PostgreSQL server based on ENV variables. The ENV vars are set by Docker. I'm using sbt-native-packager to create a docker container of my akka/play project. So i tried to add the variables to my conf: db{ default { …
magegu
  • 500
  • 3
  • 18
0
votes
2 answers

Access Play Configuration in Plain Scala Module

I have a Play app that I want to split into: rest - Play module that holds the rest interface services - plain Scala module that holds actors and external services clients (ex S3) I want to create a S3Client object class, but when instantiating…
gdogaru
  • 469
  • 5
  • 20
0
votes
0 answers

How to get name of config object?

I want to get name of config object. Example Config conf = ConfigFactory.load("file").getConfig("myexample"); And how to String name = conf.getCurrentName(); // there is no like getCurrentName method So name should be equal myexample.
LancerX
  • 1,081
  • 5
  • 22
  • 37
1 2 3
14
15