aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/policy/policy-xacml-pdp
diff options
context:
space:
mode:
authorBilal A <bilal@research.att.com>2020-01-16 16:12:19 +0000
committerBilal A <bilal@research.att.com>2020-01-20 16:59:53 +0000
commit9f54c00e36c66ffbd232f443a0a56114d06361dc (patch)
tree99d1e15c6a3f8e4fd3f727d31043281b230b048f /scripts/policy/policy-xacml-pdp
parentb3b620885747a9147e3575f8567904575500f88e (diff)
Updating the jdk version from jdk8 to jdk11 for CSITs
Removes JAVA_HOME for drools pdp Updates Policy API tests Updates XACML-PDP database connection Downloads dmaap simulator instead of compiling it for xacml-pdp,apex-pdp and distribution Changes from Jim, Jorge and Chenfei Issue-ID: POLICY-2325 Change-Id: I28ff3384f9ae9b7d1ce6940eb62aa87278e7a9c5 Signed-off-by: Bilal A <bilal@research.att.com>
Diffstat (limited to 'scripts/policy/policy-xacml-pdp')
-rwxr-xr-x[-rw-r--r--]scripts/policy/policy-xacml-pdp/config/db/db.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/policy/policy-xacml-pdp/config/db/db.sh b/scripts/policy/policy-xacml-pdp/config/db/db.sh
index ac150a03..499764df 100644..100755
--- a/scripts/policy/policy-xacml-pdp/config/db/db.sh
+++ b/scripts/policy/policy-xacml-pdp/config/db/db.sh
@@ -1,6 +1,6 @@
#!/bin/bash -xv
# ============LICENSE_START=======================================================
-# Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -17,10 +17,10 @@
# SPDX-License-Identifier: Apache-2.0
# ============LICENSE_END=========================================================
-for db in policyadmin
+for db in policyadmin operationshistory
do
mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};"
mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;"
done
-mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" \ No newline at end of file
+mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;"