-
Notifications
You must be signed in to change notification settings - Fork 2
Arrowhead 4.1.2 Client Commons
Currently unmanaged dependency.
Next to each Application System should be a folder named config. In that folder are the config files.
TODO: how the config files work
The config folder also contains the folder of the certificates required to run a secure service.
This function without parameters searches for a config file in the config folder either named default.conf (in case if Core Systems) or app.conf (in case of Application Systems) (Doesn't crash and uses app.conf if both are present.), and makes a Type Safe Properties object out of them.
With a string parameter, it gets the Type Safe Properties object of the file named as such.
From the IP address, port number, path, security (yes/no), creates the URI, or throws an exception.
Reads a properties file, like the java util Properties, but has functions that return a specific type (or throw an exception, if the type of the read object isn't the desired one.