@@ -73,7 +73,7 @@ private static void waitForLogs(RestClient client) throws Exception {
7373 });
7474 }
7575
76- private static final String LOGS_TEMPLATE = """
76+ static final String LOGS_TEMPLATE = """
7777 {
7878 "index_patterns": [ "logs-*-*" ],
7979 "data_stream": {},
@@ -110,7 +110,7 @@ private static void waitForLogs(RestClient client) throws Exception {
110110 }
111111 }""" ;
112112
113- private static final String LOGS_STANDARD_INDEX_MODE = """
113+ static final String LOGS_STANDARD_INDEX_MODE = """
114114 {
115115 "index_patterns": [ "logs-*-*" ],
116116 "data_stream": {},
@@ -143,7 +143,7 @@ private static void waitForLogs(RestClient client) throws Exception {
143143 }
144144 }""" ;
145145
146- private static final String STANDARD_TEMPLATE = """
146+ static final String STANDARD_TEMPLATE = """
147147 {
148148 "index_patterns": [ "standard-*-*" ],
149149 "data_stream": {},
@@ -216,7 +216,7 @@ private static void waitForLogs(RestClient client) throws Exception {
216216 }
217217 }""" ;
218218
219- private static final String DOC_TEMPLATE = """
219+ static final String DOC_TEMPLATE = """
220220 {
221221 "@timestamp": "%s",
222222 "host.name": "%s",
@@ -588,7 +588,7 @@ private void assertDataStreamBackingIndexMode(final String indexMode, int backin
588588 assertThat (getSettings (client , getWriteBackingIndex (client , dataStreamName , backingIndex )).get ("index.mode" ), is (indexMode ));
589589 }
590590
591- private String document (
591+ static String document (
592592 final Instant timestamp ,
593593 final String hostname ,
594594 long pid ,
@@ -615,13 +615,13 @@ private static void createDataStream(final RestClient client, final String dataS
615615 assertOK (client .performRequest (request ));
616616 }
617617
618- private static void putTemplate (final RestClient client , final String templateName , final String mappings ) throws IOException {
618+ static void putTemplate (final RestClient client , final String templateName , final String mappings ) throws IOException {
619619 final Request request = new Request ("PUT" , "/_index_template/" + templateName );
620620 request .setJsonEntity (mappings );
621621 assertOK (client .performRequest (request ));
622622 }
623623
624- private static void indexDocument (final RestClient client , String indexOrtDataStream , String doc ) throws IOException {
624+ static void indexDocument (final RestClient client , String indexOrtDataStream , String doc ) throws IOException {
625625 final Request request = new Request ("POST" , "/" + indexOrtDataStream + "/_doc?refresh=true" );
626626 request .setJsonEntity (doc );
627627 final Response response = client .performRequest (request );
0 commit comments