MashZone NextGen 10.2 | Use data feeds | Importing data feeds
 
Importing 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]
*-f input-file: path and name for the import zip file.
*-p importPermissions Imports the resource policy and permissions saved in the import zip file.
If you import data feeds without permissions makes the importer automatically to the creator of these data feeds and the data feeds has no explicit permissions which means that only administrators can see and work with the data feeds .
*-o: is optional. Allows to overwrite an existing data feeds.
*-l prestoUrl: is optional. Use this if the MashZone NextGen Server is remote or if it is not running in Tomcat on the default Tomcat port. If you omit this option, this defaults to http://localhost:8080/mashzone/esd/api.
*-u username: is the MashZone NextGen username to log in with. This account must have MashZone NextGen administrator permissions.
*-w password: is the MashZone NextGen password to log in with.
*-v: is an optional flag to turn on verbose logging.
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.

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release