Prerequisite steps to create OSLC Automation and OSLC Provisioning jobs
How to define a new OSLC Automation and OSLC Provisioning job definition by using the Dynamic Workload Console.
About this task
To create an OSLC Automation or OSLC Provisioning job definition, you must first complete the prerequisite steps listed hereafter.
For more information about creating OSLC Automation and OSLC Provisioning job definitions, see Job definition - OSLC Provisioning and Job definition - OSLC Automation.
Procedure
- Obtain the Registry Services server certificate
and save it in a directory that you will later use. Registry Services administrator can provide the certificate, or, with Firefox browser, for example, you can retrieve the certificate performing the following steps:
- Browse to the directory where a JRE is installed, for example: C:\Program Files\HCL\TWA_<TWS_user>\TWS\JavaExt\jre\jre\bin
- Create a new truststore by launching the following
command:
keytool -genkeypair -alias certificatekey -keyalg RSA -validity 7 -keystore trustore_directory\keystore.jks
Note: Ensure that thetrustore_directory
is not created in thejavaExt\JRE
path. -
Add the HCL
Registry Services certificate to the truststore by launching
the following command:
keytool -import -file certificate_directory\certificate_name -alias oslc -keystore trustore_directory\keystore.jks
- Open the
TWA_HOME\TWS\ITA\cpa\config\JobManager.ini
file, and locateJavaJobLauncher
section,JVMOptions
row. -
Add the following instructions to the row:
"-Djavax.net.ssl.trustStore=DIRECTORY_TRUSTSTORE/keystore.jks -Djavax.net.ssl.trustStorePassword=TRUSTSTORE_PASSWORD".
For example:JVMOptions = -Djavax.net.ssl.trustStore=C:/myUtils/keystore.jks -Djavax.net.ssl.trustStorePassword=passw0rd
- Stop and restart the agent.
-
Create the
OSLCAutomation.properties
andOSLCProvisioning.properties
files, respectively for the OSLC Automation and OSLC Provisioning jobs, and locate them in<TWA_Home>/TWS/JavaExt/cfg/
.Specify the service provider catalogs (or Registry Services) that you will later use to create the job in the following format:
ServiceProviderCatalogName=RegistryServicesURI
- Close and restart the WebSphere Application Server on the master domain manager and on Jazz for Service Management.