1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2023-2024 Nordix Foundation.
3 # ================================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 # SPDX-License-Identifier: Apache-2.0
16 # ============LICENSE_END=========================================================
20 cps-base-path: /cps/api
22 ncmp-inventory-base-path: /ncmpInventory
29 name: cps-integration-test
33 hibernate.enable_lazy_load_no_trans: true
34 hibernate.dialect: org.hibernate.dialect.PostgreSQLDialect
35 hibernate.format_sql: false
36 hibernate.show_sql: false
37 # Please ensure these values match those used in cps-application/src/main/resources/application.yml
38 hibernate.id.new_generator_mappings: true
39 hibernate.jdbc.batch_size: 100
43 username: ${DB_USERNAME}
44 password: ${DB_PASSWORD}
45 driverClassName: org.postgresql.Driver
46 initialization-mode: always
51 connectionTimeout: 120000
52 leakDetectionThreshold: 30000
53 pool-name: CpsDatabasePool
57 cache-names: yangSchema
59 spec: maximumSize=10000,expireAfterAccess=10m
62 change-log: classpath:changelog/changelog-master.yaml
68 max-request-size: 100MB
71 default-property-inclusion: NON_NULL
73 FAIL_ON_EMPTY_BEANS: false
84 disable-swagger-default-url: true
85 urlsPrimaryName: cps-core
88 url: /api-docs/cps-core/openapi.yaml
90 url: /api-docs/cps-ncmp/openapi.yaml
91 - name: cps-ncmp-inventory
92 url: /api-docs/cps-ncmp/openapi-inventory.yaml
95 # comma-separated uri patterns which do not require authorization
96 permit-uri: /actuator/**,/swagger-ui.html,/swagger-ui/**,/swagger-resources/**,/api-docs/**,/v3/api-docs/**
106 include: info,health,loggers,prometheus
110 # kubernetes probes: liveness and readiness
118 springframework: INFO
123 cluster-name: cps-and-ncmp-test-caches
127 service-name: cps-and-ncmp-service