ocl@0.2.4
Members
- auth
Do we have a mechanism to retrieve those from configuration
- params
Specify query parameters that may include OCL Data Source, MappingType, includion and exclusion values
Functions
- execute(operations) ⇒
Operation
Execute a sequence of operations. Wraps
language-common/execute
, and prepends initial state for http.- map(state, [params]) ⇒
Operation
Replaces source keys(data elements) to destination keys(data elements) with out changing state.data structure
auth
Do we have a mechanism to retrieve those from configuration
Kind: global variable
params
Specify query parameters that may include OCL Data Source, MappingType, includion and exclusion values
Kind: global variable
execute(operations) ⇒ Operation
Execute a sequence of operations.
Wraps language-common/execute
, and prepends initial state for http.
Kind: global function
Param | Type | Description |
---|---|---|
operations | Operations | Operations to be performed. |
Example
execute(
create('foo'),
delete('bar')
)(state)
map(state, [params]) ⇒ Operation
Replaces source keys(data elements) to destination keys(data elements) with out changing state.data structure
Kind: global function
Access: public
Param | Type | Description |
---|---|---|
state | Object | Json object containing keys and data values; |
[params] | Object | E.g. `{users:"haftamuk", sources: "eCHIS-CODES", concepts: "fp_new_at_10_to_14" } |
Example
mapp(state, state)
map~retrievedMapping
In order to minimize web trafic, already accessed mapping information is put into this variable to reuse values for the consucutive keys.
Kind: inner constant of map