Feature #4865
import/export system
| Status: | Closed | Start date: | 27/10/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 100% | |
| Category: | - | Spent time: | - | |
| Target version: | Features 1.2 |
Description
To develop a new system to import and export the LGS data.
Currently we have developed the first version of export system, that it is been used, for example, when you ask for a layer. This layer is exported in json format through an httpresponse.
Documentation here:
http://193.147.51.135/libreGeoSocial/functional/exportManager/index.html
History
#1 Updated by over 2 years ago
- % Done changed from 0 to 20
improve import system to allow to export binaries with the layer info. The idea is to return a zip file, with the json and the attached binaries.
#2 Updated by over 2 years ago
- % Done changed from 20 to 40
Support export with binaries. Still need a param in the API rest to access to this funcionality.
#3 Updated by over 2 years ago
- % Done changed from 40 to 50
support export with binaries and xml.
API to access to te backup mode:
http://193.147.51.135/libreGeoSocial/rest/layers.html#make-a-layer-search
http://193.147.51.135/libreGeoSocial/rest/queries.html#get-the-layers-list
currently for layers search and multi-search.
#4 Updated by over 2 years ago
- % Done changed from 50 to 70
- Architecture implemented
- Import notes and videos in json mode
- Return the import with social nodes as a result
- Import all different nodes with json
- Import all different nodes with XML
- Who is the owner of imported nodes? Try the original or the user who is making the import
- To work importing nodes urls (currently always None, maybe we need to work also in the export module)
- Import the results in LGS
#5 Updated by over 2 years ago
- % Done changed from 70 to 80
- Support social nodes: photo, sound, video, note from json
- Allows to import social nodes regarding an specific user in the system
#6 Updated by over 2 years ago
- % Done changed from 80 to 90
support import the results into LGS (still with out binaries).
TODO:- Import all different nodes with XML
- To work importing nodes urls (currently always None, maybe we need to work also in the export module)
- Binaries support. Needs urls info with export manager #5067
#7 Updated by over 2 years ago
The export manager returns all the urls info. Now the import manager should use this url to complete the information to create the social nodes. for example: include binaries regarding url http://localhost/node/photo or file://uiejefjefjkfe.jpg
#8 Updated by over 2 years ago
Now the export manager return the binary urls with complete url: http://www.libregeosocial.org/social/layer/19/node/23/image/
This should be used by the import manager to retrieve binaries to make a success import. This is not necessary with a previous backup process that include binaries inside the zip.
#9 Updated by over 2 years ago
Importmanager now extracts all the different urls. Still, the import to database needs to use this urls to retrieve binaries.
#10 Updated by over 2 years ago
- % Done changed from 90 to 100
Complete support of import with binaries using nodes urls. In order to ensure the audios binaries to upload, we have a new installation requierement: python-magic to determinate binaries types.
This module could be improved to support lgs backups (zips), kml, xml, etc.... currently export json and the related binaries.
#11 Updated by over 2 years ago
- Status changed from New to Closed