Mercurial > hg > ThermostatQA
view templates/storage-config/thermostat-users.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
# This file is used if the PropertiesUsernameRolesLoginModule is used # as a delegate in the JAAS configuration *and* the 'users.properties' option # has not been specified for the login module. # # If that is the case, this defines the database of users with corresponding # passwords, the thermostat web storage servlet knows about. # # WARNING: Passwords of users are in plain text. This needs to be considered # when using this module in production. The main goal of this login # module is to provide a simple way to define thermostat users and # their corresponding passwords. # # The format of this file is as follows (whitespace in usernames/passwords are # not recommended): # # user1=password1 # user2=password2 # ... # ${USERS}