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

feat/publish upload updates #189

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open

Conversation

aspedrosa
Copy link
Contributor

@aspedrosa aspedrosa commented May 10, 2021

Since this application can be used as a third-party application in another main application, some information that is uploaded to a data source on this application might also be present on the main application, so an update feature is important and useful.

Description

  • we use requests python library to sent requests
  • these requests are groups in groups allowing to send several requests to the same server after an upload is done.
    • Each group can be deactivated
  • to define the URL, method, and other request parameters the application admin must provide a Jinja2 template, where he has access to the data that was uploaded, the data source model object of the data source to which the data is being uploaded to and the response objects returned by the previous requests of the same RequestsGroup.
    • I choose to use Jinja2 instead of Django's template buildtin system since the latter is more restricted and more HTML-oriented.
    • Some examples and more documentation are present on the new model's help_text fields

How Has This Been Tested?

Django tests

@aspedrosa aspedrosa changed the title [WIP] feat/publish upload updates feat/publish upload updates May 13, 2021
@aspedrosa aspedrosa mentioned this pull request Dec 20, 2021
13 tasks
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.

1 participant