The code contained in this project is used by:
- https://github.com/TOOP4EU/data-services-directory - Data Services Directory (DSD)
- https://github.com/TOOP4EU/toop-connector-ng - TOOP Connector NG
- https://github.com/TOOP4EU/toop-simulator-ng/ - TOOP Simulator NG
- https://github.com/TOOP4EU/toop-playground-ng/ - Playground NG
2021-01-19: release v2.1.1
- The project is now dual licensed under Apache License, Version 2.0 and EUPL 1.2
- No code changes
2020-11-09: release v2.1.0-1
- No changes, just for consistency
2020-11-06: release v2.1.0
- Updated to the new EDM 2.1.0
- Added Jackson Databind for the Kafka Client
- Updated the code lists to v5 according to https://github.com/TOOP4EU/toop/tree/master/Code%20Lists
2020-08-30: release of v2.0.0
- Using Java 8 date time classes for JAXB generated classes
2020-07-13: release of v2.0.0-rc3
- No changes just for consistency
2020-06-19: release of v2.0.0-rc2
- No changes just for consistency
2020-06-18: release of v2.0.0-rc1
- Updated Schematron rules
- Renamed enumerations:
EDistributionFormat
->EToopDistributionFormat
EGenderCode
->EToopGenderCode
EIdentifierType
->EToopIdentifierType
EQueryDefinitionType
->EToopQueryDefinitionType
EResponseOptionType
->EToopResponseOptionType
- Added new enumeration
EToopLanguageCode
- The class
EDMErrorResponse
changed return type forgetAgent
toAgentPojo
- A lot of minor API extensions
2020-06-01: release of v2.0.0-beta5
- Added new Schematrons to check if a document type is the expected one
- Improved the loading of XSDs for all Schemas
- Added enumeration
EIdentifierType
for the valid person and company identifier types - Updated the Schematron rules to a new version - this may break backwards compatibility
- Updated to code lists v3 - see https://github.com/TOOP4EU/toop/tree/master/Code%20Lists
- Fixed an XSD bug with error responses, if an "error provider" is used
2020-05-26: release of v2.0.0-beta4
- Removed all methods deprecated in beta3
- Micro optimizations, but no material changes
2020-05-19: release of v2.0.0-beta3
- Initial copy from TOOP Connector NG for easier dependency reuse
- Added new Request query definition "Object Reference" to request a document with an ID only
- Renamed
getReader()
toreader()
- Updated the Schematron rules
- A new response object layout was introduced: list of RegRep
ObjectRef
s - it's referred to as "DocumentRef" internally - The
EDMRequest
has a new mandatory property: "ResponseOption" - this determines if the payload is contained in the response or referenced EDMRequest
now has explicit builder classes depending on the request type:EDMRequest.BuilderConcept
,EDMRequest.BuilderDocumentsByDistribution
andEDMRequest.BuilderDocumentByID
EDMResponse
now has explicit builder classes depending on the result layout:EDMResponse.BuilderConcept
,EDMResponse.BuilderDocument
andEDMResponse.BuilderDocumentReference
EDMExceptionBuilder
was renamed toEDMExceptionPojo
and now has a separatebuilder()
method like the other Pojos- Schematron rules are now available in two different files and need to be executed subsequently
2020-05-12: release of v2.0.0-beta2
- Changed the main EDM classes for request, response and error response to
EDMRequest
,EDMResponse
andEDMErrorResponse
- Added
getReader()
andgetWriter()
methods to easily read and write these objects from and to different structures
2020-05-06: release of v2.0.0-beta1
- Libraries for creating the new data model
- Consisting of
toop-edm
,toop-regrep
,toop-kafka-client
andtoop-commons
- Allows to create Requests, Responses and Errors according to the new EDM (Electronic Data Model)
Use one of the following artefacts for inclusion, replacing x.y.z
with the effective version number:
<dependency>
<groupId>eu.toop</groupId>
<artifactId>toop-edm</artifactId>
<version>x.y.z</version>
</dependency>
The rest comes via transitive dependencies.
Requires at least
- Java 1.8 or later
- Apache Maven for building
Do an initial mvn clean install
on the command line.
Afterwards don't forget to add the following paths to your build path (in your IDE):
- toop-regrep/target/generated-sources/xjc
- toop-edm/target/generated-sources/xjc
Note: the toop-codelist-tools
is for internal usage only.
If you wander what "Pojo" means - it is very simple and stands for "Plain Old Java Object".