Field | Required | Default | Multiple | Notes | Example |
---|---|---|---|---|---|
type | Yes | - | No | The value must be "db-server". | "db-server" |
description | Yes | - | No | Name of the credential object. | "DBConnector" |
properties | Yes | - | No | Configuration object | |
"credentialType" | yes | - | No | It can be basic or Kerberos | "basic" |
"user" | yes | - | No | The authorized user | "username" |
"password" | yes | - | No | User password | "encrypted:8DBA..." |
{ "type": "db-server", "description": "db-server Credential", "properties": { "credentialType": "basic", "user": "username", "password": "encrypted:8DBA..." } }
Field | Required | Default | Multiple | Notes | Example |
---|---|---|---|---|---|
id | Yes | - | No | ID of the credential to update. | "2a5ca234-e328-4d40-bb2a-2df3e550b065" |
description | Yes | - | No | Name of the credential object. | "DBConnector Credential" |
properties | Yes | - | No | Configuration object | |
"credentialType" | Yes | - | No | It can be basic or Kerberos. | "kerberos" |
"kerberosUser" | Yes | - | No | Kerberos username. | "username" |
"keytabFile" | Yes | - | No | Path to the Keytab file. | "C:\\keytabFilePath" |
"externalClasspath" | No | - | No | The path of the folder where other needed files are located. | "C:\\externamClasspath" |
"hadoopResourceFiles" | No | - | No | The path to Hadoop files | [ ] |
{ "id": "2a5ca234-e328-4d40-bb2a-2df3e550b065", "type": "db-server", "description": "DBConnector Credential", "throttlePolicy": null, "properties": { "credentialType": "kerberos", "kerberosUser": "username", "keytabFile": "C:\\keytabFilePath", "externalClasspath": "C:\\externamClasspath", "hadoopResourceFiles": [] } }
Field | Required | Default | Multiple | Notes | Example |
---|---|---|---|---|---|
type | Yes | - | No | The value must be db-server | "db-server" |
description | Yes | - | No | Name of the connection object. | "MyDatabase ServerConnection" |
credential | Yes | - | No | ID of the credential. | "f5587cee-9116-4011-b3a9-6b235b333a1b" |
properties | Yes | - | No | Configuration object | |
"serverUrl" | Yes | - | No | The connection stream of the server. | "Server_URL" |
"jdbcDriverJar" | Yes | - | No | The path to the driver (.jar) | "odbc.jar" |
"specClass" | Yes | false | No | Select this option in case the driver name is non-standard. | false |
"specClassPath" | Yes | false | No | Select this option in case additional drivers need to be uploaded, and add the path of the folder which contains the additional drivers. | false |
"stopOnScanError" | Yes | true | No | The scan will be stopped as soon as an error occurs during scanning. | false |
"prefetchSize" | No | 10 | No | The number of items to be loaded in memory at a time. | 10 |
"indexContainers" | No | true | No | Indexes the metadata from the databases and tables. | true |
"extractRowCount" | No | false | No | Includes the number of rows of the table. | false |
"addSchema" | No | false | No | Includes the tables structure. | false |
"useTableQuery" | No | false | No | A specific query to extract additional data. | false |
"addResultSet" | No | false | No | Adds the content of the tables to the job. | false |
"extractRows" | No | false | No | Indexes all the rows in a table. | false |
{ "type": "db-server", "description": "DBserver Test Connector", "properties": { "serverUrl": "Server_URL", "jdbcDriverJar": "odbc.jar", "specClass": false, "specClassPath": false, "stopOnScanError": false, "prefetchSize": 10, "indexContainers": true, "extractRowCount": false, "addSchema": false, "useTableQuery": false, "addResultSet": false, "extractRows": false } }
Please keep in mind that you necessarily need to select Index DBs and tables or Enable row extraction for the connector to work properly. Please remember that both options are exclusive, so you will not be able to use the two of them at the same time.
Field | Required | Default | Multiple | Notes | Example |
---|---|---|---|---|---|
id | Yes | - | No | ID of the connection to update | "89d6632a-a296-426c-adb0-d442adcab4b0", |
type | Yes | - | No | Type of the connection | "db-server" |
description | No | - | No | Name of the connection object. | "My DBServer Connection" |
throttlePolicy | No | - | No | ID of the throttle policy that applies to this connection object. | "f5587cee-9116-4011-b3a9-6b235b333a1b" |
properties | Yes | - | No | Configuration object | |
"serverUrl" | Yes | - | No | The connection stream of the server. | "Server_URL" |
"jdbcDriverJar" | Yes | - | No | The path to the driver (.jar) | "odbc.jar" |
"specClass" | No | - | No | Select this option in case the driver name is non-standard. | false |
"specClassPath" | No | - | No | Select this option in case additional drivers need to be uploaded, and add the path of the folder which contains the additional drivers. | false |
"stopOnScanError" | Yes | false | No | The scan will be stopped as soon as an error occurs during scanning. | false |
"prefetchSize" | Yes | 10 | No | The number of items to be loaded in memory at a time. | 25 |
"indexContainers" | No | false | No | Indexes the metadata from the databases and tables. | true |
"extractRowCount" | No | false | No | Includes the number of rows of the table. | false |
"addSchema" | No | false | No | Includes the tables structure. | false |
"useTableQuery" | No | false | No | A specific query to extract additional data. | false |
"addResultSet" | No | false | No | Adds the content of the tables to the job. | false |
"extractRows" | No | false | No | Indexes all the rows in a table. | false |
{ "id": "b76ed996-2b0c-4ebc-8b0d-9a9e5821f2e3", "type": "db-server", "description": "DBServerConnector", "credential": "98e729c5-2a8b-4aee-aee0-c79ba38f32d3", "throttlePolicy": null, "properties": { "serverUrl": "Server_URL", "jdbcDriverJar": "odbc1.jar", "specClass": false, "specClassPath": false, "stopOnScanError": false, "prefetchSize": 25, "indexContainers": true, "extractRowCount": false, "addSchema": false, "useTableQuery": false, "addResultSet": false, "extractRows": false } }
For the creation of the Connector object using the Rest API, check this page.
For the update of the Connector object using the Rest API, check this page.
Field | Required | Default | Multiple | Notes | Example |
---|---|---|---|---|---|
seed | Yes | - | No | <seed description> | "dbserver_seed" |
type | Yes | - | No | The value must be dbconnector. | "db-server" |
description | Yes | - | No | Name of the seed object. | "My Database Server Seed" |
connector | Yes | - | No | The ID of the connector to be used with this seed. The connector type must match the seed type. | "82f7f0a4-8d28-47ce-8c9d-e3ca414b0d31" |
connection | Yes | - | No | The ID of the connection to be used with this seed. The connection type must match the seed type. | "602d3700-28dd-4a6a-8b51-e4a663fe9ee6" |
workflows | No | [ ] | Yes | The IDs of the workflows that will be executed for the documents crawled. | ["f8c414cb-1f5d-42ef-9cc9-5696c3f0bda4"] |
throttlePolicy | No | - | No | ID of the throttle policy that applies to this connection object. | "f5587cee-9116-4011-b3a9-6b235b333a1b" |
routingPolicies | No | [ ] | Yes | The IDs of the routing policies that this seed will use. | ["313de87c-3cb9-4fe0-a2cb-17f75ce7d0c7", "b4d2579f-1a0a-4a8b-9fd4-d42780003b36"] |
tags | No | [ ] | Yes | The tags of the seed. These can be used to filter the seed. | ["tag1", "tag2"] |
properties | Yes | - | No | Configuration object | |
"seed" | Yes | - | No | ID of the seed to crawl. | |
"excludeFile" | Yes | - | No | It can be used to filter the crawled databases and tables. Add the path to the .json file where the excluded items are placed. | "C:\\excluded.json" |
"includeFile" | Yes | - | No | It can be used to filter the crawled databases and tables. Add the path to the .json file where the included items are placed. | "C:\\included.json" |
{ "seed": "dbserver_seed", "type": "db-server", "description": "DBSeed", "connector": "a320a91c-2a48-4402-a5f1-c7d2fa913ba2", "connection": "b76ed996-2b0c-4ebc-8b0d-9a9e5821f2e3", "workflows": [ "f51f5162-faaf-43dc-aa89-3b872160f504" ], "tags": [], "properties": { "seed": "dbserver_seed", "excludeFile": "C:\\excluded.json", "includeFile": "C:\\included.json" } }
Field | Required | Default | Multiple | Notes | Example |
---|---|---|---|---|---|
ID | Yes | - | No | ID of the seed to update. | "2f287669-d163-4e35-ad17-6bbfe9df3778" |
seed | No | - | No | <seed description> | |
description | No | - | No | Name of the seed object. | "MyDatabase ServerSeed" |
connector | No | - | No | The ID of the connector to be used with this seed. The connector type must match the seed type. | "82f7f0a4-8d28-47ce-8c9d-e3ca414b0d31" |
connection | No | - | No | The ID of the connection to be used with this seed. The connection type must match the seed type. | "602d3700-28dd-4a6a-8b51-e4a663fe9ee6" |
workflows | No | [ ] | Yes | The IDs of the workflows that will be executed for the documents crawled. | ["f8c414cb-1f5d-42ef-9cc9-5696c3f0bda4"] |
workflows.add | No | [ ] | Yes | The IDs of the workflows to add. | ["f8c414cb-1f5d-42ef-9cc9-5696c3f0bda4"] |
workflows.remove | No | [ ] | Yes | The IDs of the workflows to remove. | ["f8c414cb-1f5d-42ef-9cc9-5696c3f0bda4"] |
throttlePolicy | No | - | No | ID of the throttle policy that applies to this connection object. | "f5587cee-9116-4011-b3a9-6b235b333a1b" |
routingPolicies | No | [ ] | Yes | The IDs of the routing policies that this seed will use. | ["313de87c-3cb9-4fe0-a2cb-17f75ce7d0c7", "b4d2579f-1a0a-4a8b-9fd4-d42780003b36"] |
routingPolicies.add | No | [ ] | Yes | The IDs of the routingPolicies to add. | ["b4d2579f-1a0a-4a8b-9fd4-d42780003b36"] |
routingPolicies.remove | No | [ ] | Yes | The IDs of the routingPolicies to remove. | ["313de87c-3cb9-4fe0-a2cb-17f75ce7d0c7"] |
tags | No | [ ] | Yes | The tags of the seed. These can be used to filter the seed | ["tag1", "tag3"] |
tags.add | No | [ ] | Yes | The tags to add | ["tag4"] |
tags.remove | No | [ ] | Yes | The tags to remove | ["tag2"] |
properties | Yes | - | No | Configuration object | |
"seed" | Yes | - | No | ID of the seed to crawl. | "2f287669-d163-4e35-ad17-6bbfe9df3778" |
"excludeFile" | Yes | - | No | It can be used to filter the crawled databases and tables. Add the path to the .json file where the excluded items are placed. | "C:\\excluded_new.json" |
"includeFile" | Yes | - | No | It can be used to filter the crawled databases and tables. Add the path to the .json file where the included items are placed. | "C:\\included_new.json" |
{ "id": "2f287669-d163-4e35-ad17-6bbfe9df3778", "type": "db-server", "seed": "dbserver_seed", "connector": "a320a91c-2a48-4402-a5f1-c7d2fa913ba2", "description": "DBSeed", "throttlePolicy": null, "connection": "b76ed996-2b0c-4ebc-8b0d-9a9e5821f2e3", "workflows": [ "f51f5162-faaf-43dc-aa89-3b872160f504" ], "tags": [], "properties": { "seed": "dbserver_seed", "excludeFile": "exclude_new.json", "includeFile": "include_new.json" } }