Professional Documents
Culture Documents
Deployment Guide
Deployment Guide
No part of this document may be reproduced or transmitted in any form or by any means,
for any purpose, without the express written permission of TEMENOS HEADQUARTERS SA.
Table of Contents
Document History 5
About this Guide 6
Hybrid Projects 6
Chapter Contents 6
The Temenos UXP Deployment Process 6
Create a Deployment Setting File 6
Configure Your Deployment 6
Configure a Portlet 6
Deploy the Project 6
Licensing and Technical Support 7
Online Help 7
What is the Temenos UXP Deployer? 8
Types of Deployment 8
Online 8
Offline 8
Hybrid 8
Web Service 9
Portlet 9
The Temenos UXP Deployment Process 10
Deployer 10
Deployment Steps 10
Verify and Complete Project 11
Create Deployment Setting File 11
Configure Deployment 11
Configure Web Service 11
Configure Portlet 11
Create Hybrid Profiles 11
Deploy Online, Offline or Mobile 11
Contents of a Deployed Temenos UXP project 12
Create a Deployment Setting File 13
Before Starting the Deployment Process 13
Create a Deployment Setting File 13
Page| 2
Deployment Guide
Page| 3
Deployment Guide
Deploy Online 34
To Deploy your Project Online 34
Deploy Offline 38
To Deploy your Project Offline 38
Updating a Deployed Project 40
Deploying to a new environment 40
Deploying an updated project 40
Command Line Interface 41
Command Line Interface Commands 41
Appendix 45
Ant Script Examples 45
Creating deployments for multiple projects 45
Creating SmartHybrid apps 46
Page| 4
Deployment Guide
Document History
Author Version Date
5.4 01/07/2015
Page| 5
Deployment Guide
Hybrid Projects
Information on how to deploy a hybrid project to a mobile device is included in the Hybrid Guide and is not
detailed in this document.
Chapter Contents
The following list provides a short description of each of the remaining chapters in this guide.
The Temenos UXP Deployment Process
This chapter gives an overview of the deployment process and describes the elements which make up a
deployed solution.
Create a Deployment Setting File
This chapter explains how to start the deployment process.
Configure Your Deployment
This chapter explains how to use the Integration, Directory Structure and Variables Editors provided with the
Temenos UXP Deployer to set the configuration parameters of the project for the various deployment
environments.
Define what the web service does
This chapter explains how to deploy your project as a Web Service.
Configure a Portlet
This chapter explains how to deploy your project as a Portlet.
Deploy the Project
This chapter explains how to use the Deployment Wizard provided by the Temenos UXP Deployment
Manager to deploy your project.
Page| 6
Deployment Guide
Online Help
The online help provides a full reference guide for all the features of the tool and can be used in conjunction
with this guide. It is accessed via the Help item on the standard IDE toolbar or by clicking on the standard
button bar. The contents provide a list of all the major sections within the help. The index provides an
alphabetical list of all the topics in the help, which is searchable. The search facility can be used to search for all
topics related to a keyword you have entered.
Page| 7
Deployment Guide
l Configure integration parameters so they are appropriate for the destination deployment e.g.
database source names and logons.
l Configure project parameters that alter the characteristics of the deployed solution e.g. session
timeout, debug level.
l Where appropriate, configure web service or portal parameters, or hybrid profiles required by the
deployed solution.
l Gather together all files required by the deployed solution, including the Temenos UXP Run Time
Environment, Javascript, HTML and image files.
l Build a deployment package which can be installed on a web application server or mobile device.
Types of Deployment
The Temenos UXP Deployer supports various types of deployment to suit the usage and access method
required for a project:
Online
With an online deployment, your project is installed on a web application server or servlet container, making it
available to any user with network connections to that server. Example servers are Weblogic, Websphere, JBoss
or the servlet container Apache Tomcat. Once installed, users access the application by entering the appro-
priate URL in their browser.
Offline
Offline deployment allows your project to be run standalone, without the need for network connections, and is
particularly effective for users who need to maintain information whilst “on the road”. Offline deployment gen-
erates a self-contained application within a directory structure that can then be distributed to each individual
user’s machine. Offline applications require a browser and are currently supported by Microsoft’s
Internet Explorer version 6.0 or above.
Hybrid
Hybrid deployment packages the Temenos UXP project with native resources to allow the solution to be
installed on a mobile device and to take advantage of native features. A hybrid licence is required to produce a
hybrid deployment. To obtain a hybrid license, contact [email protected].
Page| 8
Deployment Guide
Web Service
Temenos UXP allows you to publish an existing Phase as a Web Service, enabling 3rd party applications to
easily re-use business logic already defined within Temenos UXP . The Web Service interface is implemented
automatically by the Temenos UXP Deployer and uses XML messaging that conforms to the WSDL 1.0 spe-
cification.
Deploying Web Services is similar to standard online deployments, although additional Web Service parameters
must be configured beforehand, as described in the chapter “How to configure a Temenos UXP Web Service”.
Portlet
Portlet deployment allows your project to run within a Portal Server, enabling it to function alongside other
portlets. The Temenos UXP portlet implementation comforms to industry standard JSR168 and supports mul-
tiple Temenos UXP Portlets within the same Portal and data sharing across Portlets.
Deploying an Temenos UXP project as a portal requires additional Portlet specific parameters to be configured
before deployment, as described in the chapter “How to configure a Temenos UXP Portlet”.
Page| 9
Deployment Guide
The Deployer application provided as part of both the Temenos UXP Standard IDE and Enterprise, allows you to
generate a deployment package for a selected project.
A project consists of a number of different elements e.g. images, html which together form the completed solu-
tion. The deployment process collates these files, along with the RTE libraries, to form a complete package. The
package can be generated as a single Web Archive (WAR) file or as a structured directory. You can then take the
deployed project, in the appropriate format, and install it on an application server.
Deployer
The Temenos UXP Deployer consists of a number of editors which allow you to configure the parameters of a
project for deployment to a specific environment. For example, you may wish to use a different database in the
test environment to the live environment. The Deployer allows you to configure this parameter easily without
any change to the project itself.
If your project includes a Portlet presentation, the Deployer also allows you to configure this presentation for
the target Portal installation. Similarly, if you have designed a phase in your project to be called as a web ser-
vice, the Deployer allows you to configure the web service for your phase, including URL, service name and oper-
ations available. If you have a hybrid licence and have set up the appropriate hybrid phases, the Deployer will
also allow you to configure a hybrid profile and deploy the project for installation on a mobile device. When a
project is deployed, the files appropriate to these individual deployment types will automatically be produced.
If your project includes an offline presentation, the Deployer also allows you to deploy this presentation as a
self-contained directory structure which is then easily copied to destination machines. In this case, it is essential
that during execution of the solution there are no online dependencies and this must be considered carefully
before deployment.
Deployment Steps
The diagram below shows the steps taken in order to deploy a solution using the Temenos UXP Deployer. Each
of these steps is described in more detail below. Note that configuring a web service, portlet or hybrid profiles
are optional steps in the deployment process depending on where you wish to deploy your project.
If a web service or portlet have been configured, they will be created once the project is deployed. Deploying a
hybrid project is a different deployment process.
Page| 10
Deployment Guide
Page| 11
Deployment Guide
The files placed by in the WEB-INF folder cannot be accessed directly by web clients, the WEB-INF directory con-
tains a web archives private files and directories. Therefore from a default security perspective this makes them
unavailable to end users in the browser.
It is also recommended that the log files are moved to another directory once testing is complete as they can be
accessed from the browser in their default location. Although this is useful during testing, it poses a security risk
in the live environment.
Page| 12
Deployment Guide
If you are using the Enterprise, you need to check the project ifp file out to your project directory first.
The cleanup option verifies the project as a first step. If you only wish to verify the project and clean up errors at
a later date, you can select the Verify option from the Project item on the menu bar.
You must also ensure that there is a valid licence for the target environment. Without an appropriate licence
you cannot deploy an Temenos UXP solution.
Licence files are obtained by contacting [email protected].
Page| 13
Deployment Guide
3. Click New from the drop down menu The Add Deployment dialog is displayed.
4. Click Select.
Page| 14
Deployment Guide
5. Select the project file you wish to deploy and click Select.
This field should be used to enter a meaningful description of the destination of the deployment for future
reference.
7. Allow Data Sets: check this box if you want the project to use data sets.
8. Click OK.
A new deployment file is created. The name of the deployment currently open is displayed along the top of the
Deployment Manager window.
Page| 15
Deployment Guide
l Portlet Editor.
l Library Editor.
The Language Map Editor has its own separate notes mechanism.
EVA notes added in the Deployer IDE are not visible in the Developer IDE when you use the Run with Notes
option.
Page| 16
Deployment Guide
1. Open the Deployer IDE and open the required dsf file.
l Font Name
l Font Size
l Bold
l Italic
If you do not configure the note a default font and size will be used.
Page| 17
Deployment Guide
To Add a Note
1. Open the Deployer IDE and open the required dsf file.
2. Open the required editor (this must be one which allows notes to be added)
The note types available will be the same as those in the Temenos UXP IDE, namely:
l To Do
l Specification
l Comment
For more information on notes, see the Temenos UXP Developer Help (F1 or Help > Help Topics in the Developer
IDE), chapter Notes.
Page| 18
Deployment Guide
Note Operations
Right click on the note to perform the following operations:
l Insert Note
l Cut
l Copy
l Delete
l Properties
When there is more than one note, you can move the up or down.
Note that the drag and drop operation within an editor will move the note, whereas the drag and drop
operation to a different editor will copy the note.
Notes Filter
The notes filter allows you to choose which types of note are displayed by ticking a checkbox for the note type.
It is located on the Deployer toolbar.
Page| 19
Deployment Guide
l Integration Editor
l Variables Editor
l Portlet Editor
l Library Editor
These editors allow parameters to be changed according to the requirements of the deployment environment
without making any changes to the project file itself. Once the appropriate parameter changes have been made
for the deployment environment, the project can be deployed using one of two deployment wizards depending
on whether the project is to be deployed on-line, off-line or to a mobile device.
Integration Editor
The Integration editor allows you to define the connections to external sources which the project requires e.g.
databases, 3rd party software, web services. For each integration source defined for the project, the Integration
Editor allows you to define how to communicate with that source for the target deployment.
For example, the project may store captured data in a database, but this database may be different in a testing
environment as opposed to the live environment. This allows you to create deployments for different envir-
onments e.g. Test, User Acceptance Test, Live.
The Integration Editor will only allow you to alter existing sources which have already been defined in the
Developer IDE. New sources cannot be added or existing ones deleted or their name or connection type
amended. This is because new sources would not be referenced by any rules and changing the name of existing
sources would break their connection with existing rules referencing them. For more information about adding
different types of source within the Developer please see the Temenos UXP Help.
Page| 20
Deployment Guide
Log Integration
The log integration files are created by default when a new Temenos UXP project is created. There are four log
files:
l Debug log
l Syserr log
l Sysout log
l Security log
The Debug log is the destination for all debug messages generated when the solution is executed. The level of
debug is a Runtime Variable which is specified within the Variable Editor. See the Variables Editor section within
this guide for more details. The Syserr log is the destination for all error messages generated when the solution
is executed. The Security log is the destination for all error messages generated when there has been a security
violation.
Note that within Temenos UXP the log files are defined as external sources allowing their location to be altered
for different deployments. A Debug and Syserr log are created by default for each project and will therefore
always appear in the Integration Editor even if no other external connections have been defined for the project.
When the project is deployed they are located in the /log directory. It is recommended that they are moved to
another location when the project is deployed to the live environment to prevent access to them from them
from the browser, as this could pose a security risk.
To Change a Connection
Page| 21
Deployment Guide
The Connection description is displayed. The Connection tab will be specific to the type of source which you
have selected. The one shown below defines a connection to a database.
6. Click OK.
A green tick will appear beside the database to indicate that it has been amended in the Deployment Editor.
Page| 22
Deployment Guide
Variables Editor
The Variables Editor allows you to amend runtime and global variables for the deployment environment.
Runtime variables are pre-defined and allow you to influence specific Temenos UXP behaviour. Global variables
are user-defined and allow you to define static values which can be referenced across an entire project.
It is a consideration when developing your project to use variables where they might alter between deploy-
ments as it is much easier to change these values in the deployment rather than in the project itself.
To Change Project Variables
Page| 23
Deployment Guide
5. Click OK.
Runtime Variables
The table below gives a summary of the runtime variables which can be edited.
Page| 24
Deployment Guide
Global Variables
Global variables are used project wide and are defined by the user. They are useful when a value will change
depending on the environment the project is deployed to. For example, you may require test results to be sent
to a different email address than live results. Setting this value as a global variable will enable it to be changed
easily between deployments, rather than changing the project file for each deployment which would not be
good practice.
To Define a Global Variable
5. Click OK.
Page| 25
Deployment Guide
2. Click Directory Structure Editor from the dropdown menu The Directory Structure Editor is displayed.
3. Right click the directory you wish to amend and select Properties.
4. If the directory has not been changed previously, uncheck Use Default.
5. Click Select.
7. Click OK.
Note any path references which you have defined outside Temenos UXP, e.g. within any html that you have cre-
ated, may need to be updated to reflect the change in the directory structure. Also, if you have entered any
absolute paths within the Temenos UXP project, these may also require updating for the deployment. All other
references within the project will automatically use the above directory settings. If the directory is outside of the
deployment i.e. not relative, then the contents will not be packaged in the WAR file.
Page| 26
Deployment Guide
Note: Configuring a web service should not be confused with calling an existing
web service, which can be achieved by defining the web service as an integration
source within your Temenos UXP project.
These steps equate to the following within the Web Services Editor
Page| 27
Deployment Guide
The service name should be unique within the dsf file. The description is optional and for informational pur-
poses only.
The Project URI is the location where the service will be deployed to and from where the callee will invoke your
web service.
7. Click OK.
The web service you have created is now displayed in the Web Service Editor.
Page| 28
Deployment Guide
To define an operation
5. Enter the Phase Name or click Select to use the Phase Chooser.
6. Enter the Request Data Group and the Response Data Group by typing the full name of the data group or by
clicking Select and using the Phase Chooser.
Page| 29
Deployment Guide
Note that only data groups can be defined as the Request and Response Data Group and therefore the data
structure within the project must have been set up correctly to support the web service.
7. Click OK.
4. Click Save.
The WSDL document is saved to a wsdl directory under the WEB-INF directory of the project. The default save
location can be changed if required.
Page| 30
Deployment Guide
Configure a Portlet
Portlets
A Portlet deployment allows your project to run as a window within a Portal. A portal aggregates content and
applications to provide services from a number of different sources, accessible from a single location.
To deploy your project as a portlet, you firstly need to create a Portlet presentation within your project during
development. The Temenos UXP Deployer then allows you to deploy this presentation to the target portal.
Portlet Editor
A Portlet is configured using the Portlet Editor within the Deployer. It is an optional stage in the deployment of a
project and it is assumed that you have already created a Deployment Setting File.
The Portlet Editor allows you to choose which process and presentation you wish to deploy as a portlet. When
the deployment is completed, the appropriate files required for the portlet will have been created.
It is important to note that prior to creating a portlet you must have defined a portlet presentation type in the
Developer IDE for the process you wish to deploy as a portlet.
To add a portlet
Page| 31
Deployment Guide
5. Enter the Portlet Name, Portlet Display Name and Portlet Description.
This information is used by the portal server configuration to allow the user to easily identify the portlet when
deciding which portlets to add to a portal. A valid portlet name is alphanumeric, without spaces. It can contain
underscores.
7. Enter the Process and the Presentation which the portlet uses.
Note that the Presentation that you specify must be a portlet type presentation, therefore you must have
already defined a portlet type presentation in the project.
Page| 32
Deployment Guide
The checkboxes on the Options tab will only be available if Help or Customization phases have been specified
within your project for the chosen process. Help and Customization phases are defined within the Process
Editor in the Developer IDE when the process is created. See the User Guide or Online Help for more information
on creating a process using the Temenos UXP Developer IDE.
9. Check the appropriate checkbox to allow the Help and/or Customization phase(s) to be displayed
as options on the portlet when the portlet is installed on a portal server.
Checking the Supports customization checkbox will cause the customization phase you have specified for your
process to be displayed when the user clicks the customize action button. This phase could display the para-
meters which the user is able to change in order to customize the portlet. For example, you may allow the user
to alter limits or logon settings which affect how the portlet behaves.
Checking the Supports help checkbox will cause the help phase you have specified for your process to be dis-
played when the user clicks the help button. The help phase could contain general help information relating to
the portlet.
A portlet.xml file, describing the portlet, is generated and saved in the WEB-INF directory of the project.
Page| 33
Deployment Guide
Deploy Online
Deploying your project online assumes your end-user is connected to the delivery network whilst using the
application.
To Deploy your Project Online
2. Select Deploy Project from the drop down menu The Deployment Wizard is displayed.
Page| 34
Deployment Guide
The first page summarizes the steps taken to deploy the project.
4. The second page summarizes the items the project is dependent on and their locations. Review
these items and use the editors to correct any errors before re-starting the project deployment.
Page| 35
Deployment Guide
The Application Name is the context name of the application and will default to the name of the ifp. You may
change this name to another value if required.
7. Click Select.
If you deploy to this location, the deployment file will continue to include project folders recursively and the
deployment process will not come to an end.
It is recommended that you create a single deployment folder which you use for all project deployments.
9. Click Open.
Check Allow Data Sets if you wish the deployed application to use data sets rather than the true integration
sources. This option should only be used when deploying a project during an EVA development phase for
review or feedback.
Other options which are available are shown in the table below.
Page| 36
Deployment Guide
A wait screen is displayed while the project is deployed. Click OK when the deployment has finished.
When the deployment is complete, the project will be available at the location specified in the deployment wiz-
ard. This is now ready for installation on your chosen application server.
If you cancel the deployment before it has finished and any field values have changed, you will have the oppor-
tunity to save the changes via a yes/no confirmation prompt.
Page| 37
Deployment Guide
Deploy Offline
Offline deployment allows your project to be used while the end-user is not connected to the delivery network.
The deployed project must then be distributed to your users in order for them to use it offline.
To Deploy your Project Offline
Before deploying your project offline, make sure that your project contains an offline presentation. This is
required to hide those features of a project which will not be available when offline.
2. Select Deploy Project Offline from the dropdown menu The Offline Deployment Wizard is dis-
played.
The first page summarizes the steps taken to deploy the project offline.
4. Specify the Application Name which will set the root folder name for the deployed application.
Page| 38
Deployment Guide
The Start Phase must be specified as you may not wish to deploy the whole of the process offline. Only the
phases which can be navigated to from the Start Phase specified will be generated as part of the offline deploy-
ment.
The Offline Presentation Name must be specified at this stage as the HTML which makes up the solution for off-
line deployment is generated at deployment time. This is not required in the online deployment process since
the presentation used will be determined at run time when the HTML for the online process is generated.
7. Click Select to choose the destination folder for the project deployment.
When the deployment is complete, the project will be available at the location specified in the deployment wiz-
ard. This is now ready for distribution to your users.
Page| 39
Deployment Guide
Page| 40
Deployment Guide
DEPLOY_SOLUTION_AND_LIBRARIES_FROM_DSF
This command deploys the named DSF file using the specified arguments or those saved in the DSF
DEPLOY_SOLUTION_AND_LIBRARIES_FROM_DSF <ide_location> <library_location> <dsf_file_name>
[<destination>] [<application_name>] [<include_std_jars>] [<exclude_xml_jars>] [<include_live_cms>]
[<build_war>][<domain_name>][<refresh_libraries>][<project_extension>]
If one of the optional [<arguments>] is not specified then the value used will be read from the DSF file
l ide_location – this is install location of the Temenos UXP IDE and is used to find Temenos UXP specific files
l dsf_file_name – is the name of the DSF file to read to create this deployment · destination – the location to
create the WAR or application files in.
l include_std_jars – is a yes/no to indicate whether to package the standard Temenos UXP JARs as part of
the deployment.
Page| 41
Deployment Guide
l exclude_xml_jars – is a yes/no to indicate whether to exclude the XML JARs from your deployment. This is
sometimes necessary if the Temenos UXP versions conflict with your application server.
l include_live_cms – is a yes/no to indicate whether to include CMS servlets in the resulting web.xml
l refresh_libraries – is a yes/no to indicate whether the system refreshes the solution's dependent com-
ponent in the dsf.
BULK_DEPLOY_SOLUTION_AND_LIBRARIES_FROM_DSF
Deploys the DSFs named in the input file using the specified arguments or those saved in the DSF
BULK_DEPLOY_SOLUTION_AND_LIBRARIES_FROM_DSF <ide_location> <library_location> <input_file> <base_
directory> [<destination>] [<include_ std_ jars>] [<exclude_ xml_ jars>] [<include_ live_ cms>] [<build_ war>]
[<domain_name>] [<refresh_libraries>][<project_extension>]
If one of the optional [<arguments>] is not specified then the value used will be read from the DSF file
l ide_location – this is install location of the Temenos UXP IDE and is used to find Temenos UXP specific files
l input_file – contains name and location of the DSF to create deployments for
l include_std_jars – is a yes/no to indicate whether to package the standard Temenos UXP JARs as part of
the deployment.
l exclude_xml_jars – is a yes/no to indicate whether to exclude the XML JARs from your deployment. This is
sometimes necessary if the Temenos UXP versions conflict with your application server.
l include_live_cms – is a yes/no to indicate whether to include CMS servlets in the resulting web.xml
l refresh_libraries – is a yes/no to indicate whether the system refreshes the solution's dependent com-
ponent in the dsf.
Page| 42
Deployment Guide
If a relative path specified is added to the base directory specified in the overall command Note that comments
can be added to the file using // at the start of the line.
DEPLOY_HYBRID_APP
Deploys the hybrid apps from the DSF file using the specified arguments or those saved in the DSF
DEPLOY_HYBRID_APP <ide_location> <deploy_root_location> <dsf_file_name> <build_server_address>
<build_server_port> <build_server_timeout> [<ios_profile>] [<android_profile>] [<windows_profile>]
[<app_destination_folder>] [<app_title>] [<app_version>] [<application_url>] [<update_servlet_url>]
[<deploy_app_version>] [<repository_location>]
If one of the optional [<arguments>] is not specified then the value used will be read from the DSF file
l ide_location – this is install location of the Temenos UXP IDE and is used to find Temenos UXP specific files
l deploy_root_location – the location for where deployments are created, in-case $$DEPLOY_HOME$ is used
for relative paths in the DSF
l build_server_timeout – the timeout in seconds to wait for a response from the Temenos UXP Jenkins build
server
l application_url – the URL for the Temenos UXP web application, including the context part (the default con-
text is ‘/servletcontroller’). Format: http(s)://<ip>:<port>/<context>/<servlet controller name> (e.g. http://-
localhost:8181/HybridApp/servletcontroller)
l update_servlet_url – the URL for the Update Servlet. Format: http (s)://<ip>:<port>/<context>/<mobile
update link> (e.g. http://localhost:8181/HybridApp/mobileUpdate)
Page| 43
Deployment Guide
l deploy_app_version – the deployment version used to work out the file difference between this and the
previous version
l repository_location – the location to store the file difference; this is used to create a private GIT based
repository
Page| 44
Deployment Guide
Appendix
Ant Script Examples
Creating deployments for multiple projects
<!-- ============================================= -->
<arg value="BULK_DEPLOY_SOLUTION_AND_LIBRARIES_FROM_DSF"/>
<classpath>
<pathelement path="${ecRunLib}"/>
</classpath>
</java>
</target>
Page| 45
Deployment Guide
<arg value="DEPLOY_HYBRID_APP"/>
<arg value="${ECDirectory}/IDE"/>
<arg value="${DeploymentsDirName}"/>
<arg value="${DsfFileName}"/>
<arg value="${JenkinsAddress}"/>
<arg value="${JenkinsPort}"/>
<arg value="${JenkinsTimeout}"/>
<arg value="${IOSProfile}"/>
<arg value="${AndroidProfile}"/>
<arg value="${WindowsProfile}"/>
<arg value="${HybridRepository}"/>
<arg value="${AppName}"/>
<arg value="${BuildInfo}"/>
<arg value="${ApplicationURL}"/>
<arg value="${UpdateServerURL}"/>
<arg value="${DeployAppVersion}"/>
<arg value="${DeploymentRepository}"/>
<classpath>
<pathelement path="${ecRunLib}"/>
</classpath>
</java>
</target>
Page| 46