Skip to content

Add endpoint to fetch single file import log by ID#549

Merged
StuartFerguson merged 1 commit into
mainfrom
task/#546_single_file_import_log
May 20, 2026
Merged

Add endpoint to fetch single file import log by ID#549
StuartFerguson merged 1 commit into
mainfrom
task/#546_single_file_import_log

Conversation

@StuartFerguson

Copy link
Copy Markdown
Member

Introduced a new API endpoint and supporting logic to retrieve a single file import log by its ID, with optional merchant filtering. Changes include:

  • New GetFileImportLogQuery in FileImportLogQueries
  • GetFileImportLog method in ReportingManager and interface update
  • FileImportLogRequestHandler now handles both list and single log queries
  • Endpoint and handler for GET /{fileimportlogid}
  • Integration tests for new endpoint, merchant filtering, and not found cases
  • Refactoring for improved separation of concerns and maintainability

closes #546

Introduced a new API endpoint and supporting logic to retrieve a single file import log by its ID, with optional merchant filtering. Changes include:
- New GetFileImportLogQuery in FileImportLogQueries
- GetFileImportLog method in ReportingManager and interface update
- FileImportLogRequestHandler now handles both list and single log queries
- Endpoint and handler for GET /{fileimportlogid}
- Integration tests for new endpoint, merchant filtering, and not found cases
- Refactoring for improved separation of concerns and maintainability
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 11 complexity · 6 duplication

Metric Results
Complexity 11
Duplication 6

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@StuartFerguson StuartFerguson merged commit 8f307fe into main May 20, 2026
5 checks passed
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.

Endpoint to get Details of a single file import log

1 participant