Skip to content

Commit

Permalink
add the intellij configuration on git just in case of happening a cle…
Browse files Browse the repository at this point in the history
…ance of cache in the local machine. The configuration for the JVM set on these files helps to make it smoother to run 3 Spring Boot applications at the same time locally
  • Loading branch information
rcsoyer committed Aug 10, 2023
1 parent 265c380 commit 86c26ee
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .run/CmdApp.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="CmdApp" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" nameIsGenerated="true">
<option name="ACTIVE_PROFILES" value="dev" />
<module name="parent.cmd.main" />
<option name="PROGRAM_PARAMETERS" value="-b=&quot;1939-01-01&quot; -n=&quot;Larry Watchowsky&quot;" />
<option name="SPRING_BOOT_MAIN_CLASS" value="org.acme.micros.cmd.CmdApp" />
<option name="VM_PARAMETERS" value="-Djava.security.egd=file:/dev/./urandom -Dfile.encoding=UTF-8 -XX:+UnlockDiagnosticVMOptions -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/heap/dump.hprof -Duser.timezone=UTC -XshowSettings:vm -showversion -Xms256m -Xmx512m -XX:+UseG1GC -XX:+UseStringDeduplication" />
<extension name="software.aws.toolkits.jetbrains.core.execution.JavaAwsConnectionExtension">
<option name="credential" />
<option name="region" />
<option name="useCurrentConnection" value="false" />
</extension>
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
16 changes: 16 additions & 0 deletions .run/ServiceDiscoveryApp.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="ServiceDiscoveryApp" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" nameIsGenerated="true">
<option name="ACTIVE_PROFILES" value="dev" />
<module name="parent.service-discovery.main" />
<option name="SPRING_BOOT_MAIN_CLASS" value="org.acme.micros.servicediscovery.ServiceDiscoveryApp" />
<option name="VM_PARAMETERS" value="-Djava.security.egd=file:/dev/./urandom -Dfile.encoding=UTF-8 -XX:+UnlockDiagnosticVMOptions -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/heap/dump.hprof -Duser.timezone=UTC -XshowSettings:vm -showversion -Xms256m -Xmx512m -XX:+UseG1GC -XX:+UseStringDeduplication" />
<extension name="software.aws.toolkits.jetbrains.core.execution.JavaAwsConnectionExtension">
<option name="credential" />
<option name="region" />
<option name="useCurrentConnection" value="false" />
</extension>
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
16 changes: 16 additions & 0 deletions .run/WebApp.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="WebApp" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" nameIsGenerated="true">
<option name="ACTIVE_PROFILES" value="dev" />
<module name="parent.web-app.main" />
<option name="SPRING_BOOT_MAIN_CLASS" value="org.acme.micros.webapp.WebApp" />
<option name="VM_PARAMETERS" value="-Djava.security.egd=file:/dev/./urandom -Dfile.encoding=UTF-8 -XX:+UnlockDiagnosticVMOptions -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/heap/dump.hprof -Duser.timezone=UTC -XshowSettings:vm -showversion -Xms256m -Xmx512m -XX:+UseG1GC -XX:+UseStringDeduplication" />
<extension name="software.aws.toolkits.jetbrains.core.execution.JavaAwsConnectionExtension">
<option name="credential" />
<option name="region" />
<option name="useCurrentConnection" value="false" />
</extension>
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>

0 comments on commit 86c26ee

Please sign in to comment.