toop-commons-ng-parent-pom

Base POM to build the TOOP Commons NG projects

License

License

GroupId

GroupId

eu.toop
ArtifactId

ArtifactId

toop-commons-ng-parent-pom
Last Version

Last Version

2.1.1
Release Date

Release Date

Type

Type

pom
Description

Description

toop-commons-ng-parent-pom
Base POM to build the TOOP Commons NG projects
Project URL

Project URL

https://github.com/toop4eu/toop-commons-ng
Project Organization

Project Organization

toop.eu
Source Code Management

Source Code Management

http://github.com/toop4eu/toop-commons-ng

Download toop-commons-ng-parent-pom

How to add to project

<!-- https://jarcasting.com/artifacts/eu.toop/toop-commons-ng-parent-pom/ -->
<dependency>
    <groupId>eu.toop</groupId>
    <artifactId>toop-commons-ng-parent-pom</artifactId>
    <version>2.1.1</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/eu.toop/toop-commons-ng-parent-pom/
implementation 'eu.toop:toop-commons-ng-parent-pom:2.1.1'
// https://jarcasting.com/artifacts/eu.toop/toop-commons-ng-parent-pom/
implementation ("eu.toop:toop-commons-ng-parent-pom:2.1.1")
'eu.toop:toop-commons-ng-parent-pom:pom:2.1.1'
<dependency org="eu.toop" name="toop-commons-ng-parent-pom" rev="2.1.1">
  <artifact name="toop-commons-ng-parent-pom" type="pom" />
</dependency>
@Grapes(
@Grab(group='eu.toop', module='toop-commons-ng-parent-pom', version='2.1.1')
)
libraryDependencies += "eu.toop" % "toop-commons-ng-parent-pom" % "2.1.1"
[eu.toop/toop-commons-ng-parent-pom "2.1.1"]

Dependencies

test (1)

Group / Artifact Type Version
junit : junit jar 4.13.1

Project Modules

  • toop-codelist-tools
  • toop-regrep
  • toop-kafka-client
  • toop-edm
  • toop-commons

TOOP Commons NG

The code contained in this project is used by:

Status

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

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 for getAgent to AgentPojo
  • 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() to reader()
  • Updated the Schematron rules
  • A new response object layout was introduced: list of RegRep ObjectRefs - 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 and EDMRequest.BuilderDocumentByID
  • EDMResponse now has explicit builder classes depending on the result layout: EDMResponse.BuilderConcept, EDMResponse.BuilderDocument and EDMResponse.BuilderDocumentReference
  • EDMExceptionBuilder was renamed to EDMExceptionPojo and now has a separate builder() 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 and EDMErrorResponse
  • Added getReader() and getWriter() 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 and toop-commons
  • Allows to create Requests, Responses and Errors according to the new EDM (Electronic Data Model)

Maven coordinates

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.

Building

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.

Side notes

If you wander what "Pojo" means - it is very simple and stands for "Plain Old Java Object".

eu.toop

toop.eu

Open Source Development for TOOP

Versions

Version
2.1.1
2.1.0-1
2.1.0
2.0.1
2.0.0
2.0.0-rc3
2.0.0-rc2
2.0.0-rc1
2.0.0-beta5
2.0.0-beta4
2.0.0-beta3