Skip to content

Latest commit

 

History

History

mts-connector

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
layout
title description tableOfContents outline pagination
visible
true
visible
visible
true
visible
true
visible
true

MTS Connector

ODK MTS Connector is an OpenG2P Odoo addon that fetches tokenised data from the ODK Central by calling the MOSIP Token Seeder (MTS) and stores it in the registry.

Features

  • Uses callback delivery type of MTS
  • Completely asynchronous execution
  • OpenG2P can schedule a daily job to fetch the delta for the day
  • Manual import feature (TBD)

MTS Connector

Configuration

PropertyDescription
NameA string to identify the connector
URL to reach MTSURL for MTS API
MTS Input typeMTS-C connects over "ODK" which is the first option in this selection. OMC option could be proceeded by selecting OpenG2P Registry.
MappingMTS Field mapping as required by the API. Refer to MTS Documentation. The format of Mapping would be JSON.
Output TypeMTS-C only supports JSON output type of MTS.
Output FormatOutput format is a JQstring which will be used by MTS to format its output to suite the caller's requirement.
Delivery TypeCurrently supporting only "Callback". Callback feature can be used to make MTS do a submission of results onto an API within Odoo. The output formatting will help in making the desired input for the API.
Job TypeMTS-C provides both recurring and one time execution. Recurring can be configured to do continuous pull from the ODK over MTS.
Interval in minutesInterval at which the MTS-C job runs.
MOSIP LanguageMOSIP language setup. The default is "eng".
ODK Base URLBase URL or the complete domain address for the ODK central installation
ODK Odata URLOData service (.svc) URL for the ODK form to fetch the submissions.
ODK User emailEmail Id to authenticate MTS for accessing Odata URL
ODK User passwordPassword used to authenticate Odata URL
Callback URLA URL endpoint which would be called upon successful processing at MTS
Callback HTTP MethodHTTP Method (POST/PUT/GET/PATCH) used while MTS makes the callback
Callback TimeoutTimeout awaited by the callback until acknowledged with a response.
Callback Auth TypeType of authentication expected by callback URL. MTS-C currently support Odoo type which uses the session-based authentication implemented by Odoo.
Callback Auth UrlURL Endpoint that would be called to perform authentication for the callback.
Callback Auth DatabaseDB instance used by Odoo.
Callback Auth UsernameUsername to access callback API
Callback Auth PasswordPassword to access callback API