###################################################################
# Copyright (C) 2010 RoyaltyShare, Inc.  All Rights Reserved
###################################################################

package BookPub::Config;

use strict;
use warnings;

use lib '/app/tools/common/lib';
use Common::Assert;

use base 'Common::Config';

sub _configParameters {
    {
        validation_price_script => {
            DEFAULT => undef
        },
        sale_import_script_dir => {
            DEFAULT => '/app/tools/bookpub/bin/sale_import',
        },
        dump_report_script_dir => {
            DEFAULT => '/app/tools/bookpub/bin/sale_report',
        },
        dump_report_log_dir => {
            DEFAULT => '/app/shared/tracker_logs/sale_report',
        },
        dump_exceptions_script_dir => {
            DEFAULT => '/app/tools/bookpub/bin/sale_import',
        },
        dump_exceptions_log_dir => {
            DEFAULT => '/app/shared/tracker_logs/exceptions_report',
        },
        sale_report_dir => {
            DEFAULT => '/app/shared/sale_report',
        },
        catalog_import_script_dir => {
            DEFAULT => '/app/tools/bookpub/bin/catalog_import',
        },
        catalog_import_ftp_debug => {
            DEFAULT => 0,
        },
        catalog_import_ftp_timeout => {
            DEFAULT => 180,
        },
        catalog_import_ftp_site => {
            DEFAULT => 'upload.royaltyshare.com',
        },
        catalog_import_ftp_user_name => {
            DEFAULT => 'rsbookpub',
        },
        catalog_import_ftp_password => {
            DEFAULT => 'klepton0n0',
        },
        catalog_import_staging_dir => {
            DEFAULT => '/app/shared/dtmv/catalog_import/',
        },
        catalog_import_image_ingestion_dir => {
            DEFAULT => '/app/data/images/',
        },
        rdas_script_dir => {
            DEFAULT => '/app/tools/bookpub/bin/rdas',
        },
        send_period_close_email_dir => {
            DEFAULT => '/app/tools/bookpub/bin/sale_report',
        },
        error_report_email => {
            DEFAULT => 'dtmv_error@royaltyshare.com',
        },
        period_close_email_from => {
            DEFAULT => 'do-not-reply@royaltyshare.com',
        },
        period_close_html_template => {
            DEFAULT => '/app/tools/common/production/html/bookpub/periodCloseEmail.html',
        },
        default_email_from => {
            DEFAULT => 'do-not-reply@royaltyshare.com',
        },
        mmau_output_file_email => {
            DEFAULT => 'Victoria.Nash@macmillan.com.au',
        },
    };
}

sub _configFileName { 'rs_bookpub.conf'; }

1;
