+ cat /opt/app/policy/pap/etc/mounted/papParameters.yaml + /opt/app/policy/pap/bin/policy-pap.sh /opt/app/policy/pap/etc/mounted/papParameters.yaml # ============LICENSE_START======================================================= # Copyright (C) 2022 Bell Canada. All rights reserved. # Modifications Copyright © 2022 Nordix Foundation # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # SPDX-License-Identifier: Apache-2.0 # ============LICENSE_END========================================================= spring: security: user: name: "policyadmin" password: "zb!XztG34" http: converters: preferred-json-mapper: gson datasource: url: jdbc:mariadb://policy-mariadb:3306/policyadmin driverClassName: org.mariadb.jdbc.Driver username: "policy_user" password: "YipnSite3!Rafo" hikari: maximumPoolSize: 20 jpa: properties: hibernate: dialect: org.hibernate.dialect.MariaDB103Dialect hibernate: ddl-auto: none naming: physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy server: port: 6969 ssl: enabled: false servlet: context-path: /policy/pap/v1 pap: name: PapGroup aaf: false topic: pdp-pap.name: POLICY-PDP-PAP notification.name: POLICY-NOTIFICATION heartbeat.name: POLICY-HEARTBEAT pdpParameters: heartBeatMs: 120000 updateParameters: maxRetryCount: 1 maxWaitMs: 30000 stateChangeParameters: maxRetryCount: 1 maxWaitMs: 30000 savePdpStatisticsInDb: true topicParameterGroup: topicSources: - useHttps: false fetchTimeout: 15000 topic: POLICY-PDP-PAP servers: - ${topicServer:message-router} topicCommInfrastructure: dmaap - useHttps: false fetchTimeout: 15000 topic: POLICY-HEARTBEAT effectiveTopic: POLICY-PDP-PAP servers: - ${topicServer:message-router} topicCommInfrastructure: dmaap topicSinks: - useHttps: false topic: POLICY-PDP-PAP servers: - ${topicServer:message-router} topicCommInfrastructure: dmaap - useHttps: false topic: POLICY-NOTIFICATION servers: - ${topicServer:message-router} topicCommInfrastructure: dmaap # If Strimzi Kafka to be used for communication, replace following configuration for topicSources and topicSinks # servers: # - onap-strimzi-kafka-bootstrap:9092 # topicCommInfrastructure: kafka # additionalProps: # security.protocol: SASL_PLAINTEXT # sasl.mechanism: SCRAM-SHA-512 # sasl.jaas.config: healthCheckRestClientParameters: - clientName: api hostname: policy-api port: 6969 userName: "policyadmin" password: "zb!XztG34" useHttps: false basePath: policy/api/v1/healthcheck - clientName: distribution hostname: policy-distribution port: 6969 userName: "healthcheck" password: "zb!XztG34" useHttps: false basePath: healthcheck management: endpoints: web: base-path: / exposure: include: health, metrics, prometheus path-mapping.prometheus: metrics Policy pap config file: /opt/app/policy/pap/etc/mounted/papParameters.yaml overriding logback.xml PDP group configuration file: PapDb.json . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.7.8) [2023-05-10T01:48:25.043+00:00|INFO|PolicyPapApplication|main] Starting PolicyPapApplication using Java 11.0.19 on onap-policy-pap-74946b6dcd-wmbhd with PID 9 (/app/pap.jar started by policy in /opt/app/policy/pap/bin) [2023-05-10T01:48:25.052+00:00|INFO|PolicyPapApplication|main] No active profile set, falling back to 1 default profile: "default" [2023-05-10T01:48:28.652+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. [2023-05-10T01:48:28.966+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 283 ms. Found 8 JPA repository interfaces. [2023-05-10T01:48:31.495+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) [2023-05-10T01:48:31.512+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] [2023-05-10T01:48:31.513+00:00|INFO|StandardService|main] Starting service [Tomcat] [2023-05-10T01:48:31.514+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] [2023-05-10T01:48:31.675+00:00|INFO|[/policy/pap/v1]|main] Initializing Spring embedded WebApplicationContext [2023-05-10T01:48:31.675+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 6416 ms [2023-05-10T01:48:33.011+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] [2023-05-10T01:48:33.349+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final [2023-05-10T01:48:34.267+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} [2023-05-10T01:48:34.621+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... [2023-05-10T01:48:35.111+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. [2023-05-10T01:48:35.187+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect [2023-05-10T01:48:37.918+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] [2023-05-10T01:48:37.938+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default'