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

Add Job to allow for sending raw email to app externally #299

Open
joewesch opened this issue May 29, 2024 · 3 comments
Open

Add Job to allow for sending raw email to app externally #299

joewesch opened this issue May 29, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@joewesch
Copy link

Proposed Functionality

Currently the app requires access to an email account to discover emails, but this is not always available or desired. We should provide a Job that can be called via API with all required parameters needed (provider, raw email, etc) to attempt to create all applicable Nautobot objects (maintenance, circuits impacted, etc).

Use Case

  • I don't use IMAP or GMail for my mail provider
  • My Nautobot instance cannot be provided access to the internet or given any email credentials to poll an inbox
@chadell
Copy link
Contributor

chadell commented Jun 3, 2024

@joewesch , I think #282 is related, but here, I understand that you want to expose via a very simple job a parsing strategy to call on-demand externally. isn't it?

@joewesch
Copy link
Author

joewesch commented Jun 4, 2024

Yes, it is related in the same sense of trying to bypass needing the app itself to monitor a mailbox. I have a client that would like to be able to parse the inbox externally (their Nautobot instance doesn't have access to much) and send the contents to the circuit maintenance app via API call. My initial thought was a Job, but there may be other/better methods that could suffice.

@glennmatthews
Copy link
Contributor

Probably could be done directly as a custom REST API endpoint (something like /api/plugins/circuit-maintenance/raw-notifications/parse/ perhaps?) without needing a Job per se.

@chadell chadell added the enhancement New feature or request label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants