+# 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.
+
[/]
# tools.secureheaders.on = True
tools.sessions.on = True
[/static]
tools.staticdir.on: True
-tools.staticdir.dir: "/app/osm_nbi/html_public"
+tools.staticdir.dir: "/app/NBI/osm_nbi/html_public"
[global]
server.ssl_certificate: "./http/cert.pem"
server.ssl_private_key: "./http/privkey.pem"
server.ssl_pass_phrase: "osm4u"
-server.thread_pool: 1
-
-# Only for test. It works without authorization using the provided user and project:
-# test.user_not_authorized: "admin"
-# test.project_not_authorized: "admin"
+server.thread_pool: 10
# Uncomment for allow basic authentication apart from bearer
# auth.allow_basic_authentication: True
# password: "password"
# commonkey: "commonkey"
+[prometheus]
+host: "prometheus" #hostname or IP
+port: 9090
+
loglevel: "DEBUG"
#logfile: /var/log/osm/nbi-database.log
loglevel: "DEBUG"
#logfile: /var/log/osm/nbi-message.log
+group_id: "nbi-server"
[authentication]
-backend: "internal"
+backend: "internal" # internal or keystone
+# Only for test. It works without authorization using the provided user and project:
+# user_not_authorized: "admin"
+# project_not_authorized: "admin"
+
+[rbac]
+# roles_to_operations: "roles_to_operations.yml" # initial role generation when database