Commit Graph

4 Commits

Author SHA1 Message Date
Konstantina Galouni b2cddcbfb6 [Validator]: Updates & improvements.
1. JobResult.ts: Added "set:string" and "exceptionMessage: string" fields.
2. RulePerJob.ts: Removed "rule_description" field and added fields "requirement_level: string, description: string, fair_principles: string, fair_principles_tooltip: string, link: string;".
3. oaipmh-analysis.component.html: Added cards on the right for base url and set | Added requirement level to the rule name, updated field for description, added fair principles.
4. oaipmh-analysis.component.ts: Added "requirementLevelMapping" and initialize tooltip of fair principles.
5. oaipmh-history.component.html: Updated table to show multiple validations | Updated columns of table - removed actions and updated status (view results - gets us to the analysis, in progress, stoppes, error, errors - opens a modal with the exception message).
6. oaipmh-history.component.ts: Added method "getJobResults()" and methods for error modal | Added a limit of 120 requests (10 minutes) for repetable requests of getting jobResult to update status when status is in progress.
7. oaipmh-validator.component.ts: Updated label for guidelines | Updated validation checks | Added exception catch in getSets().
8. oaipmh-validator.service.ts: Added method "getJobResults(limit: number = 200)".
9. topmenu.component.html: Removed jobId from history demo page.
10. package-lock.json: Updated uikit version.
2023-10-03 17:00:58 +03:00
Konstantina Galouni 7580f1b6e4 oaipmh-validator.component: Improvements, fixes and checks added & Added subscriptions and ngOnDestroy & Added real API call to validate | oaipmh-analysis.component.ts & oaipmh-history.component.ts & single-record-validator.component.ts: Added subscriptions and ngOnDestroy | oaipmh-validator.service.ts: In method "validate()" added real API call & if all sets are chosen, do not send the set parameter | topmenu.component.html: Added "Validate [demo]" option. 2023-07-25 16:58:41 +03:00
Konstantina Galouni 04e9e455a4 oaipmh-validator.component: [WIP] Added Validator-first screen | oaipmh-validator.service.ts: Added methods "getSets()" and "validate()" | string-utils.class.ts: Added StringUtils file (from library). 2023-07-25 11:58:23 +03:00
Konstantina Galouni 32078e8732 Added validation history and validation analysis pages and updated validatorAPI to use the new version using camel. 2023-07-14 18:22:25 +03:00