Seed code for yarf
[ta/yarf.git] / conf / config.ini
diff --git a/conf/config.ini b/conf/config.ini
new file mode 100644 (file)
index 0000000..509e7ac
--- /dev/null
@@ -0,0 +1,43 @@
+# Copyright 2019 Nokia
+#
+# 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.
+#
+
+[restframe]
+
+#The port that the restful app will listen DEFAULT:61200
+port=61200
+#The IP address that the restful app will bind to DEFAULT:127.0.0.1
+ip_address=127.0.0.1
+
+# This option tells the restful app to run in debug mode or not. Defaults to True
+debug=true
+
+#Use SSL or not
+#If true then private key and certificate has to be also given DEFAULT:False
+use_ssl=false
+#ssl_private_key=PATHTOKEY/KEY.key
+#ssl_certificate=PATHTOCERTIFICATE/CERT.crt
+
+#Authentication method.
+auth_method=yarf.authentication.keystone.KeystoneAuth
+
+#The directory where the handlers are 
+#Defaults to /opt/yarf/handlers
+#handler_directory=/opt/yarf/handlers
+
+[keystone]
+user=<USER>
+password=<PASSWORD>
+auth_uri=<URL:PORT>
+