# ============LICENSE_START=======================================================\r
-# Modification (C) 2021 Nordix Foundation\r
+# Copyright (C) 2021 Pantheon.tech\r
+# Modifications Copyright (C) 2021 Bell Canada\r
+# Modifications Copyright (C) 2021 Nordix Foundation\r
# ================================================================================\r
# Licensed under the Apache License, Version 2.0 (the "License");\r
# you may not use this file except in compliance with the License.\r
# You may obtain a copy of the License at\r
#\r
# http://www.apache.org/licenses/LICENSE-2.0\r
+#\r
# Unless required by applicable law or agreed to in writing, software\r
# distributed under the License is distributed on an "AS IS" BASIS,\r
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
max-file-size: 100MB\r
max-request-size: 100MB\r
\r
+ kafka:\r
+ bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVER:localhost:9092}\r
+ security:\r
+ protocol: PLAINTEXT\r
+ producer:\r
+ value-serializer: org.springframework.kafka.support.serializer.JsonSerializer\r
+ client-id: cps-core\r
+\r
+notification:\r
+ data-updated:\r
+ enabled: false\r
+ topic: ${CPS_CHANGE_EVENT_TOPIC:cps.data-updated-events}\r
+ filters:\r
+ enabled-dataspaces: ${DATASPACE_FILTER_PATTERNS:""}\r
+\r
+springdoc:\r
+ swagger-ui:\r
+ url: /openapi.yml\r
+ path: /swagger-ui/index.html\r
+\r
security:\r
# comma-separated uri patterns which do not require authorization\r
- permit-uri: /manage/health/**,/manage/info,/swagger-ui/**,/swagger-resources/**,/v3/api-docs\r
+ permit-uri: /manage/**,/swagger-ui/**,/swagger-resources/**,/v3/api-docs\r
auth:\r
- username: ${CPS_USERNAME:cpsuser}\r
- password: ${CPS_PASSWORD:cpsr0cks!}\r
+ username: ${CPS_USERNAME}\r
+ password: ${CPS_PASSWORD}\r
\r
# Actuator\r
management:\r
+ server:\r
+ port: 8081\r
endpoints:\r
web:\r
base-path: /manage\r
- exposure:\r
- include: info,health,loggers\r
+ exposure:\r
+ include: info,health,loggers,prometheus\r
endpoint:\r
health:\r
show-details: always\r
# kubernetes probes: liveness and readiness\r
probes:\r
enabled: true\r
- loggers:\r
- enabled: true\r
\r
logging:\r
level:\r
org:\r
springframework: INFO\r
+\r
+dmi:\r
+ auth:\r
+ username: ${DMI_USERNAME}\r
+ password: ${DMI_PASSWORD}\r