Config AWS

This commit is contained in:
Michael RICOIS 2017-03-06 15:43:48 +01:00
parent c4bc6b8b3c
commit 4b63ea516d
7 changed files with 482 additions and 3 deletions

View File

@ -0,0 +1,102 @@
[production]
phpSettings.date.timezone = "Europe/Paris"
phpSettings.display_startup_errors = 0
phpSettings.display_errors = 0
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"
appnamespace = "Application"
resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth"
resources.frontController.plugins.Menu = "Application_Controller_Plugin_Menu"
resources.frontController.params.displayExceptions = 0
resources.layout.layoutPath = APPLICATION_PATH "/layouts/default"
resources.view.helperPath = APPLICATION_PATH "/layouts/helpers"
resources.view.basePath = APPLICATION_PATH "/views/default"
; Master Database
resources.db.adapter = mysqli
resources.db.params.host = 172.19.7.10
resources.db.params.username = backoffice
resources.db.params.password = BMsH9vSEExbu5JK6
resources.db.params.dbname = backoffice
resources.db.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8mb4"
resources.db.isDefaultTableAdapter = true
resources.session.use_only_cookies = true
resources.session.gc_maxlifetime = 864000
resources.session.remember_me_seconds = 864000
resources.session.saveHandler.class = "Zend_Session_SaveHandler_DbTable"
resources.session.saveHandler.options.name = "session"
resources.session.saveHandler.options.primary = "id"
resources.session.saveHandler.options.modifiedColumn = "modified"
resources.session.saveHandler.options.dataColumn = "data"
resources.session.saveHandler.options.lifetimeColumn = "lifetime"
; -= Scores configuration =-
profil.server.name = WebRecette
profil.mail.method = smtp
profil.mail.host = 192.168.3.200
profil.mail.config.port = 587
profil.mail.config.auth = login
profil.mail.config.username = batch1@srvbak01
profil.mail.config.password = test
profil.mail.email.support = supportdev@scores-decisions.com
profil.mail.email.supportdev = supportdev@scores-decisions.com
profil.mail.email.contact = supportdev@scores-decisions.com
profil.mail.email.production = supportdev@scores-decisions.com
profil.wkhtmltopdf.path = "/usr/local/bin/wkhtmltopdf"
profil.path.shared = "/home/vhosts/backoffice/shared"
; Metier Database
profil.db.metier.adapter = mysqli
profil.db.metier.params.host = 172.19.7.10
profil.db.metier.params.username = backoffice
profil.db.metier.params.password = BMsH9vSEExbu5JK6
profil.db.metier.params.dbname = jo
profil.db.metier.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
; Slave Database
profil.db.slave.adapter = mysqli
profil.db.slave.params.host = 195.154.170.169
profil.db.slave.params.port = 3306
profil.db.slave.params.username = wsuser
profil.db.slave.params.password = wspass2012
profil.db.slave.params.dbname = backoffice
profil.db.slave.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
; Metier - Infogreffe
profil.infogreffe.wsdl = "infogreffe.wsdl"
profil.infogreffe.url = "https://webservices.infogreffe.fr/WSContextInfogreffe/INFOGREFFE"
profil.infogreffe.uri = "https://webservices.infogreffe.fr/"
profil.infogreffe.user = 85000109
profil.infogreffe.password = 166
profil.infogreffe.cache.path = "PROJECT_DIR/shared/cache"
profil.infogreffe.cache.time = 8
profil.infogreffe.storage.path = "PROJECT_DIR/shared/datafile/greffes"
; Search Engine
profil.sphinx.ent.host = "172.19.7.12"
profil.sphinx.ent.port = 3312
profil.sphinx.ent.version = "2.2.11"
profil.sphinx.dir.host = "172.19.7.12"
profil.sphinx.dir.port = 3312
profil.sphinx.dir.version = "2.2.11"
profil.sphinx.act.host = "172.19.7.12"
profil.sphinx.act.port = 3312
profil.sphinx.act.version = "2.2.11"
profil.sphinx.histo.host = "172.19.7.12"
profil.sphinx.histo.port = 3312
profil.sphinx.histo.version = "2.2.11"
[staging : production]
resources.frontController.params.displayExceptions = 1
[development : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
resources.frontController.params.displayExceptions = 1
[testing : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1

View File

@ -0,0 +1,70 @@
[production]
phpSettings.date.timezone = "Europe/Paris"
phpSettings.display_startup_errors = 0
phpSettings.display_errors = 0
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"
appnamespace = "Application"
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
resources.frontController.params.displayExceptions = 0
resources.layout.layout = "main"
resources.layout.layoutPath = APPLICATION_PATH "/views"
resources.view.basePath = APPLICATION_PATH "/views"
; Scores configuration
profil.server.name = development
profil.mail.method = smtp
profil.mail.host = 192.168.3.200
profil.mail.port = 587
profil.mail.auth = login
profil.mail.username = batch1@srvbak01
profil.mail.password = test
profil.mail.email.support = supportdev@scores-decisions.com
profil.mail.email.supportdev = supportdev@scores-decisions.com
profil.mail.email.contact = supportdev@scores-decisions.com
profil.mail.email.production = supportdev@scores-decisions.com
profil.path.shared = "/home/deploy/batch/shared"
; Metier - Infogreffe
profil.infogreffe.wsdl = "infogreffe.wsdl"
profil.infogreffe.url = "https://webservices.infogreffe.fr/WSContextInfogreffe/INFOGREFFE"
profil.infogreffe.uri = "https://webservices.infogreffe.fr/"
profil.infogreffe.user = 85000109
profil.infogreffe.password = 166
profil.infogreffe.cache.path = APPLICATION_PATH "/../data/cache"
profil.infogreffe.cache.time = 8
profil.infogreffe.storage.path = ""
; Search Engine
profil.sphinx.ent.host = "172.19.7.12"
profil.sphinx.ent.port = 3312
profil.sphinx.ent.version = "2.2.11"
profil.sphinx.dir.host = "172.19.7.12"
profil.sphinx.dir.port = 3312
profil.sphinx.dir.version = "2.2.11"
profil.sphinx.act.host = "172.19.7.12"
profil.sphinx.act.port = 3312
profil.sphinx.act.version = "2.2.11"
profil.sphinx.histo.host = "172.19.7.12"
profil.sphinx.histo.port = 3312
profil.sphinx.histo.version = "2.2.11"
; Database configuration - For old configuration - see Configure.php
profil.db.metier.adapter=mysqli
profil.db.metier.params.host=172.19.7.10
profil.db.metier.params.username=batch
profil.db.metier.params.password=BMsH9vSEExbu5JK6
profil.db.metier.params.dbname=sdv1
profil.db.metier.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
[staging : production]
resources.frontController.params.displayExceptions = 1
[development : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 0
resources.frontController.params.displayExceptions = 1
[testing : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1

View File

@ -0,0 +1,100 @@
<?php
/** BATCH **/
define('FILLER',' ');
define('VERSION_FICHIER_BODACC','0106');
define('LONGUEUR_LIGNE_SORTIE', 2000);
/** Paramétres du FTP des JO **/
define('BODACC_FTP_URL', 'ftp.journal-officiel.gouv.fr');
define('BODACC_FTP_USER', 'SCORE');
define('BODACC_FTP_PASS', 'SD075');
define('BODACC_LOCAL_DIR', '/home/deploy/batch/shared/sources/bodacc/');
define('JAL_LOCAL_DIR', '/home/deploy/batch/shared/sources/jal/');
/** Paramétres du FTP de Hugin : Communiqués de presse **/
define('HUGIN_FTP_URL', 'ftp.companynews.fr');
define('HUGIN_FTP_USER', 'scores');
define('HUGIN_FTP_PASS', 'scores_632');
define('HUGIN_LOCAL_DIR', '/home/deploy/batch/shared/sources/infosreg/hugin/');
/** Paramétres du FTP de ActusNews : Communiqués de presse **/
define('ACTUSNEWS_FTP_URL', 'ftp.actusnews.com');
define('ACTUSNEWS_FTP_USER', 'scores_act');
define('ACTUSNEWS_FTP_PASS', '6_etIwL');
define('ACTUSNEWS_LOCAL_DIR', '/home/deploy/batch/shared/sources/infosreg/actusnews/');
/** Paramétres du FTP de Di Release : Communiqués de presse **/
define('DIRELEASE_FTP_URL', 'ftp.actusnews.com');
define('DIRELEASE_FTP_USER', 'scores_dir');
define('DIRELEASE_FTP_PASS', '-gT52sQ');
define('DIRELEASE_LOCAL_DIR', '/home/deploy/batch/shared/sources/infosreg/direlease/');
/** Paramétres du FTP des Echos: Communiqués de presse **/
define('LESECHOS_FTP_URL', 'ftp.webdisclosure.com');
define('LESECHOS_FTP_USER', 'Scores');
define('LESECHOS_FTP_PASS', 'scores2001');
define('LESECHOS_LOCAL_DIR', '/home/deploy/batch/shared/sources/infosreg/lesechos/');
/** Paramétres du FTP de BusinessWire : Communiqués de presse **/
define('BUSINESSWIRE_LOCAL_DIR_INCOMING', '/home/deploy/batch/shared/ftp/businesswire/');
define('BUSINESSWIRE_LOCAL_DIR', '/home/deploy/batch/shared/infosreg/businesswire/');
/** Base de données de S&D **/
define ('MYSQL_HOST', '192.168.3.28');
define ('MYSQL_USER', 'batch');
define ('MYSQL_PASS', 'BMsH9vSEExbu5JK6');
define ('MYSQL_DEFAULT_DB', 'jo');
define ('MYSQL_SQL_LOG', 'NONE');
define ('SPHINX_HOST', '172.19.7.12');
define ('SPHINX_PORT', 3312);
define ('SPHINX_VERSION', "2.2.11");
define ('SPHINX_ENT_HOST', '172.19.7.12');
define ('SPHINX_ENT_PORT', 3312);
define ('SPHINX_ENT_VERSION', "2.2.11");
define ('SPHINX_DIR_HOST', '172.19.7.12');
define ('SPHINX_DIR_PORT', 3312);
define ('SPHINX_DIR_VERSION', "2.2.11");
define ('SPHINX_ACT_HOST', '172.19.7.12');
define ('SPHINX_ACT_PORT', 3312);
define ('SPHINX_ACT_VERSION', "2.2.11");
define ('SPHINX_HISTO_HOST', '172.19.7.12');
define ('SPHINX_HISTO_PORT', 3312);
define ('SPHINX_HISTO_VERSION', "2.2.11");
/** SERVEUR DE MESSAGERIE **/
define ('SMTP_HOST', 'smtp.celeste.fr');
define ('SMTP_PORT', 25);
define ('SMTP_USER', '');
define ('SMTP_PASS', '');
/** INFOGREFFE **/
define('INFOGREFFE_DISPO', true);
define('INFOGREFFE_DISPO_WS', true);
define('INFOGREFFE_DISPO_WEB', true);
define('INFOGREFFE_WS_URL', 'https://webservices.infogreffe.fr/WSContextInfogreffe/INFOGREFFE');
define('INFOGREFFE_WS_URI', 'https://webservices.infogreffe.fr/');
define('INFOGREFFE_WS_USER', '85000109');
define('INFOGREFFE_WS_PASS', '166');
/** AMABIS **/
define('AMABIS_WS_URL', 'http://sw4.amabis.com:5101');
define('AMABIS_WS_URI', 'http://sw4.amabis.com:5101');
/** Dossiers locaux pour les documents a telecharger (PDF kbis, marques, etc...) **/
define ('DOC_WEB_LOCAL', '/home/deploy/batch/shared/datafile/');
define ('DOC_WEB_URL', '/data/');
/** LOGGING **/
define('LOG_PATH', '/home/deploy/batch/shared/log');
define ('DATETIME', date('YmdHis'));
define ('DATE', substr(DATETIME,0,8));
define ('TIME', substr(DATETIME,8,6));
define ('DATE_LISIBLE', substr(DATETIME,6,2).'/'.substr(DATETIME,4,2).'/'.substr(DATETIME,0,4));
define ('TIME_LISIBLE', substr(DATETIME,8,2).':'.substr(DATETIME,10,2).':'.substr(DATETIME,12,2));

View File

@ -19,9 +19,9 @@ profil.path.sftp = "/home/data/sftp"
; Database configuration
profil.db.metier.adapter=mysqli
profil.db.metier.params.host=192.168.3.28
profil.db.metier.params.username=batchuser
profil.db.metier.params.password=2XQTpKatBVRezXE9
profil.db.metier.params.host=172.19.7.10
profil.db.metier.params.username=flux
profil.db.metier.params.password=BMsH9vSEExbu5JK6
profil.db.metier.params.dbname=sdv1
profil.db.metier.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"

View File

@ -0,0 +1,51 @@
[production]
phpSettings.date.timezone = "Europe/Paris"
phpSettings.display_startup_errors = 0
phpSettings.display_errors = 0
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"
appnamespace = "Application"
resources.session.save_path = APPLICATION_PATH "/../data/sessions"
resources.session.gc_maxlifetime = 86400
resources.session.cookie_lifetime = 86400
resources.session.remember_me_seconds = 86400
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth"
resources.frontController.plugins.Menu = "Application_Controller_Plugin_Menu"
resources.frontController.plugins.Comptage = "Application_Controller_Plugin_Comptage"
resources.frontController.params.displayExceptions = 0
resources.layout.layout = "main"
resources.layout.layoutPath = APPLICATION_PATH "/views/default"
resources.view.basePath = APPLICATION_PATH "/views/default"
autoloaderNamespaces[] = "Application_"
autoloaderNamespaces[] = "Scores_"
; Scores configuration
profil.server.name = Odea
profil.webservice.location = celeste
profil.mail.method = sendmail
profil.mail.email.support = supportdev@scores-decisions.com
profil.mail.email.supportdev = supportdev@scores-decisions.com
profil.mail.email.contact = supportdev@scores-decisions.com
profil.mail.email.production = supportdev@scores-decisions.com
profil.path.data = "/home/vhosts/data"
profil.db.metier.adapter=mysqli
profil.db.metier.params.host=172.19.7.10
profil.db.metier.params.username=odea
profil.db.metier.params.password=BMsH9vSEExbu5JK6
profil.db.metier.params.dbname=ciblage
profil.db.metier.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
profil.sphinx.host=127.0.0.1
profil.sphinx.port=3312
[staging : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
resources.frontController.params.displayExceptions = 1
[development : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
resources.frontController.params.displayExceptions = 1

View File

@ -0,0 +1,78 @@
[production]
phpSettings.soap.wsdl_cache_dir = "PROJECT_DIR/shared/sessions/wsdl"
phpSettings.date.timezone = "Europe/Paris"
phpSettings.display_startup_errors = 0
phpSettings.display_errors = 0
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"
appnamespace = "Application"
resources.session.save_path = "PROJECT_DIR/shared/sessions"
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth"
resources.frontController.plugins.Services = "Application_Controller_Plugin_Services"
resources.frontController.plugins.Menu = "Application_Controller_Plugin_Menu"
resources.frontController.params.displayExceptions = 0
resources.layout.layout = "layout"
resources.layout.layoutPath = APPLICATION_PATH "/views"
resources.view.basePath = APPLICATION_PATH "/views"
; Scores configuration
profil.server.name = WebRecette
profil.mail.method = smtp
profil.mail.host = 192.168.3.200
profil.mail.port = 587
profil.mail.auth = login
profil.mail.username = batch1@srvbak01
profil.mail.password = test
profil.mail.email.support = supportdev@scores-decisions.com
profil.mail.email.supportdev = supportdev@scores-decisions.com
profil.mail.email.contact = supportdev@scores-decisions.com
profil.mail.email.production = supportdev@scores-decisions.com
profil.wkhtmltopdf.path = "/usr/local/bin/wkhtmltopdf"
profil.path.shared = "PROJECT_DIR/shared"
; Metier - Infogreffe
profil.infogreffe.wsdl = "infogreffe.wsdl"
profil.infogreffe.url = "https://webservices.infogreffe.fr/WSContextInfogreffe/INFOGREFFE"
profil.infogreffe.uri = "https://webservices.infogreffe.fr/"
profil.infogreffe.user = 85000109
profil.infogreffe.password = 166
profil.infogreffe.cache.path = "PROJECT_DIR/shared/cache"
profil.infogreffe.cache.time = 8
profil.infogreffe.storage.path = "PROJECT_DIR/shared/datafile/greffes"
; Sphinx configuration
profil.sphinx.ent.host = "172.19.7.10"
profil.sphinx.ent.port = 3312
profil.sphinx.ent.version = "2.2.11"
profil.sphinx.dir.host = "172.19.7.10"
profil.sphinx.dir.port = 3312
profil.sphinx.dir.version = "2.2.11"
profil.sphinx.act.host = "172.19.7.10"
profil.sphinx.act.port = 3312
profil.sphinx.act.version = "2.2.9"
profil.sphinx.histo.host = "172.19.7.10"
profil.sphinx.histo.port = 3312
profil.sphinx.histo.version = "2.2.11"
; For old configuration - see Configure.php
profil.db.metier.adapter=mysqli
profil.db.metier.params.host=172.19.7.10
profil.db.metier.params.username=webservice
profil.db.metier.params.password=BMsH9vSEExbu5JK6
profil.db.metier.params.dbname=sdv1
profil.db.metier.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8mb4"
[staging : production]
phpSettings.soap.wsdl_cache_enabled = 0
resources.frontController.params.displayExceptions = 1
[development : production]
phpSettings.soap.wsdl_cache_enabled = 0
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 0
resources.frontController.params.displayExceptions = 1
[testing : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1

View File

@ -0,0 +1,78 @@
[production]
phpSettings.soap.wsdl_cache_dir = "PROJECT_DIR/shared/sessions/wsdl"
phpSettings.date.timezone = "Europe/Paris"
phpSettings.display_startup_errors = 0
phpSettings.display_errors = 0
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"
appnamespace = "Application"
resources.session.save_path = "PROJECT_DIR/shared/sessions"
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth"
resources.frontController.plugins.Services = "Application_Controller_Plugin_Services"
resources.frontController.plugins.Menu = "Application_Controller_Plugin_Menu"
resources.frontController.params.displayExceptions = 0
resources.layout.layout = "layout"
resources.layout.layoutPath = APPLICATION_PATH "/views"
resources.view.basePath = APPLICATION_PATH "/views"
; Scores configuration
profil.server.name = WebService
profil.mail.method = smtp
profil.mail.host = 192.168.3.200
profil.mail.port = 587
profil.mail.auth = login
profil.mail.username = batch1@srvbak01
profil.mail.password = test
profil.mail.email.support = support@scores-decisions.com
profil.mail.email.supportdev = supportdev@scores-decisions.com
profil.mail.email.contact = contact@scores-decisions.com
profil.mail.email.production = production@scores-decisions.com
profil.wkhtmltopdf.path = "/usr/local/bin/wkhtmltopdf"
profil.path.shared = "PROJECT_DIR/shared"
; Metier - Infogreffe
profil.infogreffe.wsdl = "infogreffe.wsdl"
profil.infogreffe.url = "https://webservices.infogreffe.fr/WSContextInfogreffe/INFOGREFFE"
profil.infogreffe.uri = "https://webservices.infogreffe.fr/"
profil.infogreffe.user = 85000109
profil.infogreffe.password = 166
profil.infogreffe.cache.path = "PROJECT_DIR/shared/cache"
profil.infogreffe.cache.time = 8
profil.infogreffe.storage.path = "PROJECT_DIR/shared/datafile/greffes"
; Sphinx configuration
profil.sphinx.ent.host = "172.19.7.10"
profil.sphinx.ent.port = 3312
profil.sphinx.ent.version = "2.2.11"
profil.sphinx.dir.host = "172.19.7.10"
profil.sphinx.dir.port = 3312
profil.sphinx.dir.version = "2.2.11"
profil.sphinx.act.host = "172.19.7.10"
profil.sphinx.act.port = 3312
profil.sphinx.act.version = "2.2.9"
profil.sphinx.histo.host = "172.19.7.10"
profil.sphinx.histo.port = 3312
profil.sphinx.histo.version = "2.2.11"
; For old configuration - see Configure.php
profil.db.metier.adapter=mysqli
profil.db.metier.params.host=172.19.7.10
profil.db.metier.params.username=webservice
profil.db.metier.params.password=BMsH9vSEExbu5JK6
profil.db.metier.params.dbname=sdv1
profil.db.metier.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8mb4"
[staging : production]
phpSettings.soap.wsdl_cache_enabled = 0
resources.frontController.params.displayExceptions = 1
[development : production]
phpSettings.soap.wsdl_cache_enabled = 0
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 0
resources.frontController.params.displayExceptions = 1
[testing : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1