Import data feeds

You can import data feeds to MashZone NextGen.

The data feeds are saved in a zip file that contains among other things the data feed definition, resource policy and data feed permissions. If you import a data feed including the permissions then the creator of the data feed can view and edit the data feed. Importing data feeds without the relevant permissions makes the importer automatically to the creator of these data feeds.

Procedure

  1. Open a command window and move to the MashZoneNG-install/prestocli/bin folder.
  2. Enter this command:

    padmin importFeed [-l prestoURL] -f input-file -p importPermissions -u username -w password [-v] [-o]

Once the import command completes successfully, you can use the imported data feeds in MashZone NextGen Feed Editor.

Example

pAdmin importFeed -l http://localhost:8080/mashzone/esd/api -f feedDefinition.zip -u Administrator -w manage -o

With this command the content of the data feed file "feedDefinition.zip " will be imported to MashZone NextGen.