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

Provide a clear way to handle recoverable errors during the load of an adapter. #461

Open
Kircheneer opened this issue May 23, 2024 · 0 comments
Labels
integration: contrib Contrib related issues and PRs type: enhancement New feature or request

Comments

@Kircheneer
Copy link
Contributor

Environment

  • Nautobot version:
  • nautobot-ssot version:

Proposed Functionality

Currently, different SSoTs implement recoverable error handling in different ways. I propose we align on a documented and supported way.

Use Case

If say a system of record has a badly formatted device name that we can't import, we need some way to track this. We don't want to pollute the job logs, because this can be a lot of items depending on the scenario.

Proposed Implementation

Provide some method on an adapter, like add_failed_item or something, that appends to a list. Then, at the end of any job, offer a CSV (example) download of all of these errors.

@jdrew82 jdrew82 added type: enhancement New feature or request integration: contrib Contrib related issues and PRs labels Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration: contrib Contrib related issues and PRs type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants