# ============LICENSE_START=======================================================\r
# Copyright (C) 2021 Pantheon.tech\r
# Modifications Copyright (C) 2021 Bell Canada\r
-# Modifications Copyright (C) 2021 Nordix Foundation\r
+# Modifications Copyright (C) 2021-2022 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
api:\r
cps-base-path: /cps/api\r
ncmp-base-path: /ncmp\r
+ ncmp-inventory-base-path: /ncmpInventory\r
\r
spring:\r
main:\r
banner-mode: "off"\r
+ application:\r
+ name: "cps-application"\r
jpa:\r
ddl-auto: create\r
open-in-view: false\r
dialect: org.hibernate.dialect.PostgreSQLDialect\r
\r
datasource:\r
- url: jdbc:postgresql://${DB_HOST}:5432/cpsdb\r
+ url: jdbc:postgresql://${DB_HOST}:${DB_PORT:5432}/cpsdb\r
username: ${DB_USERNAME}\r
password: ${DB_PASSWORD}\r
driverClassName: org.postgresql.Driver\r
url: /api-docs/cps-core/openapi.yaml\r
- name: cps-ncmp\r
url: /api-docs/cps-ncmp/openapi.yaml\r
+ - name: cps-ncmp-inventory\r
+ url: /api-docs/cps-ncmp/openapi-inventory.yaml\r
+\r
\r
security:\r
# comma-separated uri patterns which do not require authorization\r
- permit-uri: /manage/**,/swagger-ui/**,/swagger-resources/**,/api-docs\r
+ permit-uri: /manage/**,/swagger-ui.html,/swagger-ui/**,/swagger-resources/**,/api-docs/**\r
auth:\r
username: ${CPS_USERNAME}\r
password: ${CPS_PASSWORD}\r
level:\r
org:\r
springframework: INFO\r
+ onap:\r
+ cps: INFO\r
\r
dmi:\r
auth:\r
username: ${DMI_USERNAME}\r
password: ${DMI_PASSWORD}\r
+ api:\r
+ base-path: dmi\r