Commit Graph

33 Commits

Author SHA1 Message Date
Katerina e324211595 added requirement_level, link, description and fair_principles in SummaryResult and ValidationRuleResults 2023-09-13 13:22:21 +03:00
Katerina 40b3ff6b7c Remove set parameter when empty in requests 2023-07-26 14:19:44 +03:00
Katerina 634361302c enabled sets in validation request + changed metadata prefix for Data guidelines + fixed bug in fair profile condition 2023-07-26 13:20:23 +03:00
Katerina 3bb02b30e2 Rename basic Routes + validate method returns the validation job in JSON + guidelines parameters use name + add fair profile for data guideline 2023-07-25 15:59:12 +03:00
Katerina 69818d6b22 Simple and Fair route added with unique route ids 2023-07-24 16:34:40 +03:00
Katerina 04fd403ac8 Correct names for issues and results in map before jpa 2023-07-17 15:20:01 +03:00
Katerina 3b95f932f3 Fixed bug on storing validationIssues 2023-07-17 12:33:19 +03:00
Katerina 7b5a9cad3d Clean DataBaseProcessor from all dependenies. Everything is passed via messages 2023-07-14 15:53:56 +03:00
Katerina ec549036d9 Steps to remove save methods from Processors. Added apache camel-jpa dependency 2023-07-14 14:21:21 +03:00
Katerina e1eb44ae73 SummaryResult contains guideline information to be returned from the API 2023-07-14 12:08:44 +03:00
Katerina c3667780b3 added guidelines in ValidationRuleResult to follow the DB schema change that allows guideline fields storage for each rule result 2023-07-14 12:07:39 +03:00
Katerina 24a62d97de Added guidelines in the rule results + relevant API method to be able to support FAIR validaion for every job 2023-07-14 12:05:19 +03:00
Katerina 0dd8743b42 metadata prefix is now defined by the profile of the guidelines 2023-07-10 14:11:36 +03:00
Katerina afc881b443 List sets sent in proper format with all possible sets returned. 2023-07-03 14:41:35 +03:00
Katerina 41ceffda2a Change to return error status and internal error in the APIs 2023-07-03 10:57:13 +03:00
Katerina 97388284f2 correct score calculated + json returned for ListSets + internal error taken into account 2023-06-29 12:00:26 +03:00
Katerina e61e252306 added dynamic endpoint route for ListSets. Need to aggregate and serve JSON 2023-06-27 10:58:55 +03:00
Katerina ce4d729185 Enhancing all APIs to get all the information needed for Job result and Rule warnings and errors + record urls 2023-06-20 15:42:16 +03:00
Katerina 004b166b73 Added separate processor to save in db + refined the APIs for the job and the error/warnings + added repository method for the status of a job 2023-06-13 15:57:39 +03:00
Katerina 8eae2632a1 Routers are now stopped. For next steps I need to see why I get Exceptions 2023-06-12 15:48:10 +03:00
Katerina 376715c1af spring-boot-2.7.10 applied in all spring-boo libraries 2023-05-30 13:54:45 +03:00
Katerina e6c5fa5919 added spring-boot-2 and apache camle dependencies. Autowired CamelContext 2023-05-30 12:25:10 +03:00
Katerina 61756adf8c updated to spring-boot 1.5.22.RELEASE and apache camel 3.20.5 2023-05-30 11:09:06 +03:00
Katerina fe7a8b1631 progress with apache camel dynamic routes 2023-05-29 14:40:25 +03:00
Katerina a15670b741 progress with error and warning reports. not yet final. need to clean code and finalize the needed methods 2023-05-03 15:00:57 +03:00
Katerina 4d7836b4d7 progress on call but not final 2023-04-25 11:18:14 +03:00
Katerina 63bba067ba Added JPA Hibernate for PostgreSQL + simple sql to match the model 2023-04-11 17:41:01 +03:00
Konstantina Galouni 2c5a934b36 XmlValidationResponse.java: Added field "List<RuleInfo> fairRules;" to separate fair validation results from the other guidelines when running together | ValidatorController.java: Validate for fair guidelines only with DataArchiveGuidelinesV2Profile & separate fair validation results & in fair validation removed check "if (!entry.getValue().toString().contains("eu.dnetlib.validator2"))". 2022-12-23 10:13:43 +02:00
Konstantina Galouni 03dab724b7 pom.xml: Updated pom file to be similar to our other services - made service run as standalone. 2022-12-07 18:48:56 +02:00
Konstantina Galouni c512a31b72 XmlValidationResponse.java: Added XmlValidationResponse class for structured results including validationScore and fairScore | ValidatorController.java: Return results as XmlValidationResponse. 2022-12-06 01:57:52 +02:00
Konstantina Galouni e28198e1d7 RuleInfo.java: Added RuleInfo class for structured results | ValidatorController.java: Updated how results are returned (more structured) & Added fair guidelines (as separate option and called with any other guideline) & Added unused and untested method for validating uploaded file. 2022-11-30 12:28:56 +02:00
Konstantina Galouni 85494a6dac First version of project - /validate POST method gets param 'guidelines' (name of selected guidelines to validate with) and a string as body (xml) to be validated 2022-10-06 13:59:26 +03:00
Konstantina Galouni e3407abf4d Initial commit 2022-10-05 18:48:37 +02:00