From e22285352e5077072c93c834ab6d060022885d72 Mon Sep 17 00:00:00 2001
From: llaffont <llaffont@afi-sa.fr>
Date: Tue, 28 Oct 2014 15:07:19 +0100
Subject: [PATCH] Add db state in monitoring web service

---
 cosmogramme/php/web_services/statut_integration.php | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/cosmogramme/php/web_services/statut_integration.php b/cosmogramme/php/web_services/statut_integration.php
index 54301bc5953..5c1a13b0fd0 100644
--- a/cosmogramme/php/web_services/statut_integration.php
+++ b/cosmogramme/php/web_services/statut_integration.php
@@ -16,7 +16,7 @@
  *
  * You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
  * along with AFI-OPAC 2.0; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA 
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
  */
 ////////////////////////////////////////////////////////////////////////////////////////////
 // RENVOIE LES DATES DE LA DERNIERE INTEGRATION
@@ -35,7 +35,8 @@ if(!$enreg)
 }
 echo "transfert|".$enreg["date_transfert"]."|";
 echo "integration|".$enreg["traite"]."|";
-echo "duree|".$enreg["temps_traitement"];
+echo "duree|".$enreg["temps_traitement"]."|";
+echo "db_state|".Class_CosmoVar::get('clef_traitements');
 exit;
 
 ?>
\ No newline at end of file
-- 
GitLab