commit | 9a5f9a2e295efbdcb143d03ceda320ae484534af | [log] [tgz] |
---|---|---|
author | Jim Hahn <jrh3@att.com> | Thu Oct 24 10:17:07 2019 -0400 |
committer | Jim Hahn <jrh3@att.com> | Thu Oct 24 10:17:07 2019 -0400 |
tree | a1aa4867c2922ff18ca4cdc8d39505ee28010efc | |
parent | 6e0b450abe7e62fa47ffe14e95a67d035174dbdb [diff] |
Handle DB error codes in distributed locking The commons library wraps the SQLExceptions within its own SQLException, so changed the code to simply look for a cause that's SQLTransientException, eliminating the need to check specific error codes. Deleted the error code property now that it is no longer needed. Also updated the distributed locking properties to include examples. Issue-ID: POLICY-2113 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: If46e85a81cfc952e561174fea670df81efb8309a
Copyright 2018 AT&T Intellectual Property. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
This source repository contains the ONAP Policy DroolsPDP code. To build it: