SQL extension

Plugin ID

The plugin ID for SQL is fr.cantor.c4i.SQLDelivery

Properties

Environment independent parameters (set in extension configuration or properties file)

Property keyDescriptionMandatoryDefault value
configAssetIdThe ID of the asset containing the YAML mappingsYes
connectionThe name of the connection in the c4i.properties fileYes
prefixTableNamesWithContextIdtrue or false to indicate whether or not to prefix the table names with the context IDsYes
batchSizeThe maximum number of elements to send in a single queryYes
isStepOwnertrue or false to indicate if STEP can perform table creations and table structure updates or notYes
deleteElementsNotMatchingFilterstrue or false to indicate if elements not matching filters should be deleted from the databaseNofalse
emptyDatabaseBeforeImporttrue will reset the tables before inserting data. Only use for full IEPNofalse
cacheConfigThe ID of the asset containing the JCS configurationNo
displayPerfStattrue to display performance statistics (see Performance statistics dedicated page)Nofalse

Environment dependent parameters (set in centralized c4i.properties file)

Property keyDescriptionMandatoryDefault value
connectionUrlThe SQL database connection URLYes
usernameThe username to connect to the databaseNo
passwordThe password to connect to the database in standalone mode onlyNo

Configuration example

extensions.[0].pluginId=fr.cantor.c4i.SQLDelivery
extensions.[0].configAssetId=C4I-Configuration
extensions.[0].connection=mysql
extensions.[0].prefixTableNamesWithContextId=true
extensions.[0].batchSize=100
extensions.[0].isStepOwner=true
extensions.[0].deleteElementsNotMatchingFilters=false
extensions.[0].emptyDatabaseBeforeImport=false
pluginId=fr.cantor.c4i.SQLDelivery
configAssetId=/Path/to/C4I/Configuration.yml
connection=mysql
prefixTableNamesWithContextId=true
batchSize=100
isStepOwner=true
deleteElementsNotMatchingFilters=false
emptyDatabaseBeforeImport=false
licenseAssetId=/Path/to/C4I/License.cat
cacheConfig=/Path/to/JCS/Config.ccf
mysql.connectionUrl=jdbc:mariadb://localhost:3307/step
mysql.username=c4i
Last Updated: