X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Fnbi.cfg;h=81237cd87de7946bddd9695f1010f62503fccd18;hp=1dbc9ca57f47cd80970e5d801c6909296a88f787;hb=f0637057dc1be391f068c7e2b9c8f81b16f0921e;hpb=cd65be33d44114e73936813eaf790e6a12b0df63 diff --git a/osm_nbi/nbi.cfg b/osm_nbi/nbi.cfg index 1dbc9ca..81237cd 100644 --- a/osm_nbi/nbi.cfg +++ b/osm_nbi/nbi.cfg @@ -1,3 +1,16 @@ +# 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 @@ -15,7 +28,7 @@ tools.response_headers.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] @@ -26,7 +39,7 @@ server.ssl_module: "builtin" server.ssl_certificate: "./http/cert.pem" server.ssl_private_key: "./http/privkey.pem" server.ssl_pass_phrase: "osm4u" -server.thread_pool: 1 +server.thread_pool: 10 # Only for test. It works without authorization using the provided user and project: # test.user_not_authorized: "admin" @@ -73,6 +86,11 @@ port: 9092 loglevel: "DEBUG" #logfile: /var/log/osm/nbi-message.log +group_id: "nbi-server" [authentication] backend: "internal" + +[rbac] +#resources_to_operations: "resources_to_operations.yml" +#roles_to_operations: "roles_to_operations.yml"