Serialized Form
-
Package com.collibra.dgc.importer.api.model
-
Package com.collibra.dgc.importer.api.request
-
Class BaseImportRequest extends Object implements Serializable
- serialVersionUID:
- -4687599803040384787L
-
Serialized Fields
-
batchSize
int batchSize
The size of the batch. The default value is1000
. -
requestSource
String requestSource
-
saveResult
boolean saveResult
Deprecated.This parameter is deprecated and will be removed in the future.Whether the result of the import should be persisted.. The default value isfalse
.If
true
, the result of the import simulation will be available at the end of the job but no change will be applied to the DGC. -
sendNotification
boolean sendNotification
Whether job status notification should be sent. The default value isfalse
. -
simulation
boolean simulation
Whether the import should be triggered as a simulation. The default value isfalse
.If
true
, the result of the import simulation will be available at the end of the job but no change will be applied to the DGC.
-
-
Class FileImportRequest extends BaseImportRequest implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
continueOnError
boolean continueOnError
Whether the import should continue if some of the import commands are invalid or failed to execute. The default value isfalse
.If
true
, the valid commands are still committed to the database, which can lead to partial results being stored. -
deleteFile
boolean deleteFile
Delete the file from the Collibra Platform if the import / synchronization job is successful. The default value isfalse
.NOTE: if the file corresponds to an attachment, the attachment will be deleted.
-
file
File file
The file to upload. If set, then alsoFileImportRequest.fileName
should be provided.NOTE: if this field is used,
FileImportRequest.fileId
should not be set. -
fileId
UUID fileId
Theid
of uploaded file.NOTE: if this field is used,
FileImportRequest.file
should not be set. -
fileName
String fileName
The name of the file to upload. If set, then alsoFileImportRequest.file
should be provided.NOTE: if this field is used,
FileImportRequest.fileId
should not be set.
-
-
Class FileSynchronizationRequest extends BaseImportRequest implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
continueOnError
boolean continueOnError
Whether the import should continue if some of the import commands are invalid or failed to execute. The default value isfalse
.If
true
, the valid commands are still committed to the database, which can lead to partial results being stored. -
deleteFile
boolean deleteFile
Whether the file should be deleted after the synchronization job is finished, regardless of the result. The default value isfalse
.NOTE: if the file corresponds to an attachment, the attachment will be deleted. When import operation fails then file will not be deleted.
-
file
File file
The file to upload. If set, then alsoFileSynchronizationRequest.fileName
should be provided.NOTE: if this field is used,
FileSynchronizationRequest.fileId
should not be set. -
fileId
UUID fileId
Theid
of uploaded file.NOTE: if this field is used,
FileSynchronizationRequest.file
should not be set. -
fileName
String fileName
The name of the file to upload. If set, then alsoFileSynchronizationRequest.file
should be provided.NOTE: if this field is used,
FileSynchronizationRequest.fileId
should not be set. -
synchronizationId
@Size(min=1,max=50) @NotNull String synchronizationId
The synchronizationid
used to distinguish different synchronizations.
-
-
Class FindSynchronizationRequest extends PagedRequest implements Serializable
- serialVersionUID:
- 1L
-
Class ImportCsvInJobRequest extends FileImportRequest implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
escape
@NotNull Character escape
The delimiter character used to escape separator or quote character. The default value is'\\'
. -
headerRow
boolean headerRow
Whether the first row of the imported CSV file is the header. The default value isfalse
. -
ignoreLeadingWhitespace
boolean ignoreLeadingWhitespace
Whether whitespace characters before quotes should be ignored. The default value isfalse
. -
quote
@NotNull Character quote
The delimiter character used for quoted entries. The default value is'"'
. -
separator
@NotNull Character separator
The delimiter character used to separate entries. The default value is';'
. -
strictQuotes
boolean strictQuotes
Whether the characters outside quotes should be ignored. The default value isfalse
. -
template
@NotBlank String template
The template that should be used for parsing and importing the contents of the CSV file.There is one placeholder currently supported:
- ${x} - refers to the x-th column in the CSV file, e.g. ${1}, ${2}, ...)
Example of a correct JSON template:
[ { "identifier": { "name": "${1}", "domain": { "name": "${2}", "community": { "name": "Some Community" } } }, "attributes" : { "00000000-0000-0000-0000-000000003115" : [ { "value" : "${3}" } ], "00000000-0000-0000-0000-000000000222" : [ { "value" : "${4}" } ] }, "resourceType": "Asset" } ]
-
-
Class ImportExcelInJobRequest extends FileImportRequest implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
headerRow
boolean headerRow
Whether the first row of the imported Excel sheet is the header. The default value isfalse
. -
sheetIndex
Integer sheetIndex
The index of the Excel sheet.If the index is
null
andImportExcelInJobRequest.sheetName
isnull
, the first sheet of the workbook will be used for the import.If the index is
null
andImportExcelInJobRequest.sheetName
is notnull
, the sheet with the name specified by value ofImportExcelInJobRequest.sheetName
will be used for the import. -
sheetName
String sheetName
The name of the Excel sheet.If the name is
null
andImportExcelInJobRequest.sheetIndex
isnull
, the first sheet of the workbook will be used for the import.If the name is
null
andImportExcelInJobRequest.sheetIndex
is notnull
, the sheet with the index specified by value ofImportExcelInJobRequest.sheetIndex
will be used for the import. -
template
@NotBlank String template
The template that should be used for parsing and importing the contents of the Excel file.There is one placeholder currently supported:
- ${x} - refers to the x-th column in the Excel file, e.g. ${1}, ${2}, ...)
Example of a correct JSON template:
[ { "identifier": { "name": "${1}", "domain": { "name": "${2}", "community": { "name": "Some Community" } } }, "attributes" : { "00000000-0000-0000-0000-000000003115" : [ { "value" : "${3}" } ], "00000000-0000-0000-0000-000000000222" : [ { "value" : "${4}" } ] }, "resourceType": "Asset" } ]
-
-
Class ImportJsonInJobRequest extends FileImportRequest implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
relationsAction
@Pattern(regexp="ADD_OR_IGNORE|REPLACE") String relationsAction
To replace and add/update existing relation during refresh. Possible values are: 'ADD_OR_IGNORE' and 'REPLACE'.
-
-
Class SynchronizationBatchCsvInJobRequest extends FileSynchronizationRequest implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
escape
@NotNull Character escape
The delimiter character used to escape separator or quote character. The default value is'\\'
. -
headerRow
boolean headerRow
Whether the first row of the synchronized CSV file is the header. The default value isfalse
. -
ignoreLeadingWhitespace
boolean ignoreLeadingWhitespace
Whether whitespace characters before quotes should be ignored. The default value isfalse
. -
quote
@NotNull Character quote
The delimiter character used for quoted entries. The default value is'"'
. -
separator
@NotNull Character separator
The delimiter character used to separate entries. The default value is';'
. -
strictQuotes
boolean strictQuotes
Whether the characters outside quotes should be ignored. The default value isfalse
. -
template
@NotBlank String template
The template that should be used for parsing and synchronizing the contents of the CSV file.There is one placeholder currently supported:
- ${x} - refers to the x-th column in the CSV file, e.g. ${1}, ${2}, ...)
Example of a correct JSON template:
[ { "identifier": { "name": "${1}", "domain": { "name": "${2}", "community": { "name": "Some Community" } } }, "attributes" : { "00000000-0000-0000-0000-000000003115" : [ { "value" : "${3}" } ], "00000000-0000-0000-0000-000000000222" : [ { "value" : "${4}" } ] }, "resourceType": "Asset" } ]
-
-
Class SynchronizationBatchExcelInJobRequest extends FileSynchronizationRequest implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
headerRow
boolean headerRow
Whether the first row of the synchronized Excel file is the header. The default value isfalse
. -
sheetIndex
Integer sheetIndex
The index of the Excel sheet.If the index is
null
andSynchronizationBatchExcelInJobRequest.sheetName
isnull
, the first sheet of the workbook will be used for the synchronization.If the index is
null
andSynchronizationBatchExcelInJobRequest.sheetName
is notnull
, the sheet with the name specified by value ofSynchronizationBatchExcelInJobRequest.sheetName
will be used for the synchronization. -
sheetName
String sheetName
The name of the Excel sheet.If the name is
null
andSynchronizationBatchExcelInJobRequest.sheetIndex
isnull
, the first sheet of the workbook will be used for the synchronization.If the name is
null
andSynchronizationBatchExcelInJobRequest.sheetIndex
is notnull
, the sheet with the index specified by value ofSynchronizationBatchExcelInJobRequest.sheetIndex
will be used for the synchronization. -
template
@NotBlank String template
The template that should be used for parsing and synchronizing the contents of the Excel file.There is one placeholder currently supported:
- ${x} - refers to the x-th column in the Excel file, e.g. ${1}, ${2}, ...)
Example of a correct JSON template:
[ { "identifier": { "name": "${1}", "domain": { "name": "${2}", "community": { "name": "Some Community" } } }, "attributes" : { "00000000-0000-0000-0000-000000003115" : [ { "value" : "${3}" } ], "00000000-0000-0000-0000-000000000222" : [ { "value" : "${4}" } ] }, "resourceType": "Asset" } ]
-
-
Class SynchronizationBatchJsonInJobRequest extends FileSynchronizationRequest implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
relationsAction
@Pattern(regexp="ADD_OR_IGNORE|REPLACE") String relationsAction
To replace and add/update existing relation during refresh. Possible values are: 'ADD_OR_IGNORE' and 'REPLACE'.
-
-
Class SynchronizationCsvInJobRequest extends FileSynchronizationRequest implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
escape
@NotNull Character escape
The delimiter character used to escape separator or quote character. The default value is'\\'
. -
headerRow
boolean headerRow
Whether the first row of the synchronized CSV file is the header. The default value isfalse
. -
ignoreLeadingWhitespace
boolean ignoreLeadingWhitespace
Whether whitespace characters before quotes should be ignored. The default value isfalse
. -
quote
@NotNull Character quote
The delimiter character used for quoted entries. The default value is'"'
. -
separator
@NotNull Character separator
The delimiter character used to separate entries. The default value is';'
. -
strictQuotes
boolean strictQuotes
Whether the characters outside quotes should be ignored. The default value isfalse
. -
template
@NotBlank String template
The template that should be used for parsing and synchronizing the contents of the CSV file.There is one placeholder currently supported:
- ${x} - refers to the x-th column in the CSV file, e.g. ${1}, ${2}, ...)
Example of a correct JSON template:
[ { "identifier": { "name": "${1}", "domain": { "name": "${2}", "community": { "name": "Some Community" } } }, "attributes" : { "00000000-0000-0000-0000-000000003115" : [ { "value" : "${3}" } ], "00000000-0000-0000-0000-000000000222" : [ { "value" : "${4}" } ] }, "resourceType": "Asset" } ]
-
-
Class SynchronizationExcelInJobRequest extends FileSynchronizationRequest implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
headerRow
boolean headerRow
Whether the first row of the synchronized Excel file is the header. The default value isfalse
. -
sheetIndex
Integer sheetIndex
The index of the Excel sheet.If the index is
null
andSynchronizationExcelInJobRequest.sheetName
isnull
, the first sheet of the workbook will be used for the synchronization.If the index is
null
andSynchronizationExcelInJobRequest.sheetName
is notnull
, the sheet with the name specified by value ofSynchronizationExcelInJobRequest.sheetName
will be used for the synchronization. -
sheetName
String sheetName
The name of the Excel sheet.If the name is
null
andSynchronizationExcelInJobRequest.sheetIndex
isnull
, the first sheet of the workbook will be used for the synchronization.If the name is
null
andSynchronizationExcelInJobRequest.sheetIndex
is notnull
, the sheet with the index specified by value ofSynchronizationExcelInJobRequest.sheetIndex
will be used for the synchronization. -
template
@NotBlank String template
The template that should be used for parsing and synchronizing the contents of the Excel file.There is one placeholder currently supported:
- ${x} - refers to the x-th column in the Excel file, e.g. ${1}, ${2}, ...)
Example of a correct JSON template:
[ { "identifier": { "name": "${1}", "domain": { "name": "${2}", "community": { "name": "Some Community" } } }, "attributes" : { "00000000-0000-0000-0000-000000003115" : [ { "value" : "${3}" } ], "00000000-0000-0000-0000-000000000222" : [ { "value" : "${4}" } ] }, "resourceType": "Asset" } ]
-
-
Class SynchronizationFinalizationRequest extends BaseImportRequest implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
finalizationParameters
Map<SynchronizationFinalizationRequest.SynchronizationFinalizationRequestBuilder.CustomFinalizationParameter,String> finalizationParameters
Deprecated.This parameter is deprecated and will be removed in the future. Please, use missingAssetStatusId. -
finalizationStrategy
@Pattern(regexp="REMOVE_RESOURCES|CHANGE_STATUS|IGNORE") String finalizationStrategy
The synchronization finalization strategy used in the clean up action. This determines whether to remove, ignore or change the status of assets that no longer exist in the external system. Possible values are `REMOVE_RESOURCES`, `CHANGE_STATUS` and `IGNORE`. When you select `CHANGE_STATUS` you must also provide a value for `missingAssetStatusId`. -
missingAssetStatusId
UUID missingAssetStatusId
If finalizationStrategy is set to `CHANGE_STATUS` then this parameter determines the new status ID for assets that no longer exist in the external system. -
synchronizationId
@Size(min=1,max=50) @NotNull String synchronizationId
The synchronization ID used to distinguish different synchronizations.
-
-
Class SynchronizationJsonInJobRequest extends FileSynchronizationRequest implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
finalizationParameters
Map<SynchronizationJsonInJobRequest.SynchronizationJsonInJobRequestBuilder.CustomFinalizationParameter,String> finalizationParameters
-
finalizationStrategy
@Pattern(regexp="REMOVE_RESOURCES|CHANGE_STATUS|IGNORE") String finalizationStrategy
The synchronization finalization strategy used in the clean up action. This determines whether to remove, ignore or change the status of assets that no longer exist in the external system. Possible values are `REMOVE_RESOURCES`, `CHANGE_STATUS` and `IGNORE`. When you select `CHANGE_STATUS` you must also provide a value for `missingAssetStatusId`. -
missingAssetStatusId
UUID missingAssetStatusId
If finalizationStrategy is set to `CHANGE_STATUS` then this parameter determines the new status ID for assets that no longer exist in the external system. -
relationsAction
@Pattern(regexp="ADD_OR_IGNORE|REPLACE") String relationsAction
To replace and add/update existing relation during refresh. Possible values are: 'ADD_OR_IGNORE' and 'REPLACE'.
-
-
-
Package com.collibra.dgc.importer.core.api.model
-
Package com.collibra.dgc.importer.core.api.request
-
Class BaseImportRequest extends Object implements Serializable
- serialVersionUID:
- -4687599803040384787L
-
Serialized Fields
-
batchSize
int batchSize
Deprecated.The size of the batch. -
sendNotification
boolean sendNotification
Deprecated.Whether job status notification should be sent.
-
-
Class FileImportRequest extends BaseImportRequest implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
file
File file
Deprecated.The file containing import request. If set then alsoFileImportRequest.fileName
should be provided.NOTE: if this field is used,
FileImportRequest.fileId
should not be set -
fileId
UUID fileId
Deprecated.Theid
of the file containing import request.NOTE: if this field is used,
FileImportRequest.file
should not be set -
fileName
String fileName
Deprecated.The name of the file used for import.
-
-
Class FindSynchronizationRequest extends PagedRequest implements Serializable
- serialVersionUID:
- 1L
-
Class SynchronizationBatchRequest extends FileImportRequest implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
synchronizationId
@Size(min=1,max=50) @NotNull String synchronizationId
Deprecated.The synchronization id used to distinguish different synchronizations.
-
-
Class SynchronizationFinalizationRequest extends BaseImportRequest implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
synchronizationId
@Size(min=1,max=50) @NotNull String synchronizationId
Deprecated.The synchronization id used to distinguish different synchronizations.
-
-
Class SynchronizationRequest extends FileImportRequest implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
synchronizationId
@Size(min=1,max=50) @NotNull String synchronizationId
Deprecated.The synchronization id used to distinguish different synchronizations.
-
-