[
https://issues.apache.org/jira/browse/FLINK-39235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Radley updated FLINK-39235:
---------------------------------
Description:
The current body processing is not adequate because
- it does not insist that lookup join keys are top level
- allow those top level columns to be mapped into a HTTP body including at
nested levels.
was:
We have a proprietary json format in IBM that we use that allows literals
(constants) to be specified.
We are looking to move off this code an use the open source connector.
What we require for requests is :
- change 'http.request.additional-body-json' so that it ONLY works with columns
that are defined.
- change 'http.request.additional-body-json' so that it can specify a nested
constant and this is merged with event content
- change 'http.request.additional-body-json' so it will be used in preference
to the event content
What we require for responses
- 'http.response.default-json' . This will be one or more json objects that
define constants that will be used if there is no value for optional fields in
the HTTP response.
- 'http.response.default-json' needs to be able to specify json that will be
merged with event json including nesting
We may need to add more options if the community would like a more general
solution , but the above is what we need to be able to configure.
> Simplify HTTP body processing for GenericJsonAndUrlQueryCreator
> ---------------------------------------------------------------
>
> Key: FLINK-39235
> URL: https://issues.apache.org/jira/browse/FLINK-39235
> Project: Flink
> Issue Type: Technical Debt
> Components: Connectors / HTTP
> Reporter: David Radley
> Assignee: David Radley
> Priority: Major
> Labels: pull-request-available
>
> The current body processing is not adequate because
> - it does not insist that lookup join keys are top level
> - allow those top level columns to be mapped into a HTTP body including at
> nested levels.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)