<!--
  ~ Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
  ~
  ~  WSO2 Inc. licenses this file to you 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.
  -->

<!--
    This is the configuration file for Stratos specific constants.
-->

<stratosConfig xmlns="http://wso2.com/cloud/stratos">

    <!--DisableTenantManagementEmails is set to true by default. 
    No Tenant Management mails will be sent, and the tenants will be
    activated as they are created.-->
    <DisableTenantManagementEmails>{{multi_tenancy.stratos.disable_tenant_management_emails}}</DisableTenantManagementEmails>

    <!--Set the email validation mandatory if you want to have the tenants 
    verify the registration before letting them logging in. This will be 
    overridden by DisableTenantManagementEmails, if that is set to true.-->
    <EmailValidationMandatoryForLogin>{{multi_tenancy.stratos.email_validation_mandatory_for_login}}</EmailValidationMandatoryForLogin>

    <!--Moderate the tenant activation by sending the activation mail to the
    AdminEmail address given below, instead of the tenant email address
    Default is false - Tenant Registration Not moderated. This will be 
    overridden by DisableTenantManagementEmails, if that is set to true.-->
    <TenantActivationModerated>{{multi_tenancy.stratos.tenant_activation_moderated}}</TenantActivationModerated>

    <!--Super Admin Email Address to moderate the tenant registrations-->
    <SuperAdminEmail>{{multi_tenancy.stratos.super_admin_email}}</SuperAdminEmail>

    <!--
    <UsagePlanUrl>http://wso2.com/cloud/stratoslive/pricing</UsagePlanUrl>
    -->

    <!--this parameter is used to disable usage summary generator for registry content-->
    <SkipSummaryGenerator>{{multi_tenancy.stratos.skip_summary_generator}}</SkipSummaryGenerator>

    <!--Following email address is for general notifications such as tenant creation, bill generation etc..-->
    <NotificationEmail>{{multi_tenancy.stratos.notification_email}}</NotificationEmail>

    <!--Following email address can be used for finance related notifications such as when payments received -->
    <FinanceNotificationEmail>{{multi_tenancy.stratos.finance_notification_email}}</FinanceNotificationEmail>

    <!--this parameter is used to disable charging at the registration time-->
    <ChargeOnRegistration>{{multi_tenancy.stratos.charge_on_registration}}</ChargeOnRegistration>

    <!--A few Stratos Public Cloud Specific customizations are handled by this parameter-->
    <StratosPublicCloudSetup>{{multi_tenancy.stratos.public_cloud_setup}}</StratosPublicCloudSetup>

    <!--The URL of the Paypal-->
    <PaypalUrl>{{multi_tenancy.stratos.paypal.url}}</PaypalUrl>

    <PaypalAPIUsername>{{multi_tenancy.stratos.paypal.username}}</PaypalAPIUsername>
    <PaypalAPIPassword>{{multi_tenancy.stratos.paypal.password}}</PaypalAPIPassword>
    <PaypalAPISignature>{{multi_tenancy.stratos.paypal.signature}}</PaypalAPISignature>
    <PaypalEnvironment>{{multi_tenancy.stratos.paypal.environment}}</PaypalEnvironment>

    <!--Manager Configurations-->
    <managerServiceUrl>{{multi_tenancy.stratos.manager_service.url}}</managerServiceUrl>
    <adminUserName>{{multi_tenancy.stratos.manager_service.admin_username}}</adminUserName>
    <adminPassword>{{multi_tenancy.stratos.manager_service.admin_password}}</adminPassword>

    <!--The google-analytics URL-->
    <GoogleAnalyticsURL>{{multi_tenancy.stratos.google_analytics_url}}</GoogleAnalyticsURL>

    <!--Loading message shown during SSO. For example, "Loading StratosLive" -->
    <SSOLoadingMessage>{{multi_tenancy.stratos.sso_loading_message}}</SSOLoadingMessage>
</stratosConfig>
