server/python/django2/renkanmanager/tests/test_revision_copy.json
author ymh <ymh.work@gmail.com>
Thu, 05 Jan 2017 16:26:07 +0100
changeset 647 eaaa1efce396
parent 626 112912309726
permissions -rw-r--r--
add examples for youtube node types, add a way to open node urls with a single click
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
626
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
{
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
    "users": [{
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
        "_id": "admin",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
        "title": "root@iri.centrepompidou.fr",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
        "uri": "",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
        "description": "",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
        "color": "#666666"
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
    }],
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
    "nodes": [{
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
        "_id": "node-2016-04-07-a9fe3711-8006-4a5d-b96a-0ab1630ee7de-0001",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
        "title": "test node 1",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
        "uri": "",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
        "description": "",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    14
        "position": {
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    15
            "x": -109,
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    16
            "y": -42.5
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
        },
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    18
        "image": "",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    19
        "style": {
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    20
            "dash": false
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    21
        },
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    22
        "created_by": null,
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    23
        "shape": "circle",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    24
        "type": "default"
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    25
    }, {
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    26
        "_id": "node-2016-06-21-6388a022-27c6-4f4a-8fb3-318b34d5ce9c-0001",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    27
        "title": "test node 2",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    28
        "uri": "",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    29
        "description": "",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    30
        "position": {
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    31
            "x": -377,
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    32
            "y": -14
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    33
        },
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    34
        "image": "",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    35
        "style": {
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    36
            "dash": false
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    37
        },
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    38
        "created_by": null,
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    39
        "shape": "circle",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    40
        "type": "default"
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    41
    }, {
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    42
        "_id": "node-2016-06-21-80cce7b7-030f-45f0-bb04-f8a771faee5f-0001",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    43
        "title": "test node 3",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    44
        "uri": "",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    45
        "description": "",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    46
        "position": {
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    47
            "x": -253.21838623008796,
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    48
            "y": -66.22059428680411
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    49
        },
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    50
        "image": "",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    51
        "style": {
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    52
            "dash": false
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    53
        },
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    54
        "created_by": null,
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    55
        "shape": "circle",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    56
        "type": "default"
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    57
    }],
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    58
    "edges": [{
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    59
        "_id": "edge-2016-06-21-80cce7b7-030f-45f0-bb04-f8a771faee5f-0002",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    60
        "title": "test edge 1",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    61
        "uri": "http://example.com",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    62
        "description": "edge 1",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    63
        "from": "node-2016-06-21-80cce7b7-030f-45f0-bb04-f8a771faee5f-0001",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    64
        "to": "node-2016-06-21-6388a022-27c6-4f4a-8fb3-318b34d5ce9c-0001",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    65
        "created_by": null
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    66
    }, {
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    67
        "_id": "edge-2016-06-21-80cce7b7-030f-45f0-bb04-f8a771faee5f-0003",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    68
        "title": "test edge 2",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    69
        "uri": "",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    70
        "description": "",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    71
        "from": "node-2016-06-21-80cce7b7-030f-45f0-bb04-f8a771faee5f-0001",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    72
        "to": "node-2016-04-07-a9fe3711-8006-4a5d-b96a-0ab1630ee7de-0001",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    73
        "created_by": null
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    74
    }],
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    75
    "views": [{
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    76
        "_id": "view-9ecf59d9-2452-4af9-b3a0-b4f8714d2a33",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    77
        "zoom_level": 3.044776119402986,
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    78
        "offset": {
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    79
            "x": 1605.8805970149256,
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    80
            "y": 425.62687488438837
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    81
        },
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    82
        "title": "test view 1",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    83
        "description": "",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    84
        "created_by": null,
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    85
        "hidden_nodes": ["node-2016-06-21-80cce7b7-030f-45f0-bb04-f8a771faee5f-0001"]
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    86
    }],
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    87
    "title": "test",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    88
    "schema_version": "2",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    89
    "space_id": "111",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    90
    "created": "2016-03-11 12:15:13.030697+00:00",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    91
    "updated": "2016-06-21 15:08:17.584479+00:00",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    92
    "description": "test description",
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    93
    "id": "c0bd5f0b-5559-40e0-92a2-fe2cb6cf8de6"
112912309726 ensure that we change the ids of elements when copying/creating a new renkan
ymh <ymh.work@gmail.com>
parents:
diff changeset
    94
}