Skip to content

[FIX] request parameter -> request header#7

Open
rrkas wants to merge 1 commit intoopenMF:masterfrom
rrkas:ack-fixes
Open

[FIX] request parameter -> request header#7
rrkas wants to merge 1 commit intoopenMF:masterfrom
rrkas:ack-fixes

Conversation

@rrkas
Copy link
Contributor

@rrkas rrkas commented Dec 27, 2021


@GetMapping("/batch/transactions")
public HashMap<String, String> batchTransactionDetails(@RequestParam String batchId) {
public HashMap<String, String> batchTransactionDetails(@RequestHeader("batchId") String batchId) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Batch id should be a request parameter and not a header.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unable to set request parameter in camel route of bulk processor. That's why using request header.

@avikganguly01
Copy link
Contributor

@SubhamPramanik : Please review. I want to make sure this doesn't have any regression on bulk processor.

@fynmanoj
Copy link
Contributor

fynmanoj commented Jun 2, 2023

stale PR

@fynmanoj fynmanoj closed this Jun 2, 2023
@fynmanoj fynmanoj reopened this Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants