At present, the auth-db connection is configured by providing a custom property file in java/src/main/resources/server.conf for the build system to incorporate into the packaged JAR. When this file is not provided for the build, there is no way to configure the auth-db connection. To enhance the code, it would be great to provide it at runtime. This could be enabled by adding a command line option to the MarcToXML class, so it could be called with an option to read from any config file at runtime.
At present, the auth-db connection is configured by providing a custom property file in
java/src/main/resources/server.conf
for the build system to incorporate into the packaged JAR. When this file is not provided for the build, there is no way to configure the auth-db connection. To enhance the code, it would be great to provide it at runtime. This could be enabled by adding a command line option to the MarcToXML class, so it could be called with an option to read from any config file at runtime.