shutdown to guarantee termination 91/20691/4
authorJorge Hernandez <jh1730@att.com>
Thu, 26 Oct 2017 04:04:42 +0000 (23:04 -0500)
committerJorge Hernandez <jh1730@att.com>
Thu, 26 Oct 2017 04:23:51 +0000 (23:23 -0500)
commitab484fb7048b331ec0dbc7c35771c91344cf144e
tree693de07443574a4b6478c08d996e2aab6948d32d
parent4dfaabe584f9208e03ab2b77274e6fdfdae007af
shutdown to guarantee termination

This method will ensure that once the shutdown sequence is
started, it terminates either gracefully or forcefully after
the grace time period expiration.

It has been occassionally observed that the shutdown
sequence gets stuck in the shutdown sequence of a subcomponent,
such as a drools applications.   This will guarantee that
the shutdown completes regardless.

Change-Id: I8379eea5f0b80fe6a5aed6da2f2bfbfcb1f24bc0
Issue-ID: POLICY-386
Signed-off-by: Jorge Hernandez <jh1730@att.com>
policy-management/src/main/java/org/onap/policy/drools/system/PolicyEngine.java