Field | Required | Default | Multiple | Notes | Example |
---|---|---|---|---|---|
type | Yes | - | No | The value must be "application". | "application" |
_type | Yes | - | No | The value must be "application". | "application" |
appName | Yes | - | No | The name of the application | "RDB-Executor" |
appType | Yes | - | No | The value must be "rdb-summarize-executor". | "rdb-summarize-executor" |
config | Yes | - | No | The value must be "com.accenture.aspire:app-rdbsummarize-executor". | "com.accenture.aspire:app-rdbsummarize-executor" |
description | Yes | - | No | The description | "RDB-Executor" |
properties | Yes | - | No | Configuration object | |
addSchema | Yes | true | No | If enabled the table schema will be added to the processed columns. | true |
threadPool | Yes | 5 | No | The number of threads to use for parallel processing. | 5 |
logFrequency | Yes | 1000 | No | The frequency for reporting the processed rows. | 1000 |
filterRows | Yes | false | No | Check to filter the rows to process. | true |
useFilterFile | Yes | true | No | Check to use a groovy file to filter the rows | true |
groovyPath | No | - | No | The path of the groovy script that contains the fitler logic. It must return a boolean value, if true the row will be filtered | "C:\\Aspire\\config\\rowsGroovyFilter.txt" |
groovyScript | No | - | No | Script used to filter the rows. It must return a boolean value, if true the row will be filtered | "row.getBoolean(\"sensitive\") == true" |
Code Block | ||||
---|---|---|---|---|
| ||||
{
"type": "application",
"_type": "application",
"description": "RDB-Executor",
"config": "com.accenture.aspire:app-rdbsummarize-executor",
"appType": "rdb-summarize-executor",
"appName": "Rdb Summarize Executor",
"properties": {
"addSchema": true,
"debug": false,
"threadPool": 5,
"logFrequency": 1000,
"filterRows": true,
"useFilterFile": false,
"groovyScript": "// This script must return a boolean.\n// The references of the job, doc, component, row and table objects are available.\n// Javadoc references \n// Row (row) - http://{manager}/javadocs/com/accenture/aspire/services/summarization/Row.html\n// Table (table) - http://{manager}/javadocs/com/accenture/aspire/services/summarization/Table.html\nrow.getBoolean(\"sensitive\") == true"
}
} |