Example input:
{
"loanId": "L000002",
"librarianId": 2,
"borrower": {
"cardNumber": "ABCDEFG"
},
"dateOfLoan": "2023-10-05",
"dueDate": "2023-11-05",
"loanedBooks": [
{
"isbn": "9780451524935"
},
{
"isbn": "9780486282114"
}
]
}
Example output:
"XML file was saved."
Status 200
Example error output:
"Save error: [error message]"
Status 500
Data correct format:
Element | Format | Example |
---|---|---|
loan_id | [A-Z][0-9]{6} | A123456 |
librarianId | integer | 1 |
dateOfLoan | yyyy-MM-dd | 2023-01-01 |
dueDate | yyyy-MM-dd | 2023-01-01 |
cardNumber | [A-Z0-9]{7} | ABC1DEF |
isbn | [0-9]{10} | [0-9]{13} | 0123456789, 0123456789012 |
Example input:
N/A
Example output:
"Validation successful. XML is valid against the XSD."
Status 200
Example error output:
"Validation error: [error message]"
Status 422
Example input:
N/A
Example output:
"HTML file was saved."
Status 200
Example error output:
"Transformation error: [error message]"
Status 500
Example input:
N/A
Example output:
XML content
Status 200
Example error output:
?
Status 500
Example input:
N/A
Example output:
XSD content
Status 200
Example error output:
?
Status 500
Example input:
N/A
Example output:
XSL content
Status 200
Example error output:
?
Status 500
Example input:
N/A
Example output:
PDF content
Status 200
Example error output:
?
Status 500
Example input:
Uploaded signed xml
Example output:
XML string with timestamp (unformatted)
Status 200
Example error output:
Runtime exception
Status 500
Example input:
N/A
Example output:
N/A
Status 200
Example error output:
Runtime exception
Status 500
Java 8, Spring Boot
React, Axios
cd sipvs-fe
npm install
npm run dev
https://docs.google.com/document/d/10XnzfjOgmgRS6fMJsDnlVr5NHXX6PPExP4UaDWbwFIY/edit?usp=sharing
- stiahnut a nainstalovat D.Lanucher v2.x
- pozriet si systemove poziadavky k prislusnemu operacnemu systemu
- pridat plugin D.Bridge 2 do prehliadaca
- ? ako to spojazdnit ?
- načítanie vzoriek podpisov a identifikovať problém
- na základe dokumentu OvereniePodpisu.doc
- pri identifikovaní problému vypísať konkrétnu chybu z word dokumentu
- pri identifikovaní problému nepokračovať ďalšími kontrolami, ale hneď skončiť
- možnosť vyhodnotiť vzorky po jednej, alebo aj všetky naraz
- prenesenie xml na stranu OWM bez zmeny integrity
- identifikovanie vstupneho XADES dokumentu, teba zistit ci je ho mozne parsovat a ci splna poziadavky profilu, namespace, ...
- vsetky data, ktorych integritu chcem chranit, su na ne referencie v cervenom obdlzniku
- dereferencovanie
- CRL = certificate revocation list = zoznam predcasne zrusenych certifikatov (napriklad strateny certifikat)