shinesolutions / aem-healthcheck Goto Github PK
View Code? Open in Web Editor NEWServlet used to expose JMX health check results via HTTP
License: Apache License 2.0
Servlet used to expose JMX health check results via HTTP
License: Apache License 2.0
/system/health currently requires authentication (responds with 401 if none supplied), which is not always possible, e.g. when the health check is meant to be performed from an ELB - we can't put any credential in plain text there.
Hence we need to be able to access the health check without authentication.
The application is currently setup to install a content package as well as an OSGi bundle. However the content package only consists of an empty /apps/healthcheck
directory which is not serving any purpose.
The Maven project should be modified to only install the OSGi bundle.
In AEM 6.3, any bundles using loginAdministrative
need to be whitelisted via org.apache.sling.jcr.base.internal.LoginAdminWhitelist.fragment
The following values should be made configurable so that they can be tailored to an instance's needs:
ReplicationQueueHealthCheck
private static final int MAX_REPLICATION_TRIES = 3;
SlingJobsHealthCheck
private static final int MAX_JOBS_QUEUED = 1000;
An OSGi configuration should be able to be used to specify a list of bundle symbolic names. Bundles part of this white list should be ignored for the purposes of the health check.
This feature is required because some bundles (i.e. webdav) are intentionally disabled for security purposes.
Other than health check type tags, we also need to introduce health check level tags.
shallow
will be executed very frequently (think an ELB doing a heartbeat), it should be minimum check that indicates that AEM is healthy, it shouldn't consume much resource on the server
deep
will be executed less frequent, it should give high level of confidence that AEM is healthy, it can consume some resource but obviously not to cause AEM itself to struggle
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.