File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
java/com/arpnetworking/metrics/mad
test/java/com/arpnetworking/configuration/jackson Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ Each of the pipeline configuration files should be placed in the *pipelinesDirec
133133
134134#### Hocon
135135
136- The daemon and pipeline configuration files may be written in [ Hocon] ( https://github.com/typesafehub/config ) when specified with a _ .hocon _ extension.
136+ The daemon and pipeline configuration files may be written in [ Hocon] ( https://github.com/typesafehub/config ) when specified with a _ .conf extension.
137137
138138Development
139139-----------
File renamed without changes.
Original file line number Diff line number Diff line change 77# statistics on data and forwards them to upstream aggregation \
88# services
99# processname: mad
10- # config: /opt/mad/config/config.hocon
10+ # config: /opt/mad/config/config.conf
1111# pidfile: /var/run/mad/mad.pid
1212
1313# Source function library.
@@ -19,7 +19,7 @@ dir="/opt/mad"
1919log_dir=" $dir /logs"
2020exec=" /opt/mad/bin/mad"
2121pid_file=" /var/run/mad/mad.pid"
22- export CONFIG_FILE=" /opt/mad/config/config.hocon "
22+ export CONFIG_FILE=" /opt/mad/config/config.conf "
2323export JAVA_HOME=" $( dirname $( dirname $( readlink -f $( which java) ) ) ) "
2424export JVM_XMS=" 64m"
2525export JVM_XMX=" 1024m"
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ WORKDIR /opt/mad
2323ENV JVM_XMS="64m"
2424ENV JVM_XMX="1024m"
2525ENV LOGBACK_CONFIG="-Dlogback.configurationFile=/opt/mad/config/logback.xml"
26- ENV APP_PARAMS="/opt/mad/config/config.hocon "
26+ ENV APP_PARAMS="/opt/mad/config/config.conf "
2727ENV ADDITIONAL_APP_PARAMS=""
2828ENV ADDITIONAL_JAVA_OPTS=""
2929
Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ private static Builder<? extends JsonNodeSource> getFileSourceBuilder(final File
354354 private static final Duration SHUTDOWN_TIMEOUT = Duration .create (30 , TimeUnit .SECONDS );
355355 private static final Semaphore SHUTDOWN_SEMAPHORE = new Semaphore (0 );
356356 private static final Thread SHUTDOWN_THREAD = new ShutdownThread ();
357- private static final String HOCON_FILE_EXTENSION = ".hocon " ;
357+ private static final String HOCON_FILE_EXTENSION = ".conf " ;
358358
359359 private static final class PipelinesLaunchable implements Launchable , Runnable {
360360
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public void testFileUnreadable() throws IOException {
6060
6161 @ Test
6262 public void testValidHocon () throws IOException {
63- final File file = new File ("./target/tmp/filter/HoconFileSourceTest/testValidHocon.hocon " );
63+ final File file = new File ("./target/tmp/filter/HoconFileSourceTest/testValidHocon.conf " );
6464 Files .write (file .toPath (), "foo:\" bar\" " .getBytes (Charsets .UTF_8 ));
6565 final HoconFileSource source = new HoconFileSource .Builder ()
6666 .setFile (file )
You can’t perform that action at this time.
0 commit comments