1. La propiedad “bulkLoad” determina si realizan cargues masivos si su valor está en true, para el ejemplo el valor será false.
2. La propiedad “numberProcesses” determina la cantidad de CIs que se crearan en el mismo tiempo en la CMDB de Aranda, como la propiedad “bulkLoad” tomará el valor de false esta propiedad no se agrega.
3. Para finalizar la configuración del archivo de integración unimos todas las configuraciones realizadas en las secciones anteriores:
{
"bulkLoad": false,
"category": [
{
"id": 17,
"projectId": 1,
"reference": "computer",
"ciSource": "Both",
"additionalFields": [
{
"field": {
"dataType": "Data",
"key": "u_campo_fijo"
},
"id": 286,
"value": "un valor que quiero que sea constante"
},
{
"field": {
"dataType": "Data",
"key": "u_texto_corto"
},
"id": 287
},
{
"field": {
"dataType": "Choice",
"key": "u_glide_list"
},
"id": 288,
"mapping": [
{
"id": 16,
"value": "Bogotá"
},
{
"id": 17,
"value": "Bucaramanga"
},
{
"id": 18,
"value": "Santa marta"
}
]
},
{
"field": {
"SearchBy": "u_name",
"dataType": "Reference",
"key": "u_reference_12"
},
"id": 298,
"mapping": [
{
"id": 846,
"value": "item de configuración 1"
},
{
"id": 847,
"value": "item de configuración 2"
},
{
"id": 848,
"value": "autobús de producción"
}
]
}
],
"state":{
"field":{
"key": "operational_status",
"dataType": "Choice"
},
"mapping": [
{
"value": "4",
"id": 187
},
{
"value": "2",
"id": 188
},
{
"value": "1",
"id": 189
},
{
"value": "3",
"id": 190
},
{
"value": "5",
"id": 191
}
]
}
}
],
"ci": [
{
"definition": {
"assetTag": {
"key": "asset_tag",
"mappingDirection": "Aranda",
"type": "FieldValue"
},
"description": {
"key": "short_description",
"mappingDirection": "Aranda",
"type": "FieldValue"
},
"manufacturer": {
"key": "manufacturer",
"mappingDirection": "Aranda",
"searchBy": "name",
"type": "FieldValue"
},
"model": {
"key": "model_id",
"mappingDirection": "External",
"searchBy": "display_name",
"type": "Mapper"
},
"name": {
"key": "name",
"mappingDirection": "Aranda",
"type": "FieldValue"
},
"responsible": {
"mappingDirection": "Aranda",
"type": "Value"
},
"serial": {
"key": "serial_number",
"mappingDirection": "External",
"type": "FieldValue"
}
},
"reference": "computer"
}
],
"externalClass": [
{
"name": "cmdb_ci_computer",
"reference": "computer"
}
],
"model": [
{
"mapping": [
{
"id": 45,
"value": "sys_id_mack_13"
},
{
"id": 46,
"value": "sys_id_mack_15"
},
{
"id": 47,
"value": "sys_id_mack_17"
}
],
"reference": "computer"
}
],
"risk": [
{
"field": "u_risk",
"mapping": [
{
"id": 6,
"value": "1"
},
{
"id": 5,
"value": "2"
},
{
"id": 4,
"value": "3"
}
],
"reference": "computer"
}
]
}