Create a Nifi flow using a GroovyScript processor

Lukket Opslået 2 år siden Betalt ved levering
Lukket Betalt ved levering

We are using Groovy for many of our Apache Nifi flows. Based on the below article I would like to create a Nifi flow using a GroovyScript processor. The flow / processor would be used to take a (template) XLSX file and a configuration to fill cells in the Excel sheet with data. [login to view URL] I would like to create the following processor: - the groovy processor receives a JSON object and a file name to process. The json looks something like this (can be changed if that is easier): { input: '[login to view URL]', output: '[login to view URL]', mutations: [{ sheetname: 'thesheet', cellname: 'B11', value: 42 },{ sheetname: 'thesheet', cellname: 'C2', value: 'text content' }] } - The script opens the xlsx file from the filesystem - Based on the mutations array, the Groovy script processor makes changes to the cells using the Apache POI API - The flow saves the xlsx file back on the filesystem.

JavaScript Apache AJAX JSON XSLT

Projekt ID: #31612765

Om projektet

3 bud Remote projekt Aktiv 2 år siden