Commit Graph

204 Commits

Author SHA1 Message Date
David Guler 629e64143b Fixed serialisation of cropId and startDate 2022-10-26 20:32:01 +02:00
Gian-Andrea Hutter 63f0501397 Merge branch 'dev' into feature_json-task-db_M2 2022-10-25 18:15:26 +02:00
Gian-Andrea Hutter 6c75fcd0ec #17 taskdb.json changed to the right variable types, JsonTaskDatabase.java fully implemented and documented 2022-10-25 18:11:29 +02:00
Gian-Andrea Hutter 8fd57d91f2 Merge remote-tracking branch 'origin/feature_json-task-db_M2' into feature_json-task-db_M2 2022-10-25 10:11:02 +02:00
Gian-Andrea Hutter 23d87f7a85 #17 taskdb.json changed to the right variable types, ad isIntimePeriode to , JasonTaskDatabase 2022-10-25 10:10:40 +02:00
gulerdav b851c11f7d Merge pull request #33 from schrom01/feature_plantList_M2
Feature plant list model m2
2022-10-24 21:40:30 +02:00
schrom01 4e15a706fb code cleanup 2022-10-24 21:34:19 +02:00
schrom01 d686469336 Created Tests for PlantListModel
#15
2022-10-24 21:30:20 +02:00
David Guler 72b0d029d5 #25 Initial implementation of the JsonGardenPlan
Updated and renamed the Crop type to accommodate storage
2022-10-24 19:20:08 +02:00
schrom01 fb237e47c0 added new HardinessZone for testing 2022-10-24 19:08:24 +02:00
schrom01 9fa4762b9c Merge remote-tracking branch 'origin/feature_plantList_M2' into feature_plantList_M2 2022-10-24 19:01:19 +02:00
schrom01 e5b5e1b88a adapted class PlantListModel to PlantDatabase
#12
2022-10-24 19:00:06 +02:00
schrom01 d1c5c58468 adapted class PlantListModel to PlantDatabase 2022-10-24 18:55:26 +02:00
Elias Csomor aceb6aa1e6 first tests and a typo corrected 2022-10-24 14:54:49 +02:00
Elias Csomor af0e73c007 Prepare for tests 2022-10-24 14:20:59 +02:00
Gian-Andrea Hutter e550f5549a Merge remote-tracking branch 'origin/feature_json-gardenplan_M2' into feature_json-task-db_M2 2022-10-24 13:54:43 +02:00
Gian-Andrea Hutter 694da97cd6 #17 implementation JsonTaskDatabase.java, writeTasklistToFile 2022-10-24 13:54:28 +02:00
David Guler a29f8c7db7 Added IdProvider 2022-10-24 13:42:31 +02:00
Gian-Andrea Hutter 0ca381f8cc Merge branch 'dev' into feature_json-task-db_M2
# Conflicts:
#	src/main/java/module-info.java
2022-10-24 12:53:09 +02:00
schrom01 f9149c48fd Merge branch 'dev' into feature_plantList_M2 2022-10-24 12:51:52 +02:00
schrom01 e51da071bc updated method getFilteredPlantList 2022-10-24 12:44:11 +02:00
Gian-Andrea Hutter 904041afc0 #17 implementation JsonTaskDatabase.java, gradle import for jackson 2022-10-24 12:43:50 +02:00
gulerdav 0d99ee219d #11 Merge pull request #32 from schrom01/feature_json-plant-db_M2
#4 Feature json plant db m2
2022-10-24 12:41:18 +02:00
David Guler 0d24bcc2ad Moved null-check to loading method 2022-10-24 12:32:28 +02:00
David Guler 2c61cd3393 Implemented simple caching for JsonPlantDatabase
Also added Javadoc for the PlantDatabase interface
2022-10-23 11:11:52 +02:00
David Guler 7355ce563f Added WateringCycle and Pest types 2022-10-23 09:54:56 +02:00
David Guler 429ac16d98 filtering lifecycle based on hardiness-zone
- Added 2 more plants to test db
- Db filters plant lifecycles based on hardiness-zones
- getPlantById implemented
- Added methods to Plant for calculating sowDates and accounting for multiple lifecycles
2022-10-23 09:49:22 +02:00
Gian-Andrea Hutter e228b9019d #17 implementation JsonTaskDatabase.java, gradle import for jackson 2022-10-22 11:52:06 +02:00
Gian-Andrea Hutter a2008450e6 #17 implementation of an example task database 2022-10-21 21:18:29 +02:00
gulerdav 99e8f305e1 Merge pull request #31 from schrom01/feature_json-plant-db_M2
Feature json plant db m2
2022-10-21 12:20:06 +02:00
David Guler bf4d56e759 removed test code 2022-10-21 12:16:15 +02:00
Gian-Andrea Hutter 96b5dba36c #17 first version of tasks 2022-10-20 21:59:18 +02:00
David Guler 6d13bede7a Minimum viable deserialization
Added TaskTemplate type
Added dummy data with (probably) usable format
Used the java.time classes instead of the legacy util.Date
2022-10-20 21:46:00 +02:00
schrom01 5b0e472ec7 implemented Methods to sort and filter PlantList 2022-10-20 21:33:42 +02:00
schrom01 7dd157b9d5 implemented Methods to sort and filter PlantList 2022-10-20 21:26:30 +02:00
Roman Schenk ceb448c1ff Update issue templates 2022-10-20 20:05:31 +02:00
Roman Schenk 8c651aec2b Update issue templates 2022-10-20 20:02:18 +02:00
gulerdav 56fac84e12 Merge pull request #29 from dev
Documents from teams and project setup
2022-10-18 15:24:11 +02:00
Roman Schenk 8b3a0c1570 Update issue templates 2022-10-18 11:19:24 +02:00
Roman Schenk 516a185546 Update issue templates 2022-10-18 11:18:36 +02:00
Gian-Andrea Hutter 1e4dd07879 #4 upload documents from teams, as discussed 2022-10-17 17:14:50 +02:00
David Guler 5f53bb86c6 #11 Very basic implementation with dummy data 2022-10-17 17:01:50 +02:00
David Guler 9a29499c39 feat: GardenPlan types and interfaces
Created the type and interface relating to the GardenPlan
2022-10-14 21:15:42 +02:00
David Guler 6d1fdd05ab feat: TaskDB types and interfaces
Created the types and interfaces relating to the TaskDatabase
2022-10-14 21:15:42 +02:00
gulerdav 9ad62d72cc Update README.md 2022-10-14 15:27:49 +02:00
David Guler bd53d0644a feat: PlantDB types and interfaces
Created the types and interfaces relating to the PlantDatabase
2022-10-14 15:16:27 +02:00
DavidRavine 870bd18c0f Gradle Setup 2022-10-14 14:50:54 +02:00
huttegia b947fce825 Update README.md 2022-10-13 17:18:37 +02:00
Gian-Andrea Hutter f566234873 directory structure 2022-10-13 17:02:14 +02:00
Gian-Andrea Hutter 0aba4d3f8e directory structure 2022-10-13 17:01:04 +02:00