Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ming zheng
Spring Cloud Function
Commits
127f716a
Unverified
Commit
127f716a
authored
5 years ago
by
Oleg Zhurakousky
Committed by
GitHub
5 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #450 from eddumelendez/azure_adapter_typos
Fix typos
parents
2b4f8c79
a3597614
main
3.0.x
3.1.0.M1-marcin
3.1.x
3.2.x
4.x
cloudevents
fix-artifact-version
fix-build-version
marcin-sleuth
newFR
new_docs_for_old_train
rsocket
spencergibb-patch-1
spencergibb-reenable-routingbrokertests
spencergibb-routing-tcp
spencergibb-rsocket-routing-version-0-1-0
temp-master
v3.2.1
v3.2.0
v3.2.0-RC1
v3.2.0-M3
v3.2.0-M2
v3.2.0-M1
v3.1.6
v3.1.5
v3.1.4
v3.1.3
v3.1.2
v3.1.1
v3.1.0
v3.1.0.M1
v3.1.0-RC1
v3.1.0-M5
v3.1.0-M4
v3.1.0-M3
v3.1.0-M2
v3.0.14.RELEASE
v3.0.13.RELEASE
v3.0.12.RELEASE
v3.0.11.RELEASE
v3.0.10.RELEASE
v3.0.9.RELEASE
v3.0.8.RELEASE
v3.0.7.RELEASE
v3.0.6.RELEASE
v3.0.5.RELEASE
v3.0.4.RELEASE
v3.0.3.RELEASE
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
spring-cloud-function-adapters/spring-cloud-function-adapter-azure/src/main/java/org/springframework/cloud/function/adapter/azure/AzureSpringBootRequestHandler.java
+4
-4
...function/adapter/azure/AzureSpringBootRequestHandler.java
with
4 additions
and
4 deletions
+4
-4
spring-cloud-function-adapters/spring-cloud-function-adapter-azure/src/main/java/org/springframework/cloud/function/adapter/azure/AzureSpringBootRequestHandler.java
+
4
-
4
View file @
127f716a
...
...
@@ -38,7 +38,7 @@ public class AzureSpringBootRequestHandler<I, O> extends AbstractSpringFunctionA
@SuppressWarnings
(
"rawtypes"
)
private
static
AzureSpringBootRequestHandler
thisInitializer
;
private
String
functio
i
nName
;
private
String
functionName
;
public
AzureSpringBootRequestHandler
(
Class
<?>
configurationClass
)
{
super
(
configurationClass
);
...
...
@@ -69,12 +69,12 @@ public class AzureSpringBootRequestHandler<I, O> extends AbstractSpringFunctionA
/*
* We need this "caching" logic to ensure that we don't reinitialize Spring Boot app on each invocation
* since Azu
e
re creates a new instance of this handler for each invocation,
* since Azure creates a new instance of this handler for each invocation,
* see https://github.com/spring-cloud/spring-cloud-function/issues/425
*/
if
(
thisInitializer
==
null
||
!
thisInitializer
.
functio
i
nName
.
equals
(
name
))
{
if
(
thisInitializer
==
null
||
!
thisInitializer
.
functionName
.
equals
(
name
))
{
initialize
(
context
);
this
.
functio
i
nName
=
name
;
this
.
functionName
=
name
;
thisInitializer
=
this
;
return
(
O
)
thisInitializer
.
handleRequest
(
input
,
context
);
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help