<commit_before><?xml version="1.0" encoding="UTF-8"?>

<configuration content-version="3">

	<configuration-module moduleId="messaging" description="communication">

		<entry entryKey="broker-host" type="string" mustBeSet="true" description="host of message broker (JMS server ActiveMQ) to connect to">
		</entry>

		<entry entryKey="broker-protocol" type="string" mustBeSet="true" description="protocol used to connect to message broker">
		</entry>

		<entry entryKey="broker-port" type="int" mustBeSet="true" description="port used to connect to message broker">
		</entry>

		<entry entryKey="use-chunked-http" type="boolean" description="should we use chunked HTTP mode when connecting to file broker, when disabled all data is loaded to memory">
			<value>true</value>
		</entry>

		<entry entryKey="use-compression" type="boolean" description="should we compress data when sending it to filebroker">
			<value>false</value>
		</entry>
		
		<entry entryKey="use-checksums" type="boolean" description="should we calculate checksums when data is moved over the network">
			<value>true</value>
		</entry>

		<entry entryKey="public-files-url" type="string" description="url for the root of the public files">
			<value>http://chipster-filebroker.csc.fi:8080/public</value>
		</entry>


		<entry entryKey="disable-proxy" type="boolean" description="should we ignore Java proxy settings and connect directly">
			<value>true</value>
		</entry>

		<entry entryKey="use-reliable" type="boolean" description="use reliable connections (ie. redialling)">
			<value>true</value>
		</entry>
		
	</configuration-module>

	<configuration-module moduleId="security" description="encryption and authentication">

		<entry entryKey="filebroker-keystore" type="string" description="filebroker keystore file for SSL">
			<value>${chipster_security_dir}/filebroker.ks</value>
		</entry>
		
		<entry entryKey="client-truststore" type="string" description="filename of the truststore, located on a webstart server next to configuration. Set empty string if server certificates are signed by some default Java CA. Default for self-signed certificate: client.ts">
			<value></value>
		</entry>
		
		<entry entryKey="server-truststore" type="string" description="truststore file for SSL. Default for self-signed certificate: ${chipster_security_dir}/client.ts">
			<value></value>
		</entry>

		<entry entryKey="storepass" type="string" description="keystore password for SSL">
			<value>password</value>
		</entry>
		
		<entry entryKey="verify-hostname" type="boolean" description="enable SSL hostname verification. Default for self-signed certificate: false">
			<value>true</value>
		</entry>

		<entry entryKey="username" type="string" mustBeSet="true" description="username for authenticating connection to broker">
		</entry>

		<entry entryKey="password" type="string" description="password for authenticating connection to broker">
		</entry>

		<entry entryKey="guest-username" type="string" description="username for the guest accout which is not allowed to run tasks">
			<value>guest</value>
		</entry>
	
	</configuration-module>


	<configuration-module moduleId="auth" description="authentication service">

		<entry entryKey="sessionRefreshTimeout" type="int" description="how ofter session needs to be refreshed, minutes">
			<value>1440</value><!-- 24h -->
		</entry>

		<entry entryKey="sessionMaxLifetime" type="int" description="max lifetime for a session, minutes">
			<value>4320</value><!-- 3x24h -->
		</entry>

	</configuration-module>
	
	
	<configuration-module moduleId="filebroker" description="file broker">
	
		<entry entryKey="file-root-path" type="string" description="path to file broker root directory">
			<value>file-root</value>
		</entry>
		
		<entry entryKey="example-session-path" type="string" description="path to example session files'">
			<value></value>
		</entry>

		<entry entryKey="public-path" type="string" description="path to public data files">
			<value>public</value>
		</entry>

		<entry entryKey="file-life-time" type="int" description="how long files are stored in fileserver, seconds">
			<value>86400</value>
		</entry>

		<entry entryKey="clean-up-frequency" type="int" description="how often file cleanup check occurs, seconds">
			<value>3600</value>
		</entry>

		<entry entryKey="clean-up-trigger-limit-percentage" type="int" description="when disk usage reaches this percentage clean up">
			<value>90</value>
		</entry>

		<entry entryKey="clean-up-target-percentage" type="int" description="when cleaning up drop disk usage to this percentage">
			<value>70</value>
		</entry>
		
		<entry entryKey="default-user-quota" type="int" description="maximum disk space that single user is allowed to consume, megabytes. set to -1 for unlimited quota">
			<value>-1</value>
		</entry>
		
		<entry entryKey="quota-warning" type="int" description="quota warning level, in percentage of the quota">
			<value>10</value>
		</entry>

		<entry entryKey="clean-up-minimum-file-age" type="int" description="only clean up files older than this, seconds">
			<value>259200</value>
		</entry>

		<entry entryKey="minimum-space-for-accept-upload" type="int" description="when client requests for free space, say no if less than this many megabytes would be available after upload, megabytes">
			<value>100</value>
		</entry>

		<entry entryKey="url" type="string" mustBeSet="true" description="url of this file broker instance">
		</entry>
		
        <entry entryKey="port" type="int" mustBeSet="true" description="server port to use in this file broker instance">
        </entry>

        <entry entryKey="metadata-port" type="int" description="server port to use for web interface to metadata server or 0 for no interface">
			<value>0</value>
        </entry>

		<entry entryKey="jetty-debug" type="boolean" description="should Jetty web server run in debug mode (logs/wrapper.log)">
			<value>false</value>
		</entry>

		<entry entryKey="log-rest" type="boolean" description="should get and put requests be logged (logs/wrapper.log)">
			<value>false</value>
		</entry>

        
        <entry entryKey="enable-metadata-backups" type="boolean" description="true to enable filebroker metadata db backups">
			<value>true</value>
		</entry>

        <entry entryKey="metadata-backup-dir" type="string" description="base directory for metadata backups">
			<value>metadata-backups</value>
		</entry>
		
		<entry entryKey="metadata-restore-path" type="string" description="directory name in the metadata-backup-dir to restore. This will overwrite the current database">
			<value></value>
		</entry>

        <entry entryKey="metadata-backup-time" type="string" description="cron like syntax for scheduling backups, see http://www.sauronsoftware.it/projects/cron4j/manual.php#p02 or cron manual for more info">
			<value>10 0 * * *</value> <!-- ten past midnight, every day -->
			<!-- <value>0 * * * *</value> --> <!-- ten past midnight, every day -->
			<!-- <value>0 12 * * Sun</value> --> <!-- midday every Sunday -->
		</entry>

        <entry entryKey="metadata-backup-keep-count" type="int" description="max number of backups to keep, the oldest are deleted first, use -1 to keep all backups">
			<value>100</value>
		</entry>
		
		<entry entryKey="ssl-protocol-version" type="string" description="enabled ssl protocol versions, delimited with a comma">
			<value>TLSv1,TLSv1.1,TLSv1.2</value>
		</entry>
        
	</configuration-module>


	<configuration-module moduleId="webstart" description="Java Web Start service">
	    <commit_msg>Add toolbox configs to chipster-config-specification.xml<commit_after><?xml version="1.0" encoding="UTF-8"?>

<configuration content-version="3">

	<configuration-module moduleId="messaging" description="communication">

		<entry entryKey="broker-host" type="string" mustBeSet="true" description="host of message broker (JMS server ActiveMQ) to connect to">
		</entry>

		<entry entryKey="broker-protocol" type="string" mustBeSet="true" description="protocol used to connect to message broker">
		</entry>

		<entry entryKey="broker-port" type="int" mustBeSet="true" description="port used to connect to message broker">
		</entry>

		<entry entryKey="use-chunked-http" type="boolean" description="should we use chunked HTTP mode when connecting to file broker, when disabled all data is loaded to memory">
			<value>true</value>
		</entry>

		<entry entryKey="use-compression" type="boolean" description="should we compress data when sending it to filebroker">
			<value>false</value>
		</entry>
		
		<entry entryKey="use-checksums" type="boolean" description="should we calculate checksums when data is moved over the network">
			<value>true</value>
		</entry>

		<entry entryKey="public-files-url" type="string" description="url for the root of the public files">
			<value>http://chipster-filebroker.csc.fi:8080/public</value>
		</entry>


		<entry entryKey="disable-proxy" type="boolean" description="should we ignore Java proxy settings and connect directly">
			<value>true</value>
		</entry>

		<entry entryKey="use-reliable" type="boolean" description="use reliable connections (ie. redialling)">
			<value>true</value>
		</entry>
		
	</configuration-module>

	<configuration-module moduleId="security" description="encryption and authentication">

		<entry entryKey="filebroker-keystore" type="string" description="filebroker keystore file for SSL">
			<value>${chipster_security_dir}/filebroker.ks</value>
		</entry>
		
		<entry entryKey="client-truststore" type="string" description="filename of the truststore, located on a webstart server next to configuration. Set empty string if server certificates are signed by some default Java CA. Default for self-signed certificate: client.ts">
			<value></value>
		</entry>
		
		<entry entryKey="server-truststore" type="string" description="truststore file for SSL. Default for self-signed certificate: ${chipster_security_dir}/client.ts">
			<value></value>
		</entry>

		<entry entryKey="storepass" type="string" description="keystore password for SSL">
			<value>password</value>
		</entry>
		
		<entry entryKey="verify-hostname" type="boolean" description="enable SSL hostname verification. Default for self-signed certificate: false">
			<value>true</value>
		</entry>

		<entry entryKey="username" type="string" mustBeSet="true" description="username for authenticating connection to broker">
		</entry>

		<entry entryKey="password" type="string" description="password for authenticating connection to broker">
		</entry>

		<entry entryKey="guest-username" type="string" description="username for the guest accout which is not allowed to run tasks">
			<value>guest</value>
		</entry>
	
	</configuration-module>


	<configuration-module moduleId="auth" description="authentication service">

		<entry entryKey="sessionRefreshTimeout" type="int" description="how ofter session needs to be refreshed, minutes">
			<value>1440</value><!-- 24h -->
		</entry>

		<entry entryKey="sessionMaxLifetime" type="int" description="max lifetime for a session, minutes">
			<value>4320</value><!-- 3x24h -->
		</entry>

	</configuration-module>
	
	
	<configuration-module moduleId="filebroker" description="file broker">
	
		<entry entryKey="file-root-path" type="string" description="path to file broker root directory">
			<value>file-root</value>
		</entry>
		
		<entry entryKey="example-session-path" type="string" description="path to example session files'">
			<value></value>
		</entry>

		<entry entryKey="public-path" type="string" description="path to public data files">
			<value>public</value>
		</entry>

		<entry entryKey="file-life-time" type="int" description="how long files are stored in fileserver, seconds">
			<value>86400</value>
		</entry>

		<entry entryKey="clean-up-frequency" type="int" description="how often file cleanup check occurs, seconds">
			<value>3600</value>
		</entry>

		<entry entryKey="clean-up-trigger-limit-percentage" type="int" description="when disk usage reaches this percentage clean up">
			<value>90</value>
		</entry>

		<entry entryKey="clean-up-target-percentage" type="int" description="when cleaning up drop disk usage to this percentage">
			<value>70</value>
		</entry>
		
		<entry entryKey="default-user-quota" type="int" description="maximum disk space that single user is allowed to consume, megabytes. set to -1 for unlimited quota">
			<value>-1</value>
		</entry>
		
		<entry entryKey="quota-warning" type="int" description="quota warning level, in percentage of the quota">
			<value>10</value>
		</entry>

		<entry entryKey="clean-up-minimum-file-age" type="int" description="only clean up files older than this, seconds">
			<value>259200</value>
		</entry>

		<entry entryKey="minimum-space-for-accept-upload" type="int" description="when client requests for free space, say no if less than this many megabytes would be available after upload, megabytes">
			<value>100</value>
		</entry>

		<entry entryKey="url" type="string" mustBeSet="true" description="url of this file broker instance">
		</entry>
		
        <entry entryKey="port" type="int" mustBeSet="true" description="server port to use in this file broker instance">
        </entry>

        <entry entryKey="metadata-port" type="int" description="server port to use for web interface to metadata server or 0 for no interface">
			<value>0</value>
        </entry>

		<entry entryKey="jetty-debug" type="boolean" description="should Jetty web server run in debug mode (logs/wrapper.log)">
			<value>false</value>
		</entry>

		<entry entryKey="log-rest" type="boolean" description="should get and put requests be logged (logs/wrapper.log)">
			<value>false</value>
		</entry>

        
        <entry entryKey="enable-metadata-backups" type="boolean" description="true to enable filebroker metadata db backups">
			<value>true</value>
		</entry>

        <entry entryKey="metadata-backup-dir" type="string" description="base directory for metadata backups">
			<value>metadata-backups</value>
		</entry>
		
		<entry entryKey="metadata-restore-path" type="string" description="directory name in the metadata-backup-dir to restore. This will overwrite the current database">
			<value></value>
		</entry>

        <entry entryKey="metadata-backup-time" type="string" description="cron like syntax for scheduling backups, see http://www.sauronsoftware.it/projects/cron4j/manual.php#p02 or cron manual for more info">
			<value>10 0 * * *</value> <!-- ten past midnight, every day -->
			<!-- <value>0 * * * *</value> --> <!-- ten past midnight, every day -->
			<!-- <value>0 12 * * Sun</value> --> <!-- midday every Sunday -->
		</entry>

        <entry entryKey="metadata-backup-keep-count" type="int" description="max number of backups to keep, the oldest are deleted first, use -1 to keep all backups">
			<value>100</value>
		</entry>
		
		<entry entryKey="ssl-protocol-version" type="string" description="enabled ssl protocol versions, delimited with a comma">
			<value>TLSv1,TLSv1.1,TLSv1.2</value>
		</entry>
        
	</configuration-module>


	<configuration-module moduleId="toolbox" description="toolbox service">
	
		<entry entryKey="host" type="string" description="hostname of the server running the toolbox">
			<value>localhost</value>
		</entry>

		<entry entryKey="path" type="string" description="path part toolbox of the toolbox url">
			<value>/toolbox</value>
		</entry>

        <entry entryKey="port" type="int" mustBeSet="true" description="server port where toolbox runs">
       		<value>8084</value>
		</entry>


	</configuration-module>


	<configuration-module moduleId="webstart" description="Java Web Start service">
	    
{'fraction_non_alphanumeric': 0.13900375341942872, 'fraction_numerical': 0.00890641898339589, 'mean_word_length': 4.726775956284153, 'pattern_counts': {'":': 0, '<': 361, '<?xml version=': 2, '>': 361, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 3}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3013866', 'n_tokens_mistral': 5020, 'n_tokens_neox': 4430, 'n_words': 1342}