Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getTestToken (0.12 sec)

  1. src/test/java/org/codelibs/fess/it/ITBase.java

        public static final String DEFAULT_TEST_TOKEN_ID = "testToken";
        private static final String TEST_TOKEN = "test.token";
    
        public static String getTestToken() {
            return System.getProperty(TEST_TOKEN, DEFAULT_TEST_TOKEN);
        }
    
        public static String settingTestToken() {
            final String testToken = System.getProperty(TEST_TOKEN);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/CrudTestBase.java

            // logger.debug(response.asString());
            return response;
        }
    
        protected Response checkDeleteMethod(final String path) {
            return given().contentType("application/json").header("Authorization", getTestToken()).delete(getApiPath() + "/" + path);
        }
    
        protected List<Map<String, Object>> getItemList(final Map<String, Object> body) {
            String response = checkGetMethod(body, getListEndpointSuffix()).asString();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            return itemList;
        }
    
        protected static Response deleteMethod(final String path) {
            return given().contentType("application/json").header("Authorization", getTestToken()).delete(path);
        }
    
        protected static void deleteDocuments(final String queryString) {
            List<String> docIds = new ArrayList<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top