Commit f4e1790c authored by Vincent Bechu's avatar Vincent Bechu

Revert "fixup erp5 configurator"

This reverts commit 9befc11a
parent 9befc11a
......@@ -32,7 +32,6 @@
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,
......@@ -55,46 +54,37 @@
}
},
local_sub_storage: {
type: "mapping",
property: {
"modification_date": ["formatDate", ["toISOString", "rfc822"]]
},
type: "query",
sub_storage: {
type: "query",
type: "uuid",
sub_storage: {
type: "uuid",
sub_storage: {
type: "indexeddb",
database: "officejs-erp5"
}
type: "indexeddb",
database: "officejs-erp5"
}
}
},
remote_sub_storage: {
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"
}
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.49200.15936.15257</string> </value>
<value> <string>961.22099.5660.20138</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -291,7 +291,7 @@
</tuple>
<state>
<tuple>
<float>1504084622.06</float>
<float>1502460802.37</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