psm analytics applied-patches

Use this command to list all patches applied to a service created with Oracle Analytics Cloud - Classic.

Syntax

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

psm analytics applied-patches -s|--service-name serviceName  
  [-f|--filter filter1=filterName,filter2=filterName]
  [-of|--output-format json|html|short]  

Parameters

All parameters are required unless otherwise noted.

Parameter Description
-s|--service-name Specifies the name of the service.
-f|--filter (Optional) String used to filter the results. Valid operatives are : =, !=, >=, and <=. For example, to filter the results on a specific patch category and type, set the filter as follows : patchCategory=general,patchType!=security.

Default: null

-of|--output-format (Optional) Output format of the command’s response:
  • json—output is formatted as a JSON array.

  • html—output is formatted as HTML

  • short—output is formatted as a brief summary.

Example

$ psm analytics applied-patches -s exampleService -f patchCategory=general,patchType!=security
[
    {
        "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":"OAC/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"
    }
]