commit | c783b0e54860115e9ceadc5293256a563f0537ca | [log] [tgz] |
---|---|---|
author | Michael Mokry <michael.mokry@att.com> | Tue Jul 23 13:54:30 2019 -0500 |
committer | Michael Mokry <michael.mokry@att.com> | Tue Jul 30 13:09:05 2019 -0500 |
tree | 156b3d689ef89b8662ccae9265e25ea200b1ac3b | |
parent | 77d4dd1668c290abfd5f2c6d4b1866416c313033 [diff] |
Fix guard table creation during startup issue - Added -hpolicydb to the mysql command in the script - Made this configurable by utilizing the existing parameters in xacml.properties for db connections. No OOM or CSIT changes should be needed now. PATCH UPDATE: - used Awk to extract property values - removed echo except one needed for the base64 command, as far as I can tell it is needed when assigning output to a variable, I tried to get it to work unsuccessfully. - added exit code 2 for missing properties as suggested by Jorge and Jim PATCH UPDATE: - remove echo from base64 using Jim's suggestion - Added code to remove escape backslashes from properties file, I didn't see these locally but when testing in windriver they show up in the xacml.properties file on OOM installs - More changes per Jorge's latest review Change-Id: I79c0502d8a4fadd2160785014fcb9db3c0faab5e Issue-ID: POLICY-1934 Signed-off-by: Michael Mokry <michael.mokry@att.com>
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 XACML PDP engine code.
To build it using Maven 3, run: mvn clean install