Missing Headers Problem

This commit is contained in:
Ömer Çelik
2024-08-02 01:06:04 +03:00
parent 1a0d6d3246
commit 98501d7535
2 changed files with 3 additions and 0 deletions

View File

@@ -42,7 +42,9 @@ import static org.assertj.core.api.Assertions.assertThat;
/**
* @author Omer Celik
*/
public class HeaderTests {
@BeforeAll
public static void before() {
System.clearProperty("spring.cloud.function.definition");

View File

@@ -834,6 +834,7 @@ public class FunctionConfiguration {
headersMap.putIfAbsent(MessageUtils.MESSAGE_TYPE, CloudEventMessageUtils.CLOUDEVENT_VALUE);
}
}
}
/**