The Appian Center of Excellence (CoE) has built and released an unattended autom

The Appian Center of Excellence (CoE) has built and released an unattended automated application importation script based on Ant. Many customers need such a tool to ease and speed up the deployment procedures around deploying Appian applications.

The tool is available on Forum at http://bit.ly/1eXQ26O and supports Appian version 7.1 and up. The Appian CoE will maintain this tool for new Appian releases.

The Automated Import Script enhances the existing out of the box import script “import.bat/.sh” by adding automation for the following features:
? “1 click” deployment - deploying an application will be triggered through the execution of one script
? Dry run mode - the deployment will be able to run in dry mode thus allowing to test for potential errors with the application package
? Inspect before Import option - the script will allow to run the dry mode (e.g. inspect) prior to the real import
? Success/failure flag - the script will...

OriginalPostID-78299

OriginalPostID-78299

  Discussion posts and replies are publicly visible

  • ... output a clear industry standard success/failure flag
    ? Detailed import log - the script will generate a detailed log of the deployment activities
    ? Progress indicator - the script will provide a progress indicator during execution
    ? Delete CDTs before import – the script will automatically delete existing CDTs that are part of the application to import
    ? Execute SQL scripts before import – the script will optionally execute SQL scripts prior to importing the application in order to update the database schema of the business database
    ? Publish data stores after import – the script will automatically publish the data stores that are port of the application that imported successfully
    ? Launch process model after import – the script will optionally launch a process instance of a specific process model after the import is successful
  • The rest of the features are listed below:
    ? Success/failure flag - the script will output a clear industry standard success/failure flag
    ? Detailed import log - the script will generate a detailed log of the deployment activities
    ? Progress indicator - the script will provide a progress indicator during execution
    ? Delete CDTs before import – the script will automatically delete existing CDTs that are part of the application to import
    ? Execute SQL scripts before import – the script will optionally execute SQL scripts prior to importing the application in order to update the database schema of the business database
    ? Publish data stores after import – the script will automatically publish the data stores that are port of the application that imported successfully
    ? Launch process model after import – the script will optionally launch a process instance of a specific process model after the import is successful
  • 0
    Certified Lead Developer
    Hi sylvain,
    The application is importing sucessfully,but when i change the cdt defination its giving me below error,instead it should delete old CDT.
    PFB errors in master log(sorry i am not able to attach log file thats why pasting log here)
    2013-08-27 12:42:25,068 [main] ERROR com.appiancorp.util.BundleUtils - java.util.MissingResourceException: Can't find bundle for base name text.java.com.appiancorp.ix.AbstractDriver, locale en_IN
    java.util.MissingResourceException: Can't find bundle for base name text.java.com.appiancorp.ix.AbstractDriver, locale en_IN
    at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)
    at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)
    at java.util.ResourceBundle.getBundle(ResourceBundle.java:1246)
    at com.appiancorp.util.BundleUtils.getBundle(BundleUtils.java:95)
    at com.appiancorp.util.BundleUtils.getText(BundleUtils.java:56)
    at com.appiancorp.ix.AbstractDriver.getText(AbstractDriver.java:180)
    at com.appiancorp.ix.AbstractDriver.getPrimaryErrorsTitleInTransportSummary(AbstractDriver.java:168)
    at com.appiancorp.ix.AbstractDriver.outputTransportSummary(AbstractDriver.java:132)
    at com.appiancorp.applications.DryRunResults.<init>(DryRunResults.java:31)
    at com.appiancorp.importapplication.InspectAndImportApplicationTask.executeInspect(InspectAndImportApplicationTask.java:129)
    at com.appiancorp.importapplication.InspectAndImportApplicationTask.main(InspectAndImportApplicationTask.java:96)
    2013-08-27 12:42:25,069 [main] ERROR com.appiancorp.util.BundleUtils - java.util.MissingResourceException: Can't find bundle for base name text.java.com.appiancorp.suiteapi.common.exceptions.ErrorCode, locale en_IN
    java.util.MissingResourceException: Can't find bundle for base name text.java.com.appiancorp.suiteapi.common.exceptions.ErrorCode, locale en_IN
    at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)
    at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)
    at java.util.ResourceBundle.getBundle(ResourceBundle.java:1246)
    at com.appiancorp.util.BundleUtils.getBundle(BundleUtils.java:95)
    at com.appiancorp.util.BundleUtils.getText(BundleUtils.java:56)
    at com.appiancorp.suiteapi.common.exceptions.LocaleFormatter.format(LocaleFormatter.java:26)
    at com.appiancorp.exceptions.AppianErrorCode.getMessage(AppianErrorCode.java:165)
    at com.appiancorp.exceptions.AppianErrorCode.getMessageWithCode(AppianErrorCode.java:185)
    at com.appiancorp.suiteapi.common.exceptions.AppianException.getLocalizedMessageWithErrorCode(AppianException.java:246)
    at com.appiancorp.ix.TransportException.getErrorCodeArguments(TransportException.java:50)
    at com.appiancorp.suiteapi.common.exceptions.AppianException.getLocalizedMessage(AppianException.java:204)
    at com.appiancorp.ix.diagnostics.Diagnostic.getLocalizedMessage(Diagnostic.java:96)
    at com.appiancorp.ix.AbstractDriver.outputDiagnostic(AbstractDriver.java:194)
    at com.appiancorp.ix.AbstractDriver.outputDiagnostics(AbstractDriver.java:186)
    at com.appiancorp.ix.AbstractDriver.outputTransportSummary(AbstractDriver.java:134)
    at com.appiancorp.applications.DryRunResults.<init>(DryRunResults.java:31)
    at com.appiancorp.importapplication.InspectAndImportApplicationTask.executeInspect(InspectAndImportApplicationTask.java:129)
    at com.appiancorp.importapplication.InspectAndImportApplicationTask.main(InspectAndImportApplicationTask.java:96)
    2013-08-27 12:42:25,069 [main] ERROR com.appiancorp.util.BundleUtils - java.util.MissingResourceException: Can't find bundle for base name text.java.com.appiancorp.suiteapi.common.exceptions.ErrorCode, locale en_IN
    java.util.MissingResourceException: Can't find bundle for base name text.java.com.appiancorp.suiteapi.common.exceptions.ErrorCode, locale en_IN
    at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)
    at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)
    at java.util.ResourceBundle.getBundle(ResourceBundle.j