Details
-
Task
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
1
Description
We have now added the ability to change the appcode through REST when the function is undeployed or paused state. A REST call to "/api/v1/functions/<function_name>/appcode/" can be used to replace the appcode inplace.
Similary, the user can now change the deployment configurations like source keyspace and meta keyspace while in undeployed state and bindings in paused and undeployed state after creating the function. The new changes are available through "/api/v1/functions/<function_name>/config/" and the body of the request should comprise of
{
|
Buckets []bucket `json:"buckets,omitempty"` |
Curl []common.Curl `json:"curl,omitempty"` |
Constants []common.Constant `json:"constants,omitempty"` |
SourceBucket string `json:"source_bucket"` |
SourceScope string `json:"source_scope"` |
SourceCollection string `json:"source_collection"` |
MetadataBucket string `json:"metadata_bucket"` |
MetadataScope string `json:"metadata_scope"` |
MetadataCollection string `json:"metadata_collection"` |
}
|