view templates/storage-config/agent.properties @ 181:e37e710e45df

added support for compatibility tests and some other improvements (generating thermostat config files from templates, posiblity to show @Before methods logs in report, ...) Changes: Makefile: - added targets new for compatibility testing (and report generation) src/org/thermostat/qa2/framework/utils/ThermostatUtilities.java: - all thermostat and storage configuration code moved from TestRunner to ThermostatUtilities class - webapp deployment (tomcat) is moved from makefile to testsuite (ThermostatUtilities class) - storage configuration files are now generated from templates, which are placed in templates directory - added helper methods, which make using thermostat shell simpler src/org/thermostat/qa2/framework/utils/ThermostatUtilities.java: - code needed for replacing patterns moved from reporters Generator class to CommonUtilities class (because it is now also used to generate config files from templates) src/org/thermostat/qa2/reporter/Generator.java: src/org/thermostat/qa2/reporter/LogParser.java: src/org/thermostat/qa2/reporter/result/TestClassResult.java: src/org/thermostat/qa2/framework/TestRunner.java - added possibility to show logs of methods annotaded with @Before annotation, when some of tests in that their test class failes src/org/thermostat/qa2/tests/DBCommandsHeapDumpTest.java: - code updated to use new methods from ThermostatUtilities class src/org/thermostat/qa2/framework/annotations/SetupStorage.java - it is now possible set SAVE_ON_EXIT property in agent.properties using this annotation src/org/thermostat/qa2/framework/services/ThermostatStorage.java - framework is now not waiting for timeout, when message about thermostat setup is displayed src/org/thermostat/qa2/framework/ThermostatQAConfig.java - added/updated to contain framework new configuration data, removed code not needed anymore templates/storage-config/* - added thermostat config files templates
author Zdenek Zambersky <zzambers@redhat.com>
date Fri, 15 May 2015 18:51:56 +0200
parents
children
line wrap: on
line source

# Indicates if this agent will save its data to the database on exit
# or rather will purge the db
SAVE_ON_EXIT=${SAVE_ON_EXIT}

# A netty-based side channel for accepting configuration/tuning
# requests from the client will listen for connections on the address
# configured here.
# If this is removed or commented out, the default port is 127.0.0.1:12000
CONFIG_LISTEN_ADDRESS=127.0.0.1:12000

# Connection URL to storage. This can be overridden with the -d option
# on the command line. In order to use web storage instead, use something
# similar to the following line:
#DB_URL=https://storage-server.example.com:8443/thermostat/storage
#DB_URL=mongodb://127.0.0.1:27518
DB_URL=${DB_URL}