Customer Portal

How to change default properties in engine, server, RunGraph

Comments 1

  • Avatar
    avackova
    0
    Comment actions Permalink
    defaultProperites file contains constants, that are used in all graphs. To change some default properties, you need to create file with the properties you need to override only (see Changing Default CloverETL Settings). Then you need to instruct Clover to use these properties instead of ones, that are provided with CloverETL Engine. When running the graph from command line (or from Eclipse), you need to use -config file_with_overriden_properties switch. If you run graph in RunGraph component with the same jvm, the default properties are derived from parent graph, so you need to run the graph with RunGraph component with -config switch. When running the child graph in separate jvm, you need to provide the parameters in cloverCmdLineArgs in pipe-line mode or in the input field in in-out-mode (1st field: graph to run, 2nd field: parameters). In both cases it should look like -plugins path_to_engine_plugins -config path_to_properties_file.
    On server side, you can set your CloverETL engine properties like this:
    * create properties file with engine properties you would like to change
    * set server config property engine.config.file (its value should be absolute path to your engine properties file)
    * restart the CloverETL Server

Please sign in to leave a comment.