Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2018-06-14 | 2.3 kB | |
Release version 2.1.0.tar.gz | 2018-06-14 | 20.6 MB | |
Release version 2.1.0.zip | 2018-06-14 | 20.7 MB | |
Totals: 3 Items | 41.3 MB | 0 |
News for configuration management
In the new version, the architecture of working with configuration files has been changed. Now you can work not only with configuration files in JSON format, but also with the configuration store in an encrypted compressed file.
To switch the configuration work with the configuration store, you can use two ways: * Specify as command-line arguments
config.manager=getl.config.ConfigStores
config.filename=<path config store file>
config.section=<name store section>
config.secretkey=<key>
-
Set the configuration management class explicitly in the code when the application starts
:::groovy Config.configClassManager = new ConfigStores(fileName: '...', section: '...', secretKey: '...')
You can use the utility class getl.config.ConfigUtils to convert configuration files from JSON to the configuration store and back: * the syntax of converting from multiple JSON files to store file:
getl.config.ConfigUtils
config.manager=getl.config.ConfigFiles
config.path=<path to config files> config.filename=<config files;>
dest.manager=getl.config.ConfigStores
dest.filename=<store config file> dest.section=<name store section> dest.secretkey=<key>
-
the syntax of converting from the store file to single JSON file:
getl.config.ConfigUtils config.manager=getl.config.ConfigStores config.filename=<store config file> config.section=<name store section> configsecretkey=<key> dest.manager=getl.config.ConfigFiles dest.path=<path to config files> dest.filename=<config file>
You can also inherit from the getl.config.ConfigManager class and develop your own configuration storage management class.
Future
- SalesForceDriver: PKChunking support was added throw chunkSize param
- SalesForceDriver: bulkUnload method has been changed and now it return List<TFSDataset>
- SalesForceDriver: additional log printing when batch is completed
Fixed bugs
- getl.oracle.OracleDriver: the connection will use port 1521 if it is not explicitly specified in the "connectHost" parameter
- getl.utils.Config: fixed a bug where reading the configuration files not initialized the connections (as variables in classes)