HUE-1660 [core] Export/import all stored scripts

Review Request #4256 — Created March 14, 2014 and updated

abec
old-hue-rw
HUE-1660
hue
enricoberti, romain
commit a372e8fa74358d3fe6103b536985f545931f7e27
Author: Abraham Elmahrek <abraham@elmahrek.com>
Date:   Thu Mar 6 17:10:49 2014 -0800

    HUE-1660 [core] Export/import all stored scripts
    
    Added model_to_dict to django_util.
    4 new APIs on model classes: "filename", "filedata", "compress", "decompress".
    
    Natural primary key serializers and extra logic for "_ptr" fields.
    Content objects serialized with natural keys as well.
    provide UUIDs for models to easily serialize.

:000000 100644 0000000... 2fba62f... A	apps/beeswax/src/beeswax/migrations/0009_auto__add_field_savedquery_uid.py
:000000 100644 0000000... 4f7d2b6... A	apps/beeswax/src/beeswax/migrations/0010_initial_uuid_values.py
:100644 100644 c5dbbef... bd9bec8... M	apps/beeswax/src/beeswax/models.py
:100644 100644 d511064... c0a6ca0... M	apps/jobsub/src/jobsub/views.py
:100644 100644 8a84d29... f2ee343... M	apps/oozie/src/oozie/importlib/workflows.py
:000000 100644 0000000... 4fb26fa... A	apps/oozie/src/oozie/migrations/0025_auto__add_field_node_uid__add_field_workflow_uid.py
:000000 100644 0000000... 8575703... A	apps/oozie/src/oozie/migrations/0026_initial_uuid_values.py
:100644 100644 a18c953... 762bf1e... M	apps/oozie/src/oozie/models.py
:100644 100644 fb6880d... b88a3b9... M	apps/oozie/src/oozie/utils.py
:100644 100644 68e4882... 3df7e31... M	apps/oozie/src/oozie/views/api.py
:100644 100644 5c2fbc6... c4b3b7c... M	apps/oozie/src/oozie/views/editor.py
:100644 100644 58e3fa0... f56d7d3... M	desktop/core/src/desktop/api.py
:100644 100644 e1bf117... e2af89d... M	desktop/core/src/desktop/api_tests.py
:000000 100644 0000000... 393f2fc... A	desktop/core/src/desktop/forms.py
:000000 100644 0000000... 0027142... A	desktop/core/src/desktop/lib/django_serializers.py
:100644 100644 3c6085d... 6bb878b... M	desktop/core/src/desktop/lib/django_util.py
:000000 100644 0000000... 4d3791e... A	desktop/core/src/desktop/migrations/0008_auto__add_field_document_uid.py
:000000 100644 0000000... 37ca870... A	desktop/core/src/desktop/migrations/0009_initial_uuid_values.py
:100644 100644 f636980... 00a98ad... M	desktop/core/src/desktop/models.py
:100644 100644 27a8873... b3b9075... M	desktop/core/src/desktop/templates/home.mako
:100644 100644 f565b40... 35bbc84... M	desktop/core/src/desktop/urls.py
:100644 100644 97772e3... 345e9d5... M	desktop/core/src/desktop/views.py
Prototype 2: This one uses custom serializers at the document level.
  • 1
  • 0
  • 0
  • 0
  • 1
Description From Last Updated
And how about piclke + UUID of the document? romain romain
romain
  1. 
      
  2. And how about piclke + UUID of the document?
    1. That should work if we wrap all objects with something that associates it with the UUID of the document. It's a binary format though. Wouldn't we want something more readable and testable?
  3. 
      
Loading...