Configuration
Source device configuration
The following code is required to configure a source device.
{
"name":"CIS",
"id":"CIS",
"originalDeviceId":"11117cf5-8d2f-4fce-939b-1cb404edc048",
"workflow":{
"pendingJobs":0,
"maxJobsAllowed":10,
"accessPoints":[
{
"endPoint":"ftp://<username>:<password>@<remote_address>:<port>/",
"type":"ftp"
},
{
"endPoint":"="/mnt/cis_asset/",
"type":"unc"
}
]
}
}
Processing device configuration
The following code is required to configure a processing device.
{
"id": "Irdeto_PES_Device",
"name": "Irdeto PES Processing Device",
"workflow":{
"accessPoints": [
{
// http soap endpoint.
"endPoint": "http://<servername>:8080/EncoderControlWS",
"type": "http"
}
],
"pendingJobs": 0,
"maxJobsAllowed": 10
}
}
Destination device configuration
The following code is required to configure a destination device.
{
"name":"CDN",
"id":"CDN",
"originalDeviceId":"11237cf5-8d2f-4fce-939b-1cb404edc128",
"workflow":{
"pendingJobs":0,
"maxJobsAllowed":10,
"accessPoints":[
{
"endPoint":"ftp:/<username>:<password>@<remote_address>:<port>/",
"type":"ftp"
}
]
}
}
CFI device configuration (CFI device on CIS server)
The following code is required to configure a CFI device on a CIS server.
{
"name": "cfi device name",
"id": "cfi_device1",
"workflow": {
"accessPoints": [
{
"endPoint": "sftp://<username>:<password>@<remote_address>:<port>/soft/cfisoft/cfi/current/data/Polling/",
"type": "command"
},
{
"endPoint": "sftp://<username>:<password>@<remote_address>:<port>/soft/cfisoft/cfi/current/data/Status/",
"type": "status"
},
{
"endPoint": "file:///data/ingest/SD/",
"type": "local"
}
],
"pendingJobs": 0,
"maxJobsAllowed": 10
}
}
Preprocessing profile configuration
The following code is required to configure a preprocessing profile.
{
"id": "Irdeto_PES_Preprocessing_Profile",
"type": "ContentPreparation",
"name":"Irdeto PES Preprocessing Profile",
"businessRulesProperties": {
"sourceAssetType": "SD",
"sourceAssetDeviceLinkType": "source",
"destinationAssetType": "Pivot",
"destinationAssetDeviceLinkType": "source"
},
"workflow": {
"deviceUsedForResourceAllocation": "processingDevice",
"processingDevice": {
"id": "Irdeto_PES_Device",
"accessPointType": "http"
},
"sourceDevice": {
"accessPointType": "unc"
},
"destinationDevice": {
"id": "CDN",
"accessPointType": "unc",
"relativePath": ""
},
"workflowVersion": "genericEncodingWithEncoderControlAPIv0.9",
"workflowInputProperties": {
"sourceUri": "",
"destinationUri": "",
"processingUri": "",
"checkForSourceAssetPresence": false,
"jobCompletionTimeout": 600,
"loopBackTimer": 10,
"numberOfRetries": 3,
"retryDelay": 120,
"rescheduleDelay" : 120,
"numberOfRetriesForRescheduling" :2
},
"workflowOutputProperties": {
"fullDestinationUri": ""
}
}
}
Encoding/packaging profile configuration
The following code is required to configure an encoding or packaging profile.
{
"id": "Irdeto_PES_Encoding_Profile",
"type": "ContentPreparation",
"name":"Irdeto PES Encoding Profile",
"businessRulesProperties": {
"sourceAssetType": "Pivot",
"sourceAssetDeviceLinkType": "source",
"destinationAssetDeviceLinkType": "destination"
},
"workflow": {
"deviceUsedForResourceAllocation": "processingDevice",
"processingDevice": {
"id": "Irdeto_PES_Device",
"accessPointType": "http"
},
"sourceDevice": {
"accessPointType": "unc"
},
"destinationDevice": {
"id": "CDN",
"accessPointType": "ftp",
"relativePath": ""
},
"workflowVersion": "genericEncodingWithEncoderControlAPIv0.9",
"workflowInputProperties": {
"sourceUri": "",
"destinationUri": "",
"processingUri": "",
"CaVendorId": "0x06AB",
"DefaultProductTag": "CCA_ASSET_VOD",
"checkForSourceAssetPresence": false,
"securityId": "",
"processWithEncryption": true,
"jobCompletionTimeout": 600,
"loopBackTimer": 10,
"numberOfRetries": 3,
"retryDelay": 120,
"rescheduleDelay" : 120,
"numberOfRetriesForRescheduling" :2
},
"workflowOutputProperties": {
"fullDestinationUri": ""
}
}
}
Purge profile configuration to purge reference asset
The following code is required to configure a purge profile configuration to purge a reference asset.
{
"id": "Irdeto_PES_Purge_Reference_Asset_Profile",
"name": "Profile for Purge With CFI workflow",
"type": "ContentPreparation",
"businessRulesProperties": {
"sourceAssetType": "SD",
"sourceAssetDeviceLinkType": "source",
"basedOnEndDate": true,
"dueDateOffset": 0
},
"workflow": {
"deviceUsedForResourceAllocation": "processingDevice",
"processingDevice": {
"accessPointType": "command",
"id": "cfi_device1"
},
"sourceDevice": {
"accessPointType": "ftp",
"id": "CIS",
"relativePath" : ""
},
"workflowVersion": "VODPurgeUsingCFI",
"workflowInputProperties": {
"sourceUri": "",
"processingUri": "",
"successExtension": ".success",
"errorExtension": ".error",
"statisticsExtension": ".statistics",
"jobCompletionTimeout": 600,
"loopBackTimer": 10,
"numberOfRetries": 3,
"retryDelay": 120,
"rescheduleDelay" : 120,
"numberOfRetriesForRescheduling" :2
},
"workflowOutputProperties": {
"recordId": ""
}
}
}
Purge profile configuration for playable asset purge
The following code is required to configure a purge profile configuration to purge a playable asset.
{
"id": "purge_Playable_Asset_With_CFI",
"name": "Profile for Purge With CFI workflow",
"type": "ContentPreparation",
"businessRulesProperties": {
"sourceAssetDeviceLinkType": "destination",
"basedOnEndDate": true,
"dueDateOffset": 0
},
"workflow": {
"deviceUsedForResourceAllocation": "processingDevice",
"processingDevice": {
"accessPointType": "command",
"id": "cfi_device1"
},
"sourceDevice": {
"accessPointType": "ftp",
"id": "CDN",
"relativePath" : ""
},
"workflowVersion": "VODPurgeUsingCFI",
"workflowInputProperties": {
"sourceUri": "",
"processingUri": "",
"successExtension": ".success",
"errorExtension": ".error",
"statisticsExtension": ".statistics",
"jobCompletionTimeout": 600,
"loopBackTimer": 10,
"numberOfRetries": 3,
"retryDelay": 120,
"rescheduleDelay" : 120,
"numberOfRetriesForRescheduling" :2
},
"workflowOutputProperties": {
"recordId": ""
}
}
}