Details
-
Type: Story
-
Status: Closed
-
Priority: High
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 6.0.0-RC1, EVS Validation API V1
-
Component/s: None
-
Labels:
-
Sprint:
-
Account:ANS-Développement API - v1 (ANS-API-v1)
-
Epic Link:
-
Program Increment:PI-54
-
Targeted team:Development
-
Teams:
Description
Acceptance criteria :
* As a validation client, I MUST be able to read a validatedobject resource by its OID using a GET request to EVSClient and I receive the requested complete validatedobject in XML.
I.e :
Request : GET EVSClient/rest/validatedObjects/1.3.6.1.4.1.12559.11.36.3.1.14342 HTTP/1.1
Accept: application/xml
Response : HTTP/1.1 200 OK
Content-Type: application/xml;charset=UTF-8
<?xml...>
<ValidatedObject oid="1.3.6.1.4.1.12559.11.36.3.1.14342" validationDate="2021-04-08T16:30:00"
validationStatus="DONE_FAILED">
<OwnerMetadata username="ceoche" organization="IHE Europe" private="true" />
<ValidationService name="SchematronValidator" validator="ANS - CR-BIO - v2021-02-15"/>
<Object type="CR-BIO" location="EVSClient/rest/validatedObjects/1.3.6.1.4.1.12559.11.36.3.1.14342/object" />
<ValidationReport location="EVSClient/rest/validatedObjects/1.3.6.1.4.1.12559.11.36.3.1.14342/validationReport" />
</ValidatedObject>
* As a validation client, I MUST be able to read a validationReport by using the validatedobject OID using a GET request to EVSClient and I receive the requested complete validationReport in XML.
I.e :
Request : GET EVSClient/rest/validatedObjects/1.3.6.1.4.1.12559.11.36.3.1.14342/validationReport HTTP/1.1
Accept: application/xml
Response : HTTP/1.1 200 OK
Content-Type: application/xml;charset=UTF-8
<xml.... >
* Exception handling on client parameters :
- If the OID used as parameter is unknown, EVSClient must respond with HTTP 404 Not found
- If the OID used as parameter refers to a private validatedobject, EVSClient must respond with HTTP 401 Unauthorized
Related requirements :
[EVS-14]
[EVS-58]
[EVS-59]
[EVS-61]
[EVS-64]
[EVS-69]
[EVS-70]
[EVS-74]
Technical details :
* Gazelle Validation report MUST support Java 7
* An XML presenter will be improved for the ValidatedObject
* An XML presenter will be required for the Gazelle Validation report
Attachments
Issue Links
- FS-depends on
-
EVSCLT-891 [EVS API] Mapping of validationReport
- Closed
- is FS-depended by
-
EVSCLT-885 [EVS API] Read private validations through web-services
- Closed
-
EVSCLT-898 [EVS API] Rest Operation shortcut to validate and get the report in one call
- Closed
-
EVSCLT-879 [EVS API] Read Gazelle Validation report and ValidatedObject in JSON
- Submitted
-
EVSCLT-880 [EVS API] Read JUnit test report in XML
- Submitted
-
EVSCLT-881 [EVS API] Read Schematron SVRL test report in XML
- Submitted
- relates to
-
EVSCLT-942 [QUALIF] Pas possible d'éditer les référence standard depuis l'IHM
- Resolved
-
EVSCLT-937 [QUALIF] validation report from WS does not have the same sub-reports than in GUI
- Closed
-
EVSCLT-938 [QUALIF] Wrong status code if GET /validation with another organization's API key.
- Closed
-
EVSCLT-940 [QUALIF] Can create an API key without being authentified
- Closed
-
EVSCLT-939 [QUALIF] API Key is not created if api_key_validity_days = -1
- Closed