Project

General

Profile

How can I use the lavoisier-config.properties ?

Added by L'Orphelin Cyril about 7 years ago

What should I add into the lavoisier-config.properties and how can I use it ?


Replies (1)

RE: How can I use the lavoisier-config.properties ? - Added by L'Orphelin Cyril about 7 years ago

You can add several values into the lavoisier-config.properties using the key=value principle and you can use it afterwards in the configuration with the property function.

Example :

1) Set the property "baseurl" into the file etc/lavoisier-config.properties:
baseurl=http://software.in2p3.fr/lavoisier/

2) use it into a configuration file

        <connector type="HTTPConnector">
            <parameter name="url" eval="concat(property('baseurl'), 'input.csv')"></parameter>
        </connector>

    (1-1/1)