Repository navigation
TIE 0.4.0
Records can now be found by position when their name is not known in advance, and layouts fed only by provided inputs no longer need a file name pattern. With the defaults, 0.4.0 behaves exactly like 0.3.0.
Added
- XML imports without
recordElement: every child of the root element is a record, whatever its name; sibling records may have different names. Records are read as before (attributes, dotted paths, nested layouts bynestedKey). Text, comments and processing instructions directly under the root are ignored. Exports still requirerecordElement. json.firstArray: with norecordProperty, the records are the root array or, for a root object, its first top-level property whose value is an array. Earlier properties are skipped in streaming without being read; a root object without any array fails withSTRUCTURAL. It cannot be combined withrecordPropertyon import and is ignored on export.JsonOptionsgets a builder.fileNamePatternis optional on a root import layout when every input channel is aProvidedStreamChannel. A declared pattern is still validated.
inputChannels: [PROVIDED_STREAM]
layouts:
- name: employees # no fileNamePattern: only provided inputs
allowedFormats: [XML, JSON]
formatOptions:
xml: {} # no recordElement: every child of the root is a record
json: { firstArray: true }Changed
JsonOptionshas a newfirstArrayrecord component, so its canonical constructor changed; useJsonOptions.builder().JsonOptions.DEFAULTSkeeps the same values.- A blank (but not null)
xml.recordElementon import is now reported as "must not be blank" instead of "is required".
Artifacts
| Artifact | |
|---|---|
io.github.tie-integration-engine:tie-core:0.4.0 |
The library |
io.github.tie-integration-engine:tie-spring-boot-starter:0.4.0 |
Optional Spring Boot 4 auto-configuration |
<dependency>
<groupId>io.github.tie-integration-engine</groupId>
<artifactId>tie-core</artifactId>
<version>0.4.0</version>
</dependency>The jars, with their sources and javadoc, are attached below. Requires Java 25.
Documentation
- README and CHANGELOG.
- Full diff: v0.3.0...v0.4.0 (modules: tie-core, tie-spring-boot-starter).