-
Notifications
You must be signed in to change notification settings - Fork 441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add expression support to endpoint definition attributes for handling endpoints in the HTTP connector. #2238
Conversation
…json representation change
…pend state properties change
…out state properties change
Please squash these commits to a single one |
...es/core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointDefinitionFactory.java
Outdated
Show resolved
Hide resolved
...es/core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointDefinitionFactory.java
Outdated
Show resolved
Hide resolved
...es/core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointDefinitionFactory.java
Outdated
Show resolved
Hide resolved
...es/core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointDefinitionFactory.java
Outdated
Show resolved
Hide resolved
modules/core/src/main/java/org/apache/synapse/endpoints/Endpoint.java
Outdated
Show resolved
Hide resolved
...es/core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointDefinitionFactory.java
Outdated
Show resolved
Hide resolved
...es/core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointDefinitionFactory.java
Outdated
Show resolved
Hide resolved
...es/core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointDefinitionFactory.java
Outdated
Show resolved
Hide resolved
...es/core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointDefinitionFactory.java
Outdated
Show resolved
Hide resolved
...es/core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointDefinitionFactory.java
Show resolved
Hide resolved
...core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointDefinitionSerializer.java
Outdated
Show resolved
Hide resolved
...core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointDefinitionSerializer.java
Outdated
Show resolved
Hide resolved
ffb50b7
to
2492a4e
Compare
modules/core/src/main/java/org/apache/synapse/config/SynapseConfigUtils.java
Outdated
Show resolved
Hide resolved
modules/core/src/main/java/org/apache/synapse/config/SynapseConfigUtils.java
Outdated
Show resolved
Hide resolved
modules/core/src/test/java/org/apache/synapse/endpoints/HttpEndpointTest.java
Outdated
Show resolved
Hide resolved
...es/core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointDefinitionFactory.java
Outdated
Show resolved
Hide resolved
2492a4e
to
e79f395
Compare
Shall we explore whether we can resolve the values at the first request and use them for consecutive requests? Also lets try to do it for HTTP Endpoint only so that we do not have to modify the behaviour of other endpoint types. |
To handle the endpoints required for the HTTP connector, it was agreed that deploying the endpoints during the local entry deployment would be a better approach than making every field dynamic. |
Purpose
The HTTP connector uses the following format for maintaining endpoint definitions. To support this format, expression support for endpoint definition attributes is required. This PR introduces the necessary changes to enable this support for the use of HTTP connector. Note that expression support for
timeout-duration
is already available.