The tests did not work because of some previous refactoring or some
other weirdness. Solved this issue now by initializing better the
persistence handler for testing
Added tests to test creating Resource and Order and each has a
ParameterBag. The bag has all kinds of Parameters added and each is
tested that it exists and that the right value is stored
ListParameter contains methods to handle single values for parameters of
lists of values and also is a marker interface for list parameters.
StringListParameter is the first implementation
ParameterizedElement is now the parent for all objects with Parameters.
ParameterBag is a sub class of ParameterizedElement.
Resource now extends GroupedParameterizedElement which implements the
container for ParameterBags.
Parameters have been moved to package ch.eitchnet.model.parameter
The log4j.xml configuration file is in the test resources and now the
project is completely free of a dependency to a concrete logging
implementation as all logging of the sources is done over slf4j
The log4j.xml configuration file is in the test resources and now the
project is completely free of a dependency to a concrete logging
implementation as all logging of the sources is done over slf4j
The log4j.xml configuration file is in the test resources and now the
project is completely free of a dependency to a concrete logging
implementation as all logging of the sources is done over slf4j
Implementing the runAsSystem() so that special actions can be performed,
where no user is logged in
Refactored the test classes so that model specific classes are in the
model sub package.
- The querying is done by passing a UserRep with all the fields set
which
need to be equal to select the user. Null fields are understood as not
required
- Performed further clean up in that all password variables have been
changed to type byte[].
- Cleaned up copyright notices in files
- fixed version of Privilege 0.1.0-SNAPSHOT in pom.xml
- Now a "mvn compile" will build the project
- Note, that since ch.eitchnet.utils is a dependency, it must be installed first using "mvn install" to be able to compile Privilege
- Now a "mvn compile" will build the project downloading dependencies as needed
- Note: as ch.eitchnet.utils is a dependency, it must be installed first by using "mvn install"