POJO job template updates in WCC
search cancel

POJO job template updates in WCC

book

Article ID: 377330

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

After a POJO job template is imported, when you try to use it if any attributes are blank they are removed.  Since the POJO job type has positional parameters the job definition then becomes invalid.


job_type: POJO 
description: "This is a description"
method_name: monitorJob
j2ee_parameter: String=EndPoint
j2ee_parameter: String="Authentication Endpoint"
j2ee_parameter: String="ClientId"
j2ee_parameter: String="ClientSecret"
j2ee_parameter: String="Job Name"
j2ee_parameter: String="Namespace"
j2ee_parameter: String="SCM Endpoint"
j2ee_parameter: String="SCM User"
j2ee_parameter: String="SCM Password"
j2ee_parameter: String=""
j2ee_parameter: String=""
j2ee_parameter: String=""
j2ee_parameter: String=""
j2ee_parameter: String=""
j2ee_parameter: String=""
j2ee_parameter: boolean=true
j2ee_parameter: Integer=16
j2ee_parameter: int=1
class_name: com.ca.cloud.oc.OpenShift

would become


job_type: POJO 
description: "This is a description"
method_name: monitorJob
j2ee_parameter: String=EndPoint
j2ee_parameter: String="Authentication Endpoint"
j2ee_parameter: String="ClientId"
j2ee_parameter: String="ClientSecret"
j2ee_parameter: String="Job Name"
j2ee_parameter: String="Namespace"
j2ee_parameter: String="SCM Endpoint"
j2ee_parameter: String="SCM User"
j2ee_parameter: String="SCM Password"
j2ee_parameter: boolean=true
j2ee_parameter: Integer=16
j2ee_parameter: int=1
class_name: com.ca.cloud.oc.OpenShift

Resolution

Issues with POJO job template updates via Web UI removing blank entries will be fixed in v24