ansible/apps/batch/config/prod/172.19.7.13.php
2017-03-24 14:02:49 +01:00

100 lines
3.8 KiB
PHP
Executable File

<?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', '172.19.7.10');
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', 9312);
define ('SPHINX_VERSION', "2.2.11");
define ('SPHINX_ENT_HOST', '172.19.7.12');
define ('SPHINX_ENT_PORT', 9312);
define ('SPHINX_ENT_VERSION', "2.2.11");
define ('SPHINX_DIR_HOST', '172.19.7.12');
define ('SPHINX_DIR_PORT', 9312);
define ('SPHINX_DIR_VERSION', "2.2.11");
define ('SPHINX_ACT_HOST', '172.19.7.12');
define ('SPHINX_ACT_PORT', 9312);
define ('SPHINX_ACT_VERSION', "2.2.11");
define ('SPHINX_HISTO_HOST', '172.19.7.12');
define ('SPHINX_HISTO_PORT', 9312);
define ('SPHINX_HISTO_VERSION', "2.2.11");
/** SERVEUR DE MESSAGERIE **/
define ('SMTP_HOST', '172.19.1.10');
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));