MashZone NextGen 10.2 | Appendix | Administration | MashZone NextGen Server Administration | Deploying MashZone NextGen Instances, Clusters or Artifacts | Importing Macros
 
Importing Macros
you must have a macro export file to import. See Exporting Macros for instructions.
1. If it is not started, start the MashZone NextGen Server for the MashZone NextGen Repository where you wish to import data. See Start and Stop the MashZone NextGen Server for instructions.
2. Open a command window and move to the MashZoneNG-install/prestocli/bin folder.
3. Enter this command:
padmin importEmmlMacro -f input-file [-l prestoURL]
-u username -w password [-c] [-o] [-v]
*-f input-file: is the path and name of the export file to import data from.
*-l prestoUrl: is optional. Use this if the MashZone NextGen Server is remote or is not running in Tomcat on the default Tomcat port. If you omit this option, this defaults to http://localhost:8080/mashzone/edge/api.
*-u username: is the MashZone NextGen username to log in with. This account must have MashZone NextGen administrator permissions.
*-p password: is the MashZone NextGen password to log in with.
*-c: is an optional flag to allow the import process to continue if errors occur when invoking mashables during the import. This flag does not force the import process to continue for other types of errors, such as network or server failures.
By default, any import errors stop all further processing.
*-o: is an optional flag to allow import information for a mashable or mashup to overwrite an existing mashable or mashup with the same ID.
*-v: is an optional flag to turn on verbose logging.
Messages and errors from the import process are sent to the console window (stdout).Once the import is successfully finished, you may confirm that macros have been imported in MashZone NextGen Hub.

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