Skip to content

Commit

Permalink
Fix formatting (#7670)
Browse files Browse the repository at this point in the history
Signed-off-by: tvallin <[email protected]>
  • Loading branch information
tvallin authored Sep 26, 2023
1 parent a57bbca commit c6f976b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
22 changes: 11 additions & 11 deletions archetypes/helidon/src/main/archetype/common/observability.xml
Original file line number Diff line number Diff line change
Expand Up @@ -504,17 +504,17 @@ curl -s -X GET http://localhost:8080/observe/health
</list>
<list key="Observe-feature-builder" if="${flavor} == 'se'">
<value><![CDATA[.addObserver(HealthObserver.builder()
.details(true)
.useSystemServices(false)
.addCheck(() -> HealthCheckResponse.builder()
.status(HealthCheckResponse.Status.UP)
.detail("time", System.currentTimeMillis())
.build(), HealthCheckType.READINESS)
.addCheck(() -> HealthCheckResponse.builder()
.status(isStarted())
.detail("time", System.currentTimeMillis())
.build(), HealthCheckType.STARTUP)
.build())]]></value>
.details(true)
.useSystemServices(false)
.addCheck(() -> HealthCheckResponse.builder()
.status(HealthCheckResponse.Status.UP)
.detail("time", System.currentTimeMillis())
.build(), HealthCheckType.READINESS)
.addCheck(() -> HealthCheckResponse.builder()
.status(isStarted())
.detail("time", System.currentTimeMillis())
.build(), HealthCheckType.STARTUP)
.build())]]></value>
</list>
<list key="Main-helidon-imports" if="${flavor} == 'se'">
<value>io.helidon.health.HealthCheckResponse</value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ public final class Main {
{{.}}
{{/Main-routing}}

routing{{#Main-routing-builder}}
routing
{{#Main-routing-builder}}
{{.}}{{#last}}; {{/last}}
{{/Main-routing-builder}}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
]]></value>
</list>
<list key="Observe-feature-builder">
<value if="${metrics}"><![CDATA[ .addObserver(MetricsObserver.create())]]></value>
<value if="${metrics}"><![CDATA[.addObserver(MetricsObserver.create())]]></value>
</list>
<list key="Abstract-tests">
<value if="${metrics}"><![CDATA[
Expand Down

0 comments on commit c6f976b

Please sign in to comment.