Commit Graph

51 Commits

Author SHA1 Message Date
Katerina 1a99c041d3 Integrating the 871b2ec6e5 commit of validator-engine2. You need to install it locally, therefore I have added it as 1.9.9-local version in my pom.xml 2024-04-03 09:52:04 +03:00
Katerina d42d8fc09b Fixed the premature ending of the double processing. 2023-12-14 13:00:12 +02:00
Katerina b72c29b8c8 test 2023-12-08 13:51:52 +02:00
Katerina 8581a54bb9 Added method to return jobs with paging 2023-11-29 10:51:24 +02:00
Katerina 3b3d9ee9e2 Added OpenApi documentation 2023-11-22 11:50:15 +02:00
Katerina c83d78077f added summary table and cleaning processes for all validation cases 2023-11-21 15:19:09 +02:00
Katerina 88a57a8b85 getSets method returns timeout if the process of getting all the sets from the oai server is not finished within 20 seconds. 2023-11-20 14:36:46 +02:00
Katerina 59fdd724e9 Summary Result is automatically saved in SimpleOaiPmhRoute Router 2023-11-07 15:06:11 +02:00
Katerina d2baa7ccf2 Change Fair from Data to Literature for OpenAIRE Literature v4 2023-10-19 13:17:12 +03:00
Katerina f5fef8fd5c added FAIR validation for OpenAIRE Literature V4 Quielines 2023-10-17 13:00:25 +03:00
Katerina 16a258b263 preparing Summary result to be an actual DB entity 2023-10-03 10:52:11 +03:00
Katerina 24427a23ed added set in ValidationJob db entity and and class 2023-10-02 14:08:47 +03:00
Katerina c5de380a11 Fixed problem with stoping routes. There is still a warning, but no Exception 2023-09-22 14:17:27 +03:00
Katerina 2454c900aa multicast is not supposed to be in the simple route. 2023-09-20 14:58:35 +03:00
Katerina ee55fd2b99 Added ErrorProcessor when XML returned is invalid - does not contain the record element 2023-09-20 14:23:37 +03:00
Katerina 50cb62af1e Added ExceptionProcessor for ClientProtocolException + TypeConversionException + Controller Level Exceptions 2023-09-19 15:48:40 +03:00
Katerina 8929ff38ab Add method to get latest jobs 2023-09-15 11:00:15 +03:00
Katerina f031a79718 Added Controller level Exception handling 2023-09-13 13:23:27 +03:00
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