psm jcs applied-patches

Use this command to list all applied patches to an Oracle Java Cloud Service instance.

Syntax

In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.

psm jcs applied-patches -s|--service-name serviceName  
    [-of|--output-filter json|html|short]  

Parameters

All parameters are required unless otherwise noted.

Parameter Description
-s|--service-name serviceName Name of the Oracle Java Cloud Service instance.
-of|--output-format json|html|short (Optional) Output format of the command’s response:

Accepted values: json, html, short

The default output format is the one you specified when using the psm setup command to configure the psm CLI.

Example

$ psm jcs applied-patches -s ExampleInstance -f patchCategory=general,patchType!=security -of json
[
    {
        "additionalNote":"Patch-cli-test",
        "appliedBy":"weblogic",
        "appliedDate":"Apr 28, 2016 5:39:41 PM",
        "backupId":"1461865468064",
        "backupStatus":"Available",
        "componentPatches":{
            "WLS":{
                "expectedAppliedPatches":"opatch:22331568,19030178,19154304,19795066,18905788,19632480,19002423",
                "id":77,
                "preserveFiles":[],
                "releaseVersion":"12.2.1.0.160219",
                "version":"12.2.1.0.160219",
                "zipBundles":{
                    "WLS":{
                        "id":77,
                        "md5sum":"7c9e6f3fe79e11b41ddadeee9431430e",
                        "provisioningObjectRef":"FMW/12.2.1.0.160119/160106/fmiddleware.zip",
                        "storageKey":"PATCH/WLS/Patch_12.2.1.0.160119",
                        "zipVersion":"12.2.1.0.160219"
                    }
                }
            }
        },
.
.
.
        ],
        "releaseDate":"Jan 19, 2016 1:40:00 AM",
        "resultMessage":"Completed",
        "rollbackId":"1",
        "rollbackVersion":"WLS 12.2.1.0.160119",
        "toVersion":"12.2.1.0.160219",
        "totalTime":"15 min, 57 sec"
    }
]
.