@Test public void succeedIsConfigRequestWithConfigPath() { esRequest = new Request(TestConstants.PUT_METHOD, Constants.CONFIG_PATH_EXPOSED_TO_CUSTOMER); boolean result = RequestIdentifier.isConfigRequest(esRequest); assertTrue(result); }
public static boolean isConfigRequest(@NonNull Request esRequest) { return Constants.CONFIG_PATH_EXPOSED_TO_CUSTOMER.equalsIgnoreCase(esRequest.getEndpoint()) || isConfigUpdateRequest(esRequest); }
RequestIdentifier { public static boolean isConfigRequest(@NonNull Request esRequest) { return Constants.CONFIG_PATH_EXPOSED_TO_CUSTOMER.equalsIgnoreCase(esRequest.getEndpoint()) || isConfigUpdateRequest(esRequest); } }
RequestIdentifier { public static boolean isConfigRequest(@NonNull Request esRequest) { return Constants.CONFIG_PATH_EXPOSED_TO_CUSTOMER.equalsIgnoreCase(esRequest.getEndpoint()) || isConfigUpdateRequest(esRequest); }  }
RequestIdentifier { public static boolean isConfigRequest(@NonNull Request esRequest) { return Constants.CONFIG_PATH_EXPOSED_TO_CUSTOMER.equalsIgnoreCase(esRequest.getEndpoint()) || isConfigUpdateRequest(esRequest); }  static boolean isConfigRequest(@NonNull Request esRequest); static boolean isConfigUpdateRequest(@NonNull Request esRequest); static boolean isMutationRequest(@NonNull Request esRequest); static boolean isIndexRequest(@NonNull Request esRequest); static boolean isBulkRequest(@NonNull Request esRequest); static String getIndexName(@NonNull Request esRequest); static Optional<String> getBulkIndexName(@NonNull String payloadLine); }
RequestIdentifier { public static boolean isConfigRequest(@NonNull Request esRequest) { return Constants.CONFIG_PATH_EXPOSED_TO_CUSTOMER.equalsIgnoreCase(esRequest.getEndpoint()) || isConfigUpdateRequest(esRequest); }  static boolean isConfigRequest(@NonNull Request esRequest); static boolean isConfigUpdateRequest(@NonNull Request esRequest); static boolean isMutationRequest(@NonNull Request esRequest); static boolean isIndexRequest(@NonNull Request esRequest); static boolean isBulkRequest(@NonNull Request esRequest); static String getIndexName(@NonNull Request esRequest); static Optional<String> getBulkIndexName(@NonNull String payloadLine);  }