You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by cs...@apache.org on 2018/07/13 08:30:53 UTC

svn commit: r1835793 - in /felix/trunk/systemready: README.md docs/why_systemready.md

Author: cschneider
Date: Fri Jul 13 08:30:53 2018
New Revision: 1835793

URL: http://svn.apache.org/viewvc?rev=1835793&view=rev
Log:
Move why systemready and add project information

Added:
    felix/trunk/systemready/docs/why_systemready.md
Modified:
    felix/trunk/systemready/README.md

Modified: felix/trunk/systemready/README.md
URL: http://svn.apache.org/viewvc/felix/trunk/systemready/README.md?rev=1835793&r1=1835792&r2=1835793&view=diff
==============================================================================
--- felix/trunk/systemready/README.md (original)
+++ felix/trunk/systemready/README.md Fri Jul 13 08:30:53 2018
@@ -1,40 +1,24 @@
 # OSGi system ready check framework
 
-In OSGi there is always the question of when a system is fully operational after startup. This project provides a framework to configure and create so called system checks and signal the ready of an OSGi based system. In addition to the framework, we also provide some generic checks that give a solid basis, like a check waiting for the startup of bundles to finish, as well as certain OSGi services being present. Additionally, root cause analysis in case of error states is conveniently presented. Custom checks can be created to provide in-depth checks for your own functionality.
+In OSGi there is always the question of when a system is fully operational after startup. This project provides a framework to configure and create so called system checks and signal the ready state of an OSGi based system. In addition to the framework, we also provide some generic checks that give a solid basis, like a check waiting for the startup of bundles to finish, as well as certain OSGi services being present. Additionally, root cause analysis in case of error states is conveniently presented. Custom checks can be created to provide in-depth checks for your own functionality.
+
+See [why system ready for some more background on why to use this project](docs/why_systemready.md).
 
 ## Usage
 
 See [reference documentation](docs/README.md).
 
-## Error reporting and root cause analysis
-
-When a system fails to become ready after a certain amount of time, the follow up question is : "What is wrong?". So the framework also provides a way for each system check to report back information about errors.
-
-One typical error is that a DS component does not come up because some mandatory dependency is not present. This dependency can be a configuration or maybe a service reference. In many cases, a trivial error like a missing configuration for a low level component can cause a lot of other components to fail to register. The root cause analysis allows traversing the trees of components and to narrow the reason for the system not being ready to a minimal number of possible causes for the failure state.
-
-## Use cases
-
-Typical use cases for the system ready check ordered by the phase of the development cycle.
+## Build
 
-### Development
-* Coarse check of a pax exam based setup before letting the actual junit tests work on the system
-* Determining the root cause of a pax exam based setup not starting
+    mvn clean install
 
-### QA
-* Starting system tests as soon as a system is ready for the tests to proceed
-* Determining the root cause for an OSGi based system not starting up
+## Issue reporting
 
-### Deployment
-* Signaling when a system is ready after an upgrade so that it can receive traffic in the case of blue / green deployments
+We currently have these [open issues](https://issues.apache.org/jira/issues/?jql=project%20%3D%20FELIX%20AND%20component%20%3D%20%22System%20Ready%22%20AND%20resolution%20%3D%20Unresolved). Please report issues using project`Felix` and Component `System Ready`.
 
-### Production
-* Periodic _Ready health checks_ for system and signaling this state to monitoring systems
-* Container automation and driving _autopilot container_ deployments.
+## Working with the code
 
-## Added value when using the system ready framework
+As contributor the easiest way is to fork the [Felix project on github](https://github.com/apache/felix/tree/trunk/systemready) and do a pull request. We do not actively monitor pull requests so please also open an issue.
 
-* Increased deployment resilience as deployments are checked before being exposed
-* Faster deployments / upgrades by replacing fixed, error-prone waits with ready based waits
-* Lower bug tracking efforts in tests as root causes are easier to find
-* Configurability of _when_ a certain deployment is considered ready (e.g. after content sync with an external service)
+When creating a PR it is a good practice to first create a branch named like the jira issue id. The commit message should also refer to the issue id. Like `FELIX-1234 My message`.
 

Added: felix/trunk/systemready/docs/why_systemready.md
URL: http://svn.apache.org/viewvc/felix/trunk/systemready/docs/why_systemready.md?rev=1835793&view=auto
==============================================================================
--- felix/trunk/systemready/docs/why_systemready.md (added)
+++ felix/trunk/systemready/docs/why_systemready.md Fri Jul 13 08:30:53 2018
@@ -0,0 +1,33 @@
+# Why you should use the system ready project
+
+## Error reporting and root cause analysis
+
+When a system fails to become ready after a certain amount of time, the follow up question is : "What is wrong?". So the framework also provides a way for each system check to report back information about errors.
+
+One typical error is that a DS component does not come up because some mandatory dependency is not present. This dependency can be a configuration or maybe a service reference. In many cases, a trivial error like a missing configuration for a low level component can cause a lot of other components to fail to register. The root cause analysis allows traversing the trees of components and to narrow the reason for the system not being ready to a minimal number of possible causes for the failure state.
+
+## Use cases
+
+Typical use cases for the system ready check ordered by the phase of the development cycle.
+
+### Development
+* Coarse check of a pax exam based setup before letting the actual junit tests work on the system
+* Determining the root cause of a pax exam based setup not starting
+
+### QA
+* Starting system tests as soon as a system is ready for the tests to proceed
+* Determining the root cause for an OSGi based system not starting up
+
+### Deployment
+* Signaling when a system is ready after an upgrade so that it can receive traffic in the case of blue / green deployments
+
+### Production
+* Periodic _Ready health checks_ for system and signaling this state to monitoring systems
+* Container automation and driving _autopilot container_ deployments.
+
+## Added value when using the system ready framework
+
+* Increased deployment resilience as deployments are checked before being exposed
+* Faster deployments / upgrades by replacing fixed, error-prone waits with ready based waits
+* Lower bug tracking efforts in tests as root causes are easier to find
+* Configurability of _when_ a certain deployment is considered ready (e.g. after content sync with an external service)