Processing contexts

Overview

The processing context defines how data instances' values (the data entities) can be processed, transformed, using transformations sequences. The processing context is the mapping between data instances' and applicable transformations sequences. This mapping will be used when the clients request for transformations.

A given processing context is represented (instantiated) with an array of evidences sets

IMPORTANT : the processing contexts and the evidences sets defining the processing contexts must be defined in RPS CoreConfiguration

JSON instantiation

Processing contexts are instantiated using JSON in order to use them in the Transform API requests.

"processingContexts": [
    {
      "guid": "[string]",
      "evidences": [
        {
          "name": "[string]",
          "value": "[string]"
        },
        ...
      ]
    },
    ...
]
JSON attributeTypeDescriptionRequired
[i]
.guid
stringa random generated valid GUID defining the processing context i
[i]
.evidences
arraythe evidences set for the processing context i. It is an array of one or more evidences objects {name,value}
[i]
.evidences[j]
.name
stringthe name of the evidence j for the processing context i
[i]
.evidences[j]
.value
stringthe value of the evidence j for the processing context i

Example of JSON instantiation

"processingContexts": [
    {
      "guid": "ff271899-b4ee-4aeb-9eb1-7f77c4acd28",
      "evidences": [
        {
          "name": "Action",
          "value": "Protect"
        }
      ]
    },
    {
      "guid": "62e0b892-d53b-4418-ad97-6c7945e55c30",
      "evidences": [
        {
          "name": "Action",
          "value": "Transform"
        },
        {
          "name": "Transform type",
          "value": "Mask"
        }
      ]
    }
],

Access

You must belong to the Configuration user group to create and modify processing contexts