-
Notifications
You must be signed in to change notification settings - Fork 10
casActionRun
Deva Kumar edited this page Jan 20, 2020
·
1 revision
Calls cas server and returns the results(async)
Returns: promise
-
returns results from cas
Param | Type | Description |
---|---|---|
store | object |
restaf store |
session | object |
cas session |
parameters | object |
parameters for the action |
Example
async function test_casAction () {
let {session} = await restaflib.casSetup(store);
// run fetch action
let p =
{ action: 'table.fetch',
data : { table: { caslib: 'public', name: 'cars' } }
};
let casResults = await restaflib.casActionRun(store, session, p);
print.object(casResults.tables.Fetch, 'Fetched Table');
await store.apiCall(session.links('delete'));
}
.... Under construction...
-
restaf
-
restaflib
-
Examples:
- Cas Server
- Compute Server
- Scoring with MAS
- Scoring with CAS
- Utility
-
CAS Related Functions
-
MAS Related Functions
-
Compute Server Related Functions
-
Reports Related Functions
-
Interactive CLI
-
Special Topic