- Nov 25, 2015
-
-
Thiemo Belmega authored
-
Thiemo Belmega authored
-
- Nov 15, 2015
-
-
Thiemo Belmega authored
-
- Nov 13, 2015
-
-
Thiemo Belmega authored
* Implement conversion of related BOs from Json * Implement method BusinessObject.equalsInAllProperties * Fixed spelling mistake in test resource TestApplication.json
-
- Nov 07, 2015
-
-
Thiemo Belmega authored
* Replace hard coded relation fields by Map of relations * Make methods in subclasses generic, move to super class
-
Thiemo Belmega authored
-
- Nov 06, 2015
-
-
Thiemo Belmega authored
* Use DatabaseControllerHelper extends DatabaseController for test cases. This keeps track of all created BOs during the tests, so they can be deleted by @AfterClass method. * Refactor the relation storing tests to use a Dataprovider - remove duplicate code.
-
Thiemo Belmega authored
* Make DatabaseController and SqlStatements classes non-static * Rename SqlStatements to SqlStatementFactory * Make Connection a field of SqlStatementFactory, so there are no longer new connections for every request
-
Thiemo Belmega authored
-
- Nov 03, 2015
-
-
Thiemo Belmega authored
* Made methods generic, removed unneeded code * Dropped SELECT_Statements.xml, added two statements to SQL_Statements.xml
-
Thiemo Belmega authored
* Implement DatabaseController method to delete BusinessObject * Implement DatabaseController method to update BusinessObject * Commit missing file with SQL statements * Adjusted TestCreateScript with ON DELETE constraints * Splitted DatabaseControllerTest by introducing DatabaseControllerDataProvider and DatabaseControllerRelationsTest
-
- Nov 02, 2015
-
-
Thiemo Belmega authored
* Implement DatabasoController.storeToDB method * Use java Uuid class to generate random ids; adjust SQL Create Script to varchar(64) ids * Refactor SignletonUtil (did not work as expected)
-
Thiemo Belmega authored
* Implement method DatabaseController.checkIfExistsInDB(), to check if a BusinessObject with given ID already exists in the Database * Intoduced NullBusinessObject class (NullObject pattern)
-
- Oct 30, 2015
-
-
Thiemo Belmega authored
* Move BusinessObjectFactory to model package * Extract constants for table names and JSON keys * Implement conversion from JSON to Java Objects
-
- Oct 29, 2015
-
-
Thiemo Belmega authored
* Add sample JSONs for feature and category as text files * Implement JSON conversion for Feature and Category * Refactored JSON conversion, moved generic parts to super class
-
Thiemo Belmega authored
* Move general test from ApplicationTest to BusinessObjectTest * Added abstract convertToJson() to BusinessObject * Implement convertToJson() method for Applications * Implement FileUtil.readFile to read text files for testing purpose * Added sample JSON as text file
-
Thiemo Belmega authored
-
Thiemo Belmega authored
* Implement method to check if a JSONObject contains all the elements of an other * Implement method to check if two JSONObjects contain all the elements of each other * Implement Assertion that fails if two JSONObjects do not contain all the elements of each others
-
- Oct 27, 2015
-
-
Thiemo Belmega authored
* Use PreparedStatement instead of Statement * Load SQL statement strings from properties file
-
Thiemo Belmega authored
* DatabaseController loads related apps/features when loadings feature/app from database
-
Thiemo Belmega authored
* Create Tool.UP_cfg.xml file with database properties
-
Thiemo Belmega authored
-
Thiemo Belmega authored
* Move Category and Feature classes to src dir * Move database url String to Properties class * Extract common lines from DatabaseConnector class to execute() method
-
Thiemo Belmega authored
-
Thiemo Belmega authored
* Use BusinessObjectFactory to create instance of class depending on ID prefix * Create Category class * Add WHERE clause to DataBaseControllers SQL
-
- Oct 26, 2015
-
-
Thiemo Belmega authored
-
Thiemo Belmega authored
-
Thiemo Belmega authored
* Introduce super class BusinessObject for Application * Implement Feature extends BusinessObject * Modify concept of ID, has type prefix now * Adjust SQL script
-
- Oct 22, 2015
-
-
Thiemo Belmega authored
* Implement the Application class * Implement the DatabaseController, that loads an Application with gived ID to database
-
Thiemo Belmega authored
-
Thiemo Belmega authored
-
Thiemo Belmega authored
-
Thiemo Belmega authored
-
Thiemo Belmega authored
-