Skip to content
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

[FEATURE] Add a proper error handling #6

Open
2 tasks
airnst opened this issue Sep 9, 2024 · 0 comments
Open
2 tasks

[FEATURE] Add a proper error handling #6

airnst opened this issue Sep 9, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request index.php

Comments

@airnst
Copy link
Collaborator

airnst commented Sep 9, 2024

Description

In order to ensure the data transformation service to work in a stable and transparent fashion, appropriate error handling should be implemented for the following aspects:

  • Check if 'service' parameter is present and handle its absence.
  • Check if value in 'version' does not exist in DTS
  • Check if latest version is deprecated. If so, reject transformation.
  • Check if 'transformation' parameter is empty.
  • Handling of URLs that include parameters or trailing slashes.
  • Handling of unsupported engines.
  • Proper error logging.

Open questions

Files

  1. index.php

Tasks

  • Implement respective handling code.
  • Conduct tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request index.php
Projects
None yet
Development

No branches or pull requests

1 participant