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
133
133
134
134
#### Hocon
135
135
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.
137
137
138
138
Development
139
139
-----------
File renamed without changes.
Original file line number Diff line number Diff line change 7
7
# statistics on data and forwards them to upstream aggregation \
8
8
# services
9
9
# processname: mad
10
- # config: /opt/mad/config/config.hocon
10
+ # config: /opt/mad/config/config.conf
11
11
# pidfile: /var/run/mad/mad.pid
12
12
13
13
# Source function library.
@@ -19,7 +19,7 @@ dir="/opt/mad"
19
19
log_dir=" $dir /logs"
20
20
exec=" /opt/mad/bin/mad"
21
21
pid_file=" /var/run/mad/mad.pid"
22
- export CONFIG_FILE=" /opt/mad/config/config.hocon "
22
+ export CONFIG_FILE=" /opt/mad/config/config.conf "
23
23
export JAVA_HOME=" $( dirname $( dirname $( readlink -f $( which java) ) ) ) "
24
24
export JVM_XMS=" 64m"
25
25
export JVM_XMX=" 1024m"
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ WORKDIR /opt/mad
23
23
ENV JVM_XMS="64m"
24
24
ENV JVM_XMX="1024m"
25
25
ENV 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 "
27
27
ENV ADDITIONAL_APP_PARAMS=""
28
28
ENV ADDITIONAL_JAVA_OPTS=""
29
29
Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ private static Builder<? extends JsonNodeSource> getFileSourceBuilder(final File
354
354
private static final Duration SHUTDOWN_TIMEOUT = Duration .create (30 , TimeUnit .SECONDS );
355
355
private static final Semaphore SHUTDOWN_SEMAPHORE = new Semaphore (0 );
356
356
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 " ;
358
358
359
359
private static final class PipelinesLaunchable implements Launchable , Runnable {
360
360
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public void testFileUnreadable() throws IOException {
60
60
61
61
@ Test
62
62
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 " );
64
64
Files .write (file .toPath (), "foo:\" bar\" " .getBytes (Charsets .UTF_8 ));
65
65
final HoconFileSource source = new HoconFileSource .Builder ()
66
66
.setFile (file )
You can’t perform that action at this time.
0 commit comments