-
-
Notifications
You must be signed in to change notification settings - Fork 185
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: REST Services #1864
Merged
Feature: REST Services #1864
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Conflicts: # jsapp/js/components/formViewTabs.es6 # jsapp/js/components/modal.es6
# Conflicts: # jsapp/js/actions.es6 # jsapp/js/components/modal.es6 # jsapp/scss/components/_kobo.bem.ui.scss
…ode from our own server status_code
jnm
approved these changes
Sep 27, 2018
This was referenced Sep 28, 2018
Overloads logging to avoid use logging.getLogger
jnm
added a commit
that referenced
this pull request
Nov 5, 2018
Amends #1864. Mongo and Postgres queries now respect that multiple users may have forms with the same `id_string`
This was referenced Apr 1, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Designs with initial idea: https://app.atomic.io/d/PjCNF93XD8wm
Screenshots for general idea:
Testing
Preparations:
REST-UI
branch in kpi andkpi_rest_services
branch in kobocat./manage.py makemigrations
and./manage.py migrate
in both containersdocker-compose build kpi
anddocker-compose build kobocat
To cover all the changes few tests (copied from #1868):
Add REST Service
Settings
andREST Services
REGISTER A NEW SERVICE
button. You can usehttp://mockbin.com/request
as endpoint for testsCREATE
Edit REST Service
Settings
andREST Services
Edit
button on a serviceSAVE
Delete REST Service
Settings
andREST Services
Delete
button on a serviceCONFIRM
promptCount number of REST Service submissions
Settings
andREST Services
Count
column number for the serviceEnketo Express
and create a new submission in a new window or tabREST Services
viewCount
column number for the service changed by +1Retry failed REST Service submission
Settings
andREST Services
Rest Service
by changing its endpoint to something wrong such ashttp://dummy.endpoint.local
. You can still use Mockbin.org to create a bin with 500 responsesEnketo Express
and create a new submission in a new window or tabRetry submission
button on failed submissionRelated issues
Fixes #1764
Fixes #1682
Fixes #1681
Fixes #1674
Fixes #1686
Fixes #1668
Fixes #1669
Fixes #1671
Fixes #1687