Introduction
Dated: 14 May, 2020
In this Release Notes document, the following main features, tasks and defects have been resolved and deployed to the FDE/FDW production server - Version 20.04.5 5.
Features
Add Market Product and Market Price ViewSet filters for Staple Foods https://fewsnet.atlassian.net/browse/DATA-123
Implementation of Geographic Unit View within FDE https://fewsnet.atlassian.net/browse/DATA-214
Use pagination in FDE Crop Production tab https://fewsnet.atlassian.net/browse/DATA-233
Standardize Country Filter on Data Series Admin screens https://fewsnet.atlassian.net/browse/DATA-239
Refactor GeographicUnitTreeViewSet to improve performance https://fewsnet.atlassian.net/browse/DATA-245
Implement Django Celery Results for API data ingestion https://fewsnet.atlassian.net/browse/DATA-247
Standarize Data Domain parameters in API URLs Story https://fewsnet.atlassian.net/browse/DATA-255
Enhanced Document List API for Mayan https://fewsnet.atlassian.net/browse/DATA-256
Add Description to Data Series Search fields https://fewsnet.atlassian.net/browse/DATA-263
Bulk import feature for adding border towns to FDW https://fewsnet.atlassian.net/browse/DATA-265
Consistent Y axis over time for Sub National Crop Production Dashboard https://fewsnet.atlassian.net/browse/DATA-269
Standardize Geographic Unit and Indicator foreign keys to Data Series https://fewsnet.atlassian.net/browse/DATA-271
Faster responses for paginated Crop Production API calls https://fewsnet.atlassian.net/browse/DATA-276
Additional Unit Tests for Spatial APIs https://fewsnet.atlassian.net/browse/DATA-283
...
This feature is about using the attribute
Is Staple Food
for filtering the results that came from /api/marketproduct or /api/marketprice or /api/marketpricefacts, for instance, by using the links , : https://fdw.fews.net/api/marketprice/?country=XX&?is_staple_food or https://fdw.fews.net/api/marketpricefacts/?country=XX&is_staple_food or https://fdw.fews.net/api/marketproduct/?country=XX&is_staple_food .
...
This feature is about implementing the Map tab on the Spatial data domain (https://fdw.fews.net/data-explorer/#/spatial) in FDE. In addition to this, if the user , for instance, selects one or more Geographic Unit Set Versions and Unit Type, then the Features can be extracted as GeoJSON with querys queries like: https://fdw.fews.net/api/feature/?format=geojson&unit_set_version=XXX&unit_set_version=XXX , https://fdwdev.fews.net/api/feature/?format=geojson&unit_set_version=XXX&unit_set_version=XXX&unit_type=adminX
...
This feature is about implementing Celery Results for API data ingestion (https://fdw.fews.net/en/admin/django_celery_results/taskresult/) which which returns the log file output of the import process.
...
This enhancement is about implementing the pagination functionality for the Mayan document list APIs, for instance , like we have it here https://fdw.fews.net/documents/documentlist/?format=json or https://fdwdev.fews.net/documents/documentlist/?format=json&page_size=X, and in addition to this , the documents can be extracted by using the
download_url
of these APIs.
Add Description to Data Series Search fields
This feature allows users to search based on the contents put on in the
Description field
of the data series of all the data domains.
...
This feature is about making the Y-axis of both the map and the admin unit bar chart of the sub national crop production dashboard constant, which allows the user to more easily visualize the crop production data.
...
This feature is about improving the response time performance of the paginated crop production indicator APIs..
Tasks
Support on troubleshooting IPC file data uploads
This task was about giving support to Early Warning team members on uploading the IPC FIC data domain and the data was successfully loaded.
Validate email addresses to ensure there is 1 address per 1 user
This task was about setting ensuring there is only one email address for a single user by implementing validation of the email addresses that will be used for creating new users so that users are not getting duplicative emails from the system. (https://fdw.fews.net/en/admin/auth/user/add/).
...
Geography filter is not caching correctly
The The geography filter of the Crop data domain was slow in loading the data values due to the caching issue and this was resolved and currently the filter data loads faster.
...
Clicking on the Help with the current page tab of each pages of the FDW results in 404 error
It was the A 404 error page which was shown when one clicked on the the
Help with the current page
tab of each pages of the FDW and this was resolved & all the pages are working correctly.
Investigate Data Domains filter behavior in Data Inventory dashboard
There was problem an issue in Data Inventory dashboard filters Dashboard filters i.e selecting data from the second filter (
Data usage policy)
erases erased the filter data of the Data domains. This was resolved and the functionality is working well.
...
Unable to upload Cameroon shape file
It There was the a 500 Internal server error which was shown upon trying to upload the shapfile shape file of the country cameroon Cameroon and this was resolved and the shapefile shape file successfully loaded into the system .
...
There was an error upon saving dataset data set for the IPC FIC data domain at the subgroup level and this was resolved and the functionality is working as expected.