From: rameshiyer27 Date: Tue, 6 Aug 2024 15:00:45 +0000 (+0100) Subject: Fix hibernate dialect in k8s tests X-Git-Tag: 4.0.1~18 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F42%2F138642%2F3;p=policy%2Fdocker.git Fix hibernate dialect in k8s tests Issue-ID: POLICY-4647 Change-Id: If983a76a8f5d8b54a951d4c94f27269fb7616fcd Signed-off-by: zrrmmua --- 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: