#!/usr/bin/python
# -*- coding: utf-8 -*-

# Hive Omni ERP
# Copyright (c) 2008-2020 Hive Solutions Lda.
#
# This file is part of Hive Omni ERP.
#
# Hive Omni ERP is free software: you can redistribute it and/or modify
# it under the terms of the Apache License as published by the Apache
# Foundation, either version 2.0 of the License, or (at your option) any
# later version.
#
# Hive Omni ERP is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# Apache License for more details.
#
# You should have received a copy of the Apache License along with
# Hive Omni ERP. If not, see <http://www.apache.org/licenses/>.

__author__ = "João Magalhães <joamag@hive.pt>"
""" The author(s) of the module """

__version__ = "1.0.0"
""" The version of the module """

__revision__ = "$LastChangedRevision$"
""" The revision number of the module """

__date__ = "$LastChangedDate$"
""" The last change date of the module """

__copyright__ = "Copyright (c) 2008-2020 Hive Solutions Lda."
""" The copyright for the module """

__license__ = "Apache License, Version 2.0"
""" The license for the module """

configuration = {
    "entity_manager" : {
        "arguments" : {
            "id" : "pt.hive.omni.database",
            "engine" : "sqlite",
            "options" : {
                "ensure_integrity" : False
            },
            "connection_parameters" : {
                "autocommit" : False
            }
        },
        "parameters" : {
            "database_prefix" : "omni_"
        }
    },
    "authentication" : {
        "base_authentication" : {
            "authentication_handler" : "python",
            "arguments" : {
                "file_path" : "%configuration:pt.hive.colony.plugins.authentication.python%/authentication.py"
            }
        }
    },
    "signature" : {
        "sign_locally" : True,
        "encryption_key_name" : "colony_default",
        "encryption_base_url" : "https://localhost/encryption/",
        "encryption_algorithm_name" : "sha1"
    },
    "email" : {
        "sender_email" : "no-reply@frontdoorhq.com",
        "sender_name" : "Frontdoor",
        "smtp" : {
            "hostname" : "localhost",
            "port" : 25,
            "username" : None,
            "password" : None,
            "tls" : False
        }
    },
    "pushi" : {
        "development" : {
            "app_id" : "fd08c8c105a0fc5e67c0429d6934d21cfebc3a44856491998c408e99ab3ff559",
            "app_key" : "675d42389349d28ff6f6dc93d7bf0ae65f070009f526895ce4a9efa46166bd38",
            "app_secret" : "4c6866bd685c70c9c33f661a7ddba2ec27b6774b3e941adce76eb4b9090c58c1"
        },
        "production" : {
            "app_id" : "20b4522714b3eeb6137c58542c5c73f233471d06ad306b37222f942e9eb0f56c",
            "app_key" : "dc86ed1303a323f7faf726d27aeff5af1cccb9789ed37ffe9569c55fe0948e6d",
            "app_secret" : "b06d6c6bca5ecc8914a852ebf7bc8be0c510045ab05ca3505884fe81585f0aa2"
        }
    },
    "paths" : {
        "site" : "http://frontdoorhq.com/",
        "base_domain" : "https://%s.frontdoorhq.com/",
        "base" : "https://app.frontdoorhq.com/"
    }
}
