Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Plugin that adds a new field with a configurable value or UUID

Notifications You must be signed in to change notification settings

data-integrations/add-field

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Field Adder

cm-available cdap-transform License Join CDAP community

The Field Adder Transforms allow you to add one or more fields to incoming records.

Build

To build your plugins:

mvn clean package -DskipTests

The build will create a .jar and .json file under the target directory. These files can be used to deploy your plugins.

UI Integration

The CDAP UI displays each plugin property as a simple textbox. To customize how the plugin properties are displayed in the UI, you can place a configuration file in the widgets directory. The file must be named following a convention of [plugin-name]-[plugin-type].json.

See Plugin Widget Configuration for details on the configuration file.

The UI will also display a reference doc for your plugin if you place a file in the docs directory that follows the convention of [plugin-name]-[plugin-type].md.

When the build runs, it will scan the widgets and docs directories in order to build an appropriately formatted .json file under the target directory. This file is deployed along with your .jar file to add your plugins to CDAP.

Deployment

You can deploy your plugins using the CDAP CLI:

> load artifact <target/plugin.jar> config-file <target/plugin.json>

For example, if your artifact is named 'my-plugins-1.0.0':

> load artifact target/my-plugins-1.0.0.jar config-file target/my-plugins-1.0.0.json

About

Plugin that adds a new field with a configurable value or UUID

Topics

Resources

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages