You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 35c9100
Browse filesBrowse the repository at this point in the historyBrowse files
GH-1534 Isolate per-lookup output content type from the cached function wrapper
A singleton lookup that specifies output MIME types now returns a
separate FunctionInvocationWrapper with those types. The wrapper reuses
the same target, preserves composition, conversion, and header settings,
and has its own invocation state. Lookups without MIME types still
return the cached singleton wrapper. Regression tests cover concurrent
lookups, isolation of conversion settings, and JSON output from a
composed function.
Resolves#1534Resolves#1557
Signed-off-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Signed-off-by: Oleg Zhurakousky <oleg.zhurakousky@broadcom.com>
Copy file name to clipboardExpand all lines: spring-cloud-function-context/src/main/java/org/springframework/cloud/function/context/catalog/SimpleFunctionRegistry.java
Copy file name to clipboardExpand all lines: spring-cloud-function-context/src/test/java/org/springframework/cloud/function/context/catalog/SimpleFunctionRegistryTests.java
+111-4Lines changed: 111 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -401,11 +401,118 @@ public void testCachingOfFunction() {
0 commit comments