Releases: jlolling/talendcomp_tJobInstance
tJobInstanceLiveCheck fixed
Enable alternative command to get the PID list
Component tJobInstanceLiveCheck can now use the alternative commands and patterns
Project structure changed to become more compliant with Maven
Libs in component XML now better compatible with Talend 8
SL4J replaced by Log4J v2 (the default in Talend 8+)
Context cleanup
TAC and TMC change the actual context and add a number to it.
This release cleans up the number and provide the cleaned context as return (globalMap) variable.
Code cleanup
Dependency cleanup
Table names again adaptable
The table names for the job_instance_status table and the job_instance_counters table can be changed in the advanced settings (or leaf it blank for the default names.
Labels in configuration changed
The meaning if some input fields are better labeled. The function is unchanged.
Cleanup release to remove dependency issues
This release cleans up the functionality!
The log4j feature is removed because Talend has switched to Log4J v2. A lot of projects also uses log4j v1 yet and the components struggles to work in both environments.
The internal logging is now done with sl4j.
I am working an a log4j v2 static appender which can distinguish the log files for different job instances.
The read and write context feature is removed. This feature was never used.
Bugs solved:
The component tJobInstanceLiveCheck did not work under linux since version 8.
The possibility to fill a context variable with jobInstanceId was accidentally removed and is now restored.
Talend 7.2.1 compatibility and improved error handling
These components now are compatible with Talend 7.2.1
In case the check of already existing jobs failed (a job is already running) the error message will be available for the logs with more information about the already running job.
Detail counters fixed
The counter with minus had a problem. The initial value was added as positiv value.
Bug fixed: fields display_name and process_instance_name swapped
The fields was swapped in the insert statement to create an job_instance_status entry.
Bug fixed: counters with different types aggregated
The new field counter_type was not used to separate the counters.
Now only counters with the same name and type will be aggregated.