User Tools

Site Tools


extensions:sample-collector-csv

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

extensions:sample-collector-csv [2020/07/08 10:07] (current)
Line 1: Line 1:
 +====== Sample Collector Definition for CSV ======
  
 +
 +<code json iTopPersonCsvCollector.json>​
 +{
 + "​name":​ "​$prefix$Synchro CSV Person",​
 + "​description":​ "​Synchronization of persons from CSV",
 + "​status":​ "​$synchro_status$",​
 + "​user_id":​ "​$synchro_user$",​
 + "​notify_contact_id":​ "​$contact_to_notify$",​
 + "​scope_class":​ "​Person",​
 + "​database_table_name":​ "​$persons_data_table$",​
 + "​scope_restriction":​ "",​
 + "​full_load_periodicity":​ "​$full_load_interval$",​
 + "​reconciliation_policy":​ "​use_primary_key",​
 + "​action_on_zero":​ "​create",​
 + "​action_on_one":​ "​update",​
 + "​action_on_multiple":​ "​error",​
 + "​delete_policy":​ "​ignore",​
 + "​delete_policy_update":​ "",​
 + "​delete_policy_retention":​ "​0",​
 + "​attribute_list":​ [
 + {
 + "​attcode":​ "​cis_list",​
 + "​update":​ "​0",​
 + "​reconcile":​ "​0",​
 + "​update_policy":​ "​master_locked",​
 + "​row_separator":​ "​|",​
 + "​attribute_separator":​ ";",​
 + "​value_separator":​ ":",​
 + "​attribute_qualifier":​ "'",​
 + "​finalclass":​ "​SynchroAttLinkSet",​
 + "​friendlyname":​ "​cis_list"​
 + },
 + {
 + "​attcode":​ "​email",​
 + "​update":​ "​1",​
 + "​reconcile":​ "​1",​
 + "​update_policy":​ "​master_locked",​
 + "​finalclass":​ "​SynchroAttribute",​
 + "​friendlyname":​ "​email"​
 + },
 + {
 + "​attcode":​ "​employee_number",​
 + "​update":​ "​1",​
 + "​reconcile":​ "​0",​
 + "​update_policy":​ "​master_locked",​
 + "​finalclass":​ "​SynchroAttribute",​
 + "​friendlyname":​ "​employee_number"​
 + },
 + {
 + "​attcode":​ "​first_name",​
 + "​update":​ "​1",​
 + "​reconcile":​ "​1",​
 + "​update_policy":​ "​master_locked",​
 + "​finalclass":​ "​SynchroAttribute",​
 + "​friendlyname":​ "​first_name"​
 + },
 + {
 + "​attcode":​ "​function",​
 + "​update":​ "​1",​
 + "​reconcile":​ "​0",​
 + "​update_policy":​ "​master_locked",​
 + "​finalclass":​ "​SynchroAttribute",​
 + "​friendlyname":​ "​function"​
 + },
 + {
 + "​attcode":​ "​location_id",​
 + "​update":​ "​0",​
 + "​reconcile":​ "​0",​
 + "​update_policy":​ "​master_locked",​
 + "​reconciliation_attcode":​ "​name",​
 + "​finalclass":​ "​SynchroAttExtKey",​
 + "​friendlyname":​ "​location_id"​
 + },
 + {
 + "​attcode":​ "​manager_id",​
 + "​update":​ "​0",​
 + "​reconcile":​ "​0",​
 + "​update_policy":​ "​master_locked",​
 + "​reconciliation_attcode":​ "​email",​
 + "​finalclass":​ "​SynchroAttExtKey",​
 + "​friendlyname":​ "​manager_id"​
 + },
 + {
 + "​attcode":​ "​mobile_phone",​
 + "​update":​ "​1",​
 + "​reconcile":​ "​0",​
 + "​update_policy":​ "​master_locked",​
 + "​finalclass":​ "​SynchroAttribute",​
 + "​friendlyname":​ "​mobile_phone"​
 + },
 + {
 + "​attcode":​ "​name",​
 + "​update":​ "​1",​
 + "​reconcile":​ "​1",​
 + "​update_policy":​ "​master_locked",​
 + "​finalclass":​ "​SynchroAttribute",​
 + "​friendlyname":​ "​name"​
 + },
 + {
 + "​attcode":​ "​notify",​
 + "​update":​ "​0",​
 + "​reconcile":​ "​0",​
 + "​update_policy":​ "​master_locked",​
 + "​finalclass":​ "​SynchroAttribute",​
 + "​friendlyname":​ "​notify"​
 + },
 + {
 + "​attcode":​ "​org_id",​
 + "​update":​ "​1",​
 + "​reconcile":​ "​1",​
 + "​update_policy":​ "​master_locked",​
 + "​reconciliation_attcode":​ "​name",​
 + "​finalclass":​ "​SynchroAttExtKey",​
 + "​friendlyname":​ "​org_id"​
 + },
 + {
 + "​attcode":​ "​phone",​
 + "​update":​ "​1",​
 + "​reconcile":​ "​0",​
 + "​update_policy":​ "​master_locked",​
 + "​finalclass":​ "​SynchroAttribute",​
 + "​friendlyname":​ "​phone"​
 + },
 + {
 + "​attcode":​ "​status",​
 + "​update":​ "​1",​
 + "​reconcile":​ "​0",​
 + "​update_policy":​ "​master_locked",​
 + "​finalclass":​ "​SynchroAttribute",​
 + "​friendlyname":​ "​status"​
 + },
 + {
 + "​attcode":​ "​team_list",​
 + "​update":​ "​0",​
 + "​reconcile":​ "​0",​
 + "​update_policy":​ "​master_locked",​
 + "​row_separator":​ "​|",​
 + "​attribute_separator":​ ";",​
 + "​value_separator":​ ":",​
 + "​attribute_qualifier":​ "'",​
 + "​finalclass":​ "​SynchroAttLinkSet",​
 + "​friendlyname":​ "​team_list"​
 + }
 + ],
 + "​user_delete_policy":​ "​nobody",​
 + "​url_icon":​ "",​
 + "​url_application":​ "",​
 + "​notify_contact_id_obsolescence_flag":​ ""​
 +}
 +</​code>​
extensions/sample-collector-csv.txt ยท Last modified: 2020/07/08 10:07 (external edit)

";