Commit 9befc11a authored by Vincent Bechu's avatar Vincent Bechu

fixup erp5 configurator

parent 3a80b412
......@@ -32,6 +32,7 @@
conflict_handling: 1,
parallel_operation_attachment_amount: 10,
parallel_operation_amount: 10,
signature_hash_key: "modification_date",
check_local_attachment_modification: attachment_synchro,
check_local_attachment_creation: attachment_synchro,
check_remote_attachment_modification: attachment_synchro,
......@@ -54,37 +55,46 @@
}
},
local_sub_storage: {
type: "query",
type: "mapping",
property: {
"modification_date": ["formatDate", ["toISOString", "rfc822"]]
},
sub_storage: {
type: "uuid",
type: "query",
sub_storage: {
type: "indexeddb",
database: "officejs-erp5"
type: "uuid",
sub_storage: {
type: "indexeddb",
database: "officejs-erp5"
}
}
}
},
remote_sub_storage: {
type: "mapping",
attachment_list: ["data"],
attachment: {
"data": {
"get": {
"uri_template": (new URI("hateoas"))
.absoluteTo(erp5_url)
.toString() + extended_attachment_url
},
"put": {
"erp5_put_template": (new URI("hateoas")).absoluteTo(erp5_url)
.toString() + "/{+id}/Base_edit"
type: "saferepair",
sub_storage: {
type: "mapping",
attachment_list: ["data"],
attachment: {
"data": {
"get": {
"uri_template": (new URI("hateoas"))
.absoluteTo(erp5_url)
.toString() + extended_attachment_url
},
"put": {
"erp5_put_template": (new URI("hateoas")).absoluteTo(erp5_url)
.toString() + "/{+id}/Base_edit"
}
}
},
sub_storage: {
type: "erp5",
url: (new URI("hateoas"))
.absoluteTo(erp5_url)
.toString(),
default_view_reference: result[2]
}
},
sub_storage: {
type: "erp5",
url: (new URI("hateoas"))
.absoluteTo(erp5_url)
.toString(),
default_view_reference: result[2]
}
}
};
......
......@@ -273,7 +273,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>961.22099.5660.20138</string> </value>
<value> <string>961.49200.15936.15257</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -291,7 +291,7 @@
</tuple>
<state>
<tuple>
<float>1502460802.37</float>
<float>1504084622.06</float>
<string>UTC</string>
</tuple>
</state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment