Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for FESS_APP_TYPE (0.08 sec)

  1. src/main/java/org/codelibs/fess/util/ResourceUtil.java

        private static final String FESS_OVERRIDE_CONF_PATH = "FESS_OVERRIDE_CONF_PATH";
    
        /** Environment variable name for specifying the application type */
        private static final String FESS_APP_TYPE = "FESS_APP_TYPE";
    
        /** Constant value representing Docker application type */
        private static final String FESS_APP_DOCKER = "docker";
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

            dockerEnv.put("FESS_APP_TYPE", "docker");
            activityHelper.setEnvMap(dockerEnv);
            activityHelper.init();
            assertTrue(activityHelper.useEcsFormat);
        }
    
        public void test_init_withNonDockerEnvironment() {
            Map<String, String> nonDockerEnv = new HashMap<>();
            nonDockerEnv.put("FESS_APP_TYPE", "standalone");
            activityHelper.setEnvMap(nonDockerEnv);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

            final String logFormat = ComponentUtil.getFessConfig().getAppAuditLogFormat();
            if (StringUtil.isBlank(logFormat)) {
                useEcsFormat = "docker".equals(getEnvMap().get("FESS_APP_TYPE"));
            } else if ("ecs".equals(logFormat)) {
                useEcsFormat = true;
            }
        }
    
        /**
         * Get the environment map.
         * @return The environment map.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            assertEquals("c:\\test1\\test2", ResourceUtil.resolve(value));
    
        }
    
        public void test_getAppType() {
            // Test default empty when no env var is set
            String originalAppType = System.getenv("FESS_APP_TYPE");
    
            // Since we can't modify environment variables directly,
            // we test the current behavior
            String appType = ResourceUtil.getAppType();
            assertNotNull(appType);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top