Seed code for yarf
[ta/yarf.git] / conf / config.ini
1 # Copyright 2019 Nokia
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 #
15
16 [restframe]
17
18 #The port that the restful app will listen DEFAULT:61200
19 port=61200
20 #The IP address that the restful app will bind to DEFAULT:127.0.0.1
21 ip_address=127.0.0.1
22
23 # This option tells the restful app to run in debug mode or not. Defaults to True
24 debug=true
25
26 #Use SSL or not
27 #If true then private key and certificate has to be also given DEFAULT:False
28 use_ssl=false
29 #ssl_private_key=PATHTOKEY/KEY.key
30 #ssl_certificate=PATHTOCERTIFICATE/CERT.crt
31
32 #Authentication method.
33 auth_method=yarf.authentication.keystone.KeystoneAuth
34
35 #The directory where the handlers are 
36 #Defaults to /opt/yarf/handlers
37 #handler_directory=/opt/yarf/handlers
38
39 [keystone]
40 user=<USER>
41 password=<PASSWORD>
42 auth_uri=<URL:PORT>
43