Skip to content

HTTP-99 Add support for generic json and URL query creator #149

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

davidradl
Copy link
Contributor

Description

Added support for generic json and URL query creator. This is a generic json query creator, aiming to allow the common json requests to be constructed using table configuration, rather than requiring custom java code to be written.

Resolves HTTP99

PR Checklist

@davidradl
Copy link
Contributor Author

@maciejmaciejko-gid thanks for the feedback, I have implemented most of it. The formatting is somewhat dictated by the check style. It is especially harsh on new lines. I have left the commits unsquashed as previously requested by @grzegorz8 .

@SuppressWarnings({"checkstyle:RegexpSingleline", "checkstyle:LineLength"})
public class GenericJsonAndUrlQueryCreatorFactory implements LookupQueryCreatorFactory {
private static final long serialVersionUID = 1L;
private static final Logger log =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still see custom definition of log instead of @Slf4j.

davidradl added 9 commits May 6, 2025 17:10
Signed-off-by: davidradl <david_radley@uk.ibm.com>
Signed-off-by: davidradl <david_radley@uk.ibm.com>
Signed-off-by: davidradl <david_radley@uk.ibm.com>
Signed-off-by: davidradl <david_radley@uk.ibm.com>
Signed-off-by: davidradl <david_radley@uk.ibm.com>
Signed-off-by: davidradl <david_radley@uk.ibm.com>
Signed-off-by: davidradl <david_radley@uk.ibm.com>
Signed-off-by: davidradl <david_radley@uk.ibm.com>
Signed-off-by: davidradl <david_radley@uk.ibm.com>
davidradl added 6 commits May 6, 2025 22:22
Signed-off-by: davidradl <david_radley@uk.ibm.com>
Signed-off-by: davidradl <david_radley@uk.ibm.com>
Signed-off-by: davidradl <david_radley@uk.ibm.com>
Signed-off-by: davidradl <david_radley@uk.ibm.com>
Signed-off-by: davidradl <david_radley@uk.ibm.com>
Signed-off-by: davidradl <david_radley@uk.ibm.com>
Signed-off-by: davidradl <david_radley@uk.ibm.com>
@davidradl davidradl requested a review from grzegorz8 May 7, 2025 14:24
@davidradl
Copy link
Contributor Author

@grzegorz8 @maciejmaciejko-gid I think I have addressed everything. LGTM.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants