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

Allow export template to be sent to a URL #555

Open
jasjukaitis opened this issue Feb 22, 2022 · 5 comments
Open

Allow export template to be sent to a URL #555

jasjukaitis opened this issue Feb 22, 2022 · 5 comments
Assignees
Labels

Comments

@jasjukaitis
Copy link

Peering Manager version

v1.5.3-dev

Feature type

New functionality

Proposed functionality

-> Easy update of the autonomous system on RIPE IRR with a push of a button when peering connections are updated.
-> Before syncing, they can inspect the rendered body for validation.
-> Users can have multiple maintainers on RIPE IRR.

Use case

-> Saving time
-> Less error-prone
-> Easy to use

Database changes

-> New model to store passwords

External dependencies

No response

@gmazoyer
Copy link
Member

The export template feature introduced in 1.7.0 can help in solving this issue. It still lacks the export to URL (or whatever) feature. So I'll leave this issue open, and update its title to better match the current missing bits.

@gmazoyer gmazoyer changed the title Update autonomous system on RIPE IRR easier Allow export template to be sent to a URL Aug 21, 2022
@cron2
Copy link

cron2 commented Sep 28, 2022

Just came across this. This would indeed be a very nice feature to have. IRR aut-num objects notoriously get out of sync with real-world peerings, so having this integrated would do wonders for data quality :-)

@Paktosan
Copy link
Contributor

I would propose to have a new django-admin command that would render a template and send it somewhere as a HTTP POST.
For this, the template would have to render to a JSON document containing the URL, headers and body for the request.
One could then have a systemd-timer (or other way of automatic execution) to render and send the template whenever they need to.
This may be adaptable to write the output to a local file instead.

I think I could implement that.

@rinsekloek
Copy link
Contributor

Hi, what's the status of this request ?

@gmazoyer
Copy link
Member

gmazoyer commented Feb 1, 2024

I think the best way to tackle this would be to leverage the code that has been written for the webhook feature. With a bit of rework, I think we could implement this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

5 participants