Passer au contenu principal

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

ParamTypeDescription
operationsOperationsOperations 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

ParamTypeDescription
stateObjectJson object containing keys and data values;
[params]ObjectE.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