Skip to content

Commit cde5874

Browse files
janheisebernd
andauthored
Added a first version of a data-node startup config in Intellij (#36)
Co-authored-by: Bernd Ahlers <bernd@graylog.com>
1 parent faf7467 commit cde5874

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

idea/setup.go

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,23 @@ var runConfigurations = map[string]string{
3131
</method>
3232
</configuration>
3333
</component>
34+
`,
35+
36+
"DataNode.xml": `<component name="ProjectRunConfigurationManager">
37+
<configuration default="false" name="Graylog DataNode" type="Application" factoryName="Application" singleton="true">
38+
<envs>
39+
<env name="DEVELOPMENT" value="true" />
40+
</envs>
41+
<option name="MAIN_CLASS_NAME" value="org.graylog.datanode.bootstrap.Main" />
42+
<module name="data-node" />
43+
<option name="PROGRAM_PARAMETERS" value="datanode -f datanode.conf -np --local" />
44+
<option name="VM_PARAMETERS" value="-Xmx1g -XX:NewRatio=1 -server -XX:+ResizeTLAB -XX:-OmitStackTraceInFastThrow -XX:+PreserveFramePointer -XX:+UnlockDiagnosticVMOptions -XX:+DebugNonSafepoints -Dio.netty.leakDetection.level=paranoid" />
45+
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/../graylog-project-repos/graylog2-server" />
46+
<method v="2">
47+
<option name="Make" enabled="true" />
48+
</method>
49+
</configuration>
50+
</component>
3451
`,
3552

3653
"Web_Devserver.xml": `<component name="ProjectRunConfigurationManager">

0 commit comments

Comments
 (0)