Preparing for 2021.0.0/3.1.0 apps

Spring Boot 2.5.0
Spring Cloud Stream 3.1.x
Spring Cloud Function 3.1.x
Spring Cloud 2020.0.x

Update code/deprecations
Fix tests
Update copyrights
This commit is contained in:
Soby Chacko
2021-06-04 11:36:09 -04:00
parent 070c7fb116
commit 5ba0269a0b
105 changed files with 421 additions and 376 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2020-2020 the original author or authors.
* Copyright 2020-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -55,7 +55,7 @@ public class SyslogSourceTests {
sendTcp(RFC3164_PACKET + "\n", connectionFactory);
OutputDestination target = context.getBean(OutputDestination.class);
Message<byte[]> sourceMessage = target.receive(10000);
Message<byte[]> sourceMessage = target.receive(10000, "syslogSupplier-out-0");
String actual = new String(sourceMessage.getPayload());
final Map map = new ObjectMapper().readValue(actual, Map.class);
assertThat(map.get("HOST")).isEqualTo("WEBERN");