Skip to content

Commit

Permalink
Generate docker files for quickstart and database (#4581)
Browse files Browse the repository at this point in the history
Signed-off-by: tvallin <[email protected]>
  • Loading branch information
tvallin authored Jul 21, 2022
1 parent 2594808 commit 18d6a45
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 64 deletions.
6 changes: 3 additions & 3 deletions archetypes/helidon/src/main/archetype/common/presets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
<boolean path="tracing">false</boolean>
<list path="extra"/>
<boolean path="security">false</boolean>
<boolean path="docker">false</boolean>
<boolean path="docker.native-image">false</boolean>
<boolean path="docker.jlink-image">false</boolean>
<boolean path="docker">true</boolean>
<boolean path="docker.native-image">true</boolean>
<boolean path="docker.jlink-image">true</boolean>
<boolean path="k8s">false</boolean>
<boolean path="v8o">false</boolean>
</presets>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@
<model>
<value key="title">Helidon MP Database</value>
<value key="readme-description">Helidon MP application that uses JPA with an in-memory H2 database.</value>
<list key="native-sections" if="${docker}">
<value file="files/README.native.md"
if="${docker.native-image} &amp;&amp; ${db.server} != 'mongodb'"
template="mustache"/>
</list>
<list key="readme-exercise-the-application">
<value file="files/README.md"/>
</list>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@
<list key="readme-exercise-the-application">
<value file="files/README.md"/>
</list>
<list key="readme-sections" if="${docker}">
<value file="files/README.native.md" if="${docker.native-image}" template="mustache"/>
</list>
<list key="MainTest-java-imports">
<value>jakarta.ws.rs.client.Entity</value>
<value>jakarta.ws.rs.core.MediaType</value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<list key="Main-routingBuilder">
<value><![CDATA[ .register("/simple-greet", simpleGreetService)]]></value>
</list>
<value key="Main-readyMessage">System.out.println("WEB server is up! http://localhost:" + ws.port() + "/simple-greet");</value>
<value key="Main-readyMessage" if="${app-type} != 'quickstart'">System.out.println("WEB server is up! http://localhost:" + ws.port() + "/simple-greet");</value>
<list key="config-entries">
<value file="files/src/main/resources/application.config.yaml"/>
</list>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@
<list key="readme-exercise-the-application">
<value file="files/README.md" template="mustache"/>
</list>
<list key="readme-sections" if="${docker} &amp;&amp; ${db}">
<value file="files/README.native.md"
if="${docker.native-image} &amp;&amp; ${db.server} != 'mongodb'"
template="mustache"/>
</list>
</model>
</output>
</archetype-script>

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,13 @@
<list key="readme-exercise-the-application">
<value file="files/README.md"/>
</list>
<list key="readme-sections" if="${docker}">
<value file="files/README.native.md" if="${docker.native-image}" template="mustache"/>
</list>
<list key="Main-createRouting">
<value><![CDATA[ GreetService greetService = new GreetService(config);]]></value>
</list>
<list key="Main-routingBuilder">
<value><![CDATA[ .register("/greet", greetService)]]></value>
</list>
<value key="Main-readyMessage">System.out.println("WEB server is up! http://localhost:" + ws.port() + "/greet");</value>
</model>
</output>
</archetype-script>

0 comments on commit 18d6a45

Please sign in to comment.