File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
cloudfoundry-operations/src/test/java/org/cloudfoundry/operations/applications
integration-test/src/test/java/org/cloudfoundry/operations Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 3333import java .util .Collections ;
3434import java .util .Date ;
3535import java .util .LinkedList ;
36+ import java .util .List ;
3637import java .util .Map ;
3738import java .util .Optional ;
3839import java .util .Queue ;
144145import org .cloudfoundry .doppler .LogMessage ;
145146import org .cloudfoundry .doppler .RecentLogsRequest ;
146147import org .cloudfoundry .doppler .StreamRequest ;
148+ import org .cloudfoundry .logcache .v1 .Envelope ;
147149import org .cloudfoundry .logcache .v1 .EnvelopeBatch ;
148150import org .cloudfoundry .logcache .v1 .Log ;
149151import org .cloudfoundry .logcache .v1 .LogCacheClient ;
@@ -5105,11 +5107,8 @@ private static void requestLogsRecentLogCache(
51055107 .envelopes (
51065108 fill (EnvelopeBatch .builder ())
51075109 .batch (
5108- Arrays .asList (
5109- fill (org .cloudfoundry
5110- .logcache .v1
5111- .Envelope
5112- .builder ())
5110+ List .of (
5111+ fill (Envelope .builder ())
51135112 .log (
51145113 Log
51155114 .builder ()
Original file line number Diff line number Diff line change @@ -529,7 +529,8 @@ public void logs() throws IOException {
529529 this .cloudFoundryOperations
530530 .applications ()
531531 .logs (
532- ApplicationLogsRequest .builder ()
532+ ApplicationLogsRequest
533+ .builder ()
533534 .name (applicationName )
534535 .recent (true )
535536 .build ()))
@@ -2205,7 +2206,7 @@ private static Mono<String> getAppGuidFromAppName(
22052206 }
22062207
22072208 private static Log checkOneLogEntry (Log log ) {
2208- assertThat (log .getType (). equals (LogType .OUT ) );
2209+ assertThat (log .getType ()). isEqualTo (LogType .OUT );
22092210 OperationsLogging .log ("one log entry: " + log .getType () + " " + log .getPayloadAsText ());
22102211 return log ;
22112212 }
You can’t perform that action at this time.
0 commit comments