aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrameshiyer27 <ramesh.murugan.iyer@est.tech>2024-08-06 16:00:45 +0100
committerrameshiyer27 <ramesh.murugan.iyer@est.tech>2024-08-07 13:37:34 +0000
commit0b5f6e073af02a68c8d693399ca5c5c7c6d96b3f (patch)
tree1f29e463412b52d532035a26afef26ff053bc0b0
parented78bda8e9f46b3f8d86e5beaf810903781fa9d5 (diff)
Fix hibernate dialect in k8s tests
Issue-ID: POLICY-4647 Change-Id: If983a76a8f5d8b54a951d4c94f27269fb7616fcd Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
-rwxr-xr-xcsit/run-k8s-csit.sh1
-rw-r--r--helm/policy/components/policy-api/resources/config/apiParameters.yaml2
-rwxr-xr-xhelm/policy/components/policy-clamp-runtime-acm/resources/config/acRuntimeParameters.yaml1
-rw-r--r--helm/policy/components/policy-pap/resources/config/papParameters.yaml2
4 files changed, 3 insertions, 3 deletions
diff --git a/csit/run-k8s-csit.sh b/csit/run-k8s-csit.sh
index d8ce6f9d..b578a5b0 100755
--- a/csit/run-k8s-csit.sh
+++ b/csit/run-k8s-csit.sh
@@ -368,6 +368,7 @@ wait_for_pods_running() {
if [ "$elapsed_time" -ge "$timeout_seconds" ]; then
echo "Timed out waiting for the pods to reach 'Running' state."
echo "Printing the current status of the deployment before exiting.."
+ kubectl get po;
kubectl describe pods;
echo "------------------------------------------------------------"
for pod in "${pending_pods[@]}"; do
diff --git a/helm/policy/components/policy-api/resources/config/apiParameters.yaml b/helm/policy/components/policy-api/resources/config/apiParameters.yaml
index 48e1df64..3d593260 100644
--- a/helm/policy/components/policy-api/resources/config/apiParameters.yaml
+++ b/helm/policy/components/policy-api/resources/config/apiParameters.yaml
@@ -38,7 +38,7 @@ spring:
jpa:
properties:
hibernate:
- dialect: org.hibernate.dialect.MariaDB103Dialect
+ format_sql: true
hibernate:
ddl-auto: none
naming:
diff --git a/helm/policy/components/policy-clamp-runtime-acm/resources/config/acRuntimeParameters.yaml b/helm/policy/components/policy-clamp-runtime-acm/resources/config/acRuntimeParameters.yaml
index ec0f900b..7b8ceea7 100755
--- a/helm/policy/components/policy-clamp-runtime-acm/resources/config/acRuntimeParameters.yaml
+++ b/helm/policy/components/policy-clamp-runtime-acm/resources/config/acRuntimeParameters.yaml
@@ -44,7 +44,6 @@ spring:
implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy
properties:
hibernate:
- dialect: org.hibernate.dialect.MariaDB103Dialect
format_sql: true
security:
diff --git a/helm/policy/components/policy-pap/resources/config/papParameters.yaml b/helm/policy/components/policy-pap/resources/config/papParameters.yaml
index 646b5ea8..85315a17 100644
--- a/helm/policy/components/policy-pap/resources/config/papParameters.yaml
+++ b/helm/policy/components/policy-pap/resources/config/papParameters.yaml
@@ -34,7 +34,7 @@ spring:
jpa:
properties:
hibernate:
- dialect: org.hibernate.dialect.MariaDB103Dialect
+ format_sql: true
hibernate:
ddl-auto: none
naming: