REST API can create object with lowercase names
search cancel

REST API can create object with lowercase names

book

Article ID: 145498

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

REST API can create objects with lowercase names

The object can be rename after creation but when it is removed with DB Unload before changing the name this leads to an error.


An example of the POST request that causes this (lowercase characters in bold):

http://<AE>:<JCP_port>/ae/api/v1/<client>/objects

JSON content:
{
  "path": "MAINFOLDER/SUBFOLDER/",
  "data": {
        "usrg": {
            "metadata": {
                "version": "12.2.2"
            },
            "general_attributes": {
                "minimum_ae_version": "11.2",
                "child_flags": "00000000000000000000000000000000",
                "last_runtimes": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                "name": "USRG.my.usrg",
                "type": "USRG",
                "versioning_id": " "
            },
            "user_group_attributes": {
                "privileges": "17286974797311"
            },
            "authorizations": {
                "auth_group": "1",
                "bitcode": "255",
                "filter_object_type": "*",
                "filter_object_name": "*",
                "filter_agent_name1": "*",
                "filter_agent_name2": "*",
                "filter_user_id1": "*",
                "filter_user_id2": "*",
                "filter_file_names1": "*",
                "filter_file_names2": "*",
                "line_number": "1"
            }
        }
    }
}
 
 

Environment

Release : 12.2

Component : AUTOMATION ENGINE

Resolution

Workaround: Rename the object so it only used uppercase


Solution:

Update to a fix version listed below or a newer version if available.


Fix version:

Component(s): Automation Engine

Automation.Engine 12.4.0 - Planned release September 2020
Automation.Engine 12.2.5 - Available
Automation.Engine 12.3.2 - Available