-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDataImportMeta.json
More file actions
67 lines (62 loc) · 1.66 KB
/
Copy pathDataImportMeta.json
File metadata and controls
67 lines (62 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/**
Proposed unified POJO structure for Import & Data Migration
**/
{
"DataImportMeta": {
"job_id": "",
"job_type": "",
"job_status": "",
"job_step": "",
"job_start_time": "",
"job_end_time": "",
"job_created_by": "",
"job_scope": "",
"current_module": "",
"to_notify": "",
"charset": "",
"error": "",
"module_details": [
{
"id": "",
"se_type": "",
"iteration": "",
"sequence": "",
"data_table": "",
"abort_limit": "",
"is_system_module": "",
"added_count": "",
"updated_count": "",
"skipped_count": "",
"migration_map": "",
"parent_modules": []
}
],
"lookups": {
"workflow_id": "",
"lar_id": "",
"task_engine_id": "",
"campaign_id": "",
"file_id": ""
},
"other_info": {
"source_system": "",
"instance_url": "",
"access_token": "",
"refresh_token": "",
"is_approved": ""
}
}
}
/**
ENUMS:
job_status : [INPROGRESS, COMPLETED, FAILED, ROLLBACKED, SCHEDULED, ..]
job_step : [MODULEMAPPING, FIELDMAPPING, FILEPUPLOAD, REVIEW,..]
job_type : [INSERT, SKIP, UPDATE, UPSERT, CSVDATAMIGRATION, APIDATAMIGRATION, SHEETVIEW, BULKWRITE, MASSUPDATE,..]
Booleans:
to_notify, is_approved, is_system_module
current_module :: Id of module in progress, to handle resume migration
error :: Error reason in case of failure, to help APIs
parent_module :: json array of dependant module. To help line item handling, circular lookups.
migration_map :: Current migrationmap as in CrmMigrationDetails. Entity Map is fitted inside this map.
file_id :: To support APIs
**/