Skip to content

Commit

Permalink
Merge pull request #260 from apache/SLING-12117
Browse files Browse the repository at this point in the history
SLING-12117 - Moving ServiceUnavailableFilter~startupandshutdown to app/starter feature
  • Loading branch information
klcodanr committed Oct 24, 2023
2 parents cea42bd + 22809de commit d2db799
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
16 changes: 15 additions & 1 deletion src/main/features/app/starter.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,19 @@
"id":"org.apache.sling:org.apache.sling.starter.content:1.0.14",
"start-order":"20"
}
]
],
"configurations": {
"org.apache.felix.hc.core.impl.filter.ServiceUnavailableFilter~startupandshutdown":{
"osgi.http.whiteboard.filter.regex":"(?!/system/).*",
"avoid404DuringStartup":true,
"service.ranking:Integer":"2147483647",
"includeExecutionResult":false,
"osgi.http.whiteboard.context.select":"(osgi.http.whiteboard.context.name=*)",
"tags":[
"systemalive"
],
"autoDisableFilter":true,
"responseTextFor503":"classpath:org.apache.sling.starter.content:startup/index.html"
}
}
}
12 changes: 0 additions & 12 deletions src/main/features/healthcheck.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,6 @@
"system-resources"
]
},
"org.apache.felix.hc.core.impl.filter.ServiceUnavailableFilter~startupandshutdown":{
"osgi.http.whiteboard.filter.regex":"(?!/system/).*",
"avoid404DuringStartup":true,
"service.ranking:Integer":"2147483647",
"includeExecutionResult":false,
"osgi.http.whiteboard.context.select":"(osgi.http.whiteboard.context.name=*)",
"tags":[
"systemalive"
],
"autoDisableFilter":true,
"responseTextFor503":"classpath:org.apache.sling.starter.content:startup/index.html"
},
"org.apache.felix.hc.core.impl.servlet.HealthCheckExecutorServlet~default":{
"servletPath":"/system/health",
"servletContextName":"org.osgi.service.http"
Expand Down

0 comments on commit d2db799

Please sign in to comment.