From 23a46b4be35277e06ec89f48730eeb694e686be8 Mon Sep 17 00:00:00 2001
From: Kenmegne <stephanie.kenmegne@gmail.com>
Date: Thu, 18 Jun 2026 15:40:06 +0000
Subject: [PATCH] add fdx-commons and fdx-consultation
---
fdx-commons/fdxcommons-tools/src/main/java/com/megatim/fdxcommons/tools/context/AppContext.java | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 48 insertions(+), 0 deletions(-)
diff --git a/fdx-commons/fdxcommons-tools/src/main/java/com/megatim/fdxcommons/tools/context/AppContext.java b/fdx-commons/fdxcommons-tools/src/main/java/com/megatim/fdxcommons/tools/context/AppContext.java
new file mode 100644
index 0000000..6554d8f
--- /dev/null
+++ b/fdx-commons/fdxcommons-tools/src/main/java/com/megatim/fdxcommons/tools/context/AppContext.java
@@ -0,0 +1,48 @@
+package com.megatim.fdxcommons.tools.context;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ *
+ * @author ASUS
+ */
+public class AppContext {
+ public static final String PROPERTY_FILE_PATH = System.getProperty("api-file");
+ public static final String BROKER_FILE_PATH = System.getProperty("broker-file");
+
+ public static final String USER_ACTION_TO_FDX_CONS_DIRECT = "userActionToFdxConsDirect";
+ public static final String USER_ACTION_TO_FDX_CONS_EXCHANGE = "userActionToFdxConsExchange";
+ public static final String USER_ACTION_TO_FDX_CONS_QUEUE = "userActionToFdxConsQueue";
+ public static final String USER_ACTION_TO_FDX_CONS_ROUTING_KEY = "userActionToFdxConsRoutingKey";
+ public static final String DELETE_DATAPRODUCTION_TIMER = "delete-dataproduction-timer";
+
+ /* Format de date */
+ public static String FORMAT_DATE_DDSlashMMSlashYYYY = "dd/MM/yyyy";
+ public static String FORMAT_DATE_MMSlashDDSlashYYYY = "MM/dd/yyyy";
+ public static String FORMAT_DATE_DDMMYYYYHHMMSS = "ddMMyyyyHHmmss";
+ public static String FORMAT_DATE_YYYYMMDD = "yyyyMMdd";
+ public static String FORMAT_DATE_HEURE_CLASSIQUE = "dd/MM/yyyy HH:mm:ss";
+ public static String FORMAT_DATE_YYYYTIRETMMTIRETDD = "yyyy-MM-dd";
+ public static String FORMAT_DATE_YYYYTIRETMMTIRETDD_HHMMSS = "yyyy-MM-dd HH:mm:ss";
+ public static String FORMAT_ANNEE_YYYY = "yyyy";
+ public static String FORMAT_ANNEE_YY = "yy";
+
+ public static final String BROKER = "localhost:9092&maxRequestSize=100000000";
+
+ public static final String REFERENTIEL_INTEGRATION_EXCHANGE = "referentielIntegrationExchange";
+ public static final String REFERENTIEL_INTEGRATION_QUEUE = "referentielIntegrationQueue";
+ public static final String REFERENTIEL_INTEGRATION_ROUTING_KEY = "referentielIntegrationRoutingKey";
+
+ public static final String DATA_INTEGRATION_EXCHANGE = "dataIntegrationExchange";
+ public static final String DATA_INTEGRATION_QUEUE = "dataIntegrationQueue";
+ public static final String DATA_INTEGRATION_ROUTING_KEY = "dataIntegrationRoutingKey";
+
+ public static final String REMOTE_CONFIGURATION_EXCHANGE = "remoteConfigurationExchange";
+ public static final String REMOTE_CONFIGURATION_QUEUE = "remoteConfigurationQueue";
+ public static final String REMOTE_CONFIGURATION_ROUTING_KEY = "remoteConfigurationRoutingKey";
+
+ /* Variables */
+ public static Map<String, String> registre_codes_http = new HashMap<>();
+
+}
--
Gitblit v1.10.0