Details
-
Bug
-
Resolution: Fixed
-
Major
-
Cheshire-Cat
-
Untriaged
-
1
-
Unknown
Description
Build: 7.0.0 build 3594
Create a handler with
curl --location --request POST 'http://10.112.205.102:8096/api/v1/functions/test/' \
|
--header 'Authorization: Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA==' \
|
--header 'Content-Type: application/json' \
|
--data-raw '[
|
{
|
"appcode": "function OnUpdate(doc, meta) {\n log('\''document'\'', doc);\n dst_bucket[meta.id] = '\''hello world'\'';\n}\nfunction OnDelete(doc) {\n}",
|
"depcfg": {
|
"buckets": [
|
{
|
"alias": "dst_bucket",
|
"bucket_name": "dst_bucket",
|
"scope_name": "_default",
|
"collection_name": "_default",
|
"access": "rw"
|
}
|
],
|
"curl": [],
|
"source_bucket": "src_bucket",
|
"source_scope": "_default",
|
"source_collection": "_default",
|
"metadata_bucket": "metadata",
|
"metadata_scope": "_default",
|
"metadata_collection": "_default"
|
},
|
"appname": "test",
|
"settings": {
|
"deployment_status": false,
|
"processing_status": false
|
}
|
}
|
]'
|
Rest of the setting should be default but Workers, Script Timeout and Timer Context Max Size are empty on UI