...
Mock implementations of the DocumentSubmitImpl, DocumentSearchImpl and PatientSearchImpl are provided in the project epsosproject epsos-wsnc-server-mock-implit. These classes simply return dummy responses (not implemented yet)or exceptions where appropriate. Please refer to the /wiki/spaces/INT/pages/4948035 Wiki pages for more information. The mock implementations are packaged as a jar file epsosfile epsos-wsnc-server-mock-impl-0.1.0.it.jar.
Packaging
Each country must build their own jar file containing their own implementations, dependencies and supporting files.
...
Code Block | ||
---|---|---|
| ||
<profiles> <profile> <!-- This profile bundles a mock National Connector interface --> <id>national-connector-mock-impl</id> <dependencies> <dependency> <groupId>eu.epsos.protocolterminators.ws.server</groupId> <artifactId>epsos-ws-server-mock-impl</artifactId> <version>0.1.0</version> <scope>runtime</scope> <groupId>eu.europa.ec.joinup.ecc.epsos-protocol-terminators.epsos-ncp-server</groupId> <artifactId>epsos-nc-mock-it</artifactId> <version>0.1-SNAPSHOT</version> <scope>runtime</scope> </dependency> </dependencies> </profile> <profile> <!-- This profile bundles the country-specifig National Connector interface --> <id>national-connector-impl</id> <dependencies> <dependency> <groupId>${national-connector-impl.groupId}</groupId> <artifactId>${national-connector-impl.artifactId}</artifactId> <version>${national-connector-impl.version}</version> <scope>runtime</scope> </dependency> </dependencies> </profile> </profiles> |
...