Commit Graph

54 Commits

Author SHA1 Message Date
Bryan Bende 6ef6e71d05
NIFI-9501 Added REST end-point to retrieve a RuntimeManifest
- Switch ExtensionManifestParser implementation to use JAXB instead of Jackson XML
- Fix handling of older NARs that don't have newer fields in ExtensionManifest
- Add response merging for runtime-manifest REST end-point, remove commons-lang3 from c2 dependencies

This closes #5630

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2022-01-21 15:37:04 -06:00
Csaba Bejan 93b58ccffe
CEM-9557: Change C2 OperandType to Enum
Signed-off-by: Matthew Burgess <mattyb149@apache.org>

This closes #5649
2022-01-21 15:24:29 -05:00
Bryan Bende 0f02dac3fa
NIFI-9452 Generate a RuntimeManifest for NiFi at build time
- Write additional fields to extnesion-manifest.xml for processors
- Update C2 model classes to support new fields for processors, properties, and scheduling
- Create converter between NiFi model and C2 model
- Create generator and execute during the build

Add profile to nifi-assembly that skips the binary assembly, update github workflow to enable this profile instead of excluding nifi-assembly

Add additional documentation on new fields in processor definition and reporting task definition

Set charset to UTF-8 on the OutputStreamWriter

Signed-off-by: Matthew Burgess <mattyb149@apache.org>

This closes #5612
2021-12-21 16:35:15 -05:00
Matthew Burgess b578f183cb
NIFI-9430: Create initial C2 structure, add c2-protocol-api module (#5563)
* NIFI-9430: Create initial C2 structure, add c2-protocol-api module

* NIFI-9430: Incorporated review comments

* NIFI-9430: More refactor per review comments

* NIFI-9430: Additional review comments

* NIFI-9430: Restore Objects from primitives for serialization

* NIFI-9430: Restore API names for compatibility

* NIFI-9430: Set remaining serialization versions to 1
2021-12-10 09:12:38 -05:00