Releases: fcrepo-exts/fcrepo-camel
6.0.0 Release
What's Changed
- Dependency update by @dbernstein in #148
- FCREPO-2987: Updates fcrepo-parent version to 5.0.1 by @dbernstein in #149
- Revert plugin version changes by @whikloj in #150
- Updates camel dependencies. by @dbernstein in #151
- Merge 5.0.0-RC into master by @dbernstein in #152
- Update eventType documentation by @bbpennel in #155
- Update for travis.com by @whikloj in #157
- Transfer repo to the 'fcrepo-exts' GitHub org by @dbernstein in #159
- Bump camel.version from 2.20.4 to 2.24.2 by @dependabot in #156
- Bump commons-io from 2.4 to 2.7 by @dependabot in #160
- Java 11 update remove karaf by @dbernstein in #163
New Contributors
- @dbernstein made their first contribution in #148
- @whikloj made their first contribution in #150
- @bbpennel made their first contribution in #155
- @dependabot made their first contribution in #156
Full Changelog: fcrepo-camel-4.5.0...fcrepo-camel-6.0.0
Release 5.0.0
This release aligns fcrepo-camel
with Fedora 5.x.
The LDNProcessor has been removed since it is no longer used in fcrepo-camel-toolbox.
4.5.0 Release
The 4.5.0 release of fcrepo-camel
adds several new features and removes other deprecated features. This release is incompatible with earlier releases in the following ways:
- The
transform
endpoint option has been removed - The
tombstone
endpoint option has been removed - The
RdfNamespaces
class has been removed - The
JmsHeaders
class has been removed
Rather than rely on message headers published by Fedora's message broker, users are encouraged to rely on the message body. Message headers will not be part of the forthcoming Fedora messaging specification, plus the JMS headers (e.g. org.fcrepo.jms.identifier
) are tied to the use of a particular message broker technology (as opposed to, say, Kafka or AMQP).
To make it easier for users to process the message body produced by Fedora, a new processor class has been added: EventProcessor
. This processor will convert the content of a message from JSON-LD into Camel-specific headers. Camel code should rely on those headers, which include:
FCREPO_URI or "CamelFcrepoUri"
FCREPO_EVENT_TYPE or "CamelFcrepoEventType"
FCREPO_RESOURCE_TYPE or "CamelFcrepoResourceType"
FCREPO_DATE_TIME or "CamelFcrepoDateTime"
FCREPO_AGENT or "CamelFcrepoAgent"
FCREPO_EVENT_ID or "CamelFcrepoEventId"
Of these, the following are List
types and may have multiple values: FCREPO_EVENT_TYPE
, FCREPO_RESOURCE_TYPE
, FCREPO_DATE_TIME
.
Note, that FCREPO_BASE_URL
and FCREPO_IDENTIFIER
are not included here. Those values are still supported by the FcrepoCamelComponent
, but users are encouraged to make use of the CamelFcrepoUri
header instead.
A typical pattern with this code would be:
from("direct:start")
.process(new EventProcessor())
.filter(header(FCREPO_EVENT_TYPE).contains(RESOURCE_CREATION))
.to("fcrepo://localhost?accept=application/ld+json")
.unmarshal().json(Jackson)
.to("direct:handle");
Here the value of CamelFcrepoUri
is used to fetch the resource from Fedora and not "http://localhost". This follows the pattern of other Camel components such as camel-http4
.
This release includes updates to many underlying dependencies, such as fcrepo-java-client
(v.0.2.1), Jena (v. 3.1.1) and Camel (v.2.18.0). It has been tested with Karaf 4.x.
4.4.4 Release
This release deprecates both the tombstone
and transform
endpoint options. These options will be removed in the 4.5.0 release.
4.4.3 Release
fcrepo-camel-4.4.3 [maven-release-plugin] copy for tag fcrepo-camel-4.4.3
4.4.2 Release
fcrepo-camel-4.4.2 [maven-release-plugin] copy for tag fcrepo-camel-4.4.2
4.4.1 Release
fcrepo-camel-4.4.1 [maven-release-plugin] copy for tag fcrepo-camel-4.4.1
4.4.0 Release
fcrepo-camel-4.4.0 [maven-release-plugin] copy for tag fcrepo-camel-4.4.0
Release 4.3.0
fcrepo-camel-4.3.0 [maven-release-plugin] copy for tag fcrepo-camel-4.3.0
Release 4.1.1
fcrepo-camel-4.1.1 [maven-release-plugin] copy for tag fcrepo-camel-4.1.1