Project

General

Profile

Feature #3633

Support for crud-ds cloud function

Added by Ram Kordale 5 months ago. Updated 3 months ago.

Status:
Review
Priority:
High
Assignee:
Start date:
06/26/2024
Due date:
% Done:

100%

Estimated time:
2.00 h

Description

name: crud-ds
arguments:
"kind": "<kind>",
"op-type": "<op-type>",
"<kind>-key": "<value>",
"<kind>-<name1>": "<value1>",
"<kind>-<name2>": "<value2>",
...

If <op-type> is cu, update datastore kind <kind> entry with key <key> if it exists; else create.
If <op-type> is d, delete datastore kind <kind> entry with key <key> if it exists.
If <op-type> is r or cu or d, return entry from datastore kind <kind> entry with key <key> if it exists; else say not found.

For this ticket, test should use:
-profile for <kind>
-email-id for <key>
-other for <name>

Example: {
"kind": "profile",
"profile-key": "",
"profile-other": "pirate#$%usd#$%3.99"
}

Also available in: Atom PDF