X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Fnbi.cfg;h=94d3b26c24146128a4affb34b8840c206407ba1b;hp=81237cd87de7946bddd9695f1010f62503fccd18;hb=f55e7ed2e70eec0de410b8d0d01858ea5c4ea851;hpb=7b7ffa61e6282094c1bd528e60b3b395c3ab1358 diff --git a/osm_nbi/nbi.cfg b/osm_nbi/nbi.cfg index 81237cd..94d3b26 100644 --- a/osm_nbi/nbi.cfg +++ b/osm_nbi/nbi.cfg @@ -41,13 +41,12 @@ server.ssl_private_key: "./http/privkey.pem" server.ssl_pass_phrase: "osm4u" server.thread_pool: 10 -# Only for test. It works without authorization using the provided user and project: -# test.user_not_authorized: "admin" -# test.project_not_authorized: "admin" - # Uncomment for allow basic authentication apart from bearer # auth.allow_basic_authentication: True +# comment or set to False to disable /test URL +server.enable_test: True + log.screen: False log.access_file: "" log.error_file: "" @@ -65,6 +64,10 @@ name: "osm" # password: "password" # commonkey: "commonkey" +[prometheus] +host: "prometheus" #hostname or IP +port: 9090 + loglevel: "DEBUG" #logfile: /var/log/osm/nbi-database.log @@ -89,8 +92,10 @@ loglevel: "DEBUG" 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] -#resources_to_operations: "resources_to_operations.yml" -#roles_to_operations: "roles_to_operations.yml" +# roles_to_operations: "roles_to_operations.yml" # initial role generation when database