List the software services templates
You can use this operation to list the software services templates that are defined in the catalog.
HTTP method and URI path
GET /zosmf/provisioning/rest/<version>/scc
In this request, the URI path variable <version> identifies the version of the z/OSMF software services template service. The following value is valid: 1.0.
Query parameters
- name
- Optional, regular expression, specifies the external name of the software services template.
- owner
- Optional, specifies the user ID or group ID that identifies the owner of the software services template.
- software-type
- Optional, specifies the type of software being provisioned.
- domain-name
- Optional, specifies the domain name.
- state
- Optional, regular expression, specifies the state.
Description
This operation list the software services templates in the catalog.
On successful completion, HTTP status code 200 (OK) is returned, indicating that the request resulted in a list of software services templates being retrieved. A response body is provided, as described in Response content.
Request content
None.
Authorization requirements
The user's z/OS user ID must be defined as a landlord, domain administrator, domain approver, or template approver.
The user’s z/OS user ID must have READ access to the following resource profile in the ZMFAPLA class: <SAF-prefix>.ZOSMF.PROVISIONING.SOFTWARE_SERVICES.
HTTP status codes
On successful completion, HTTP status code 200 (OK) is returned.
Response content
On successful completion, the service returns a response body, which contains a JSON object with details about the software services templates. See Table 1, Table 2.
Field | Type | Description |
---|---|---|
scc-list | Array of objects | Array of software services template objects. The array is filter based on any query parameters that were provided. |
Field | Type | Description |
---|---|---|
generated-name | String | The generated name for the software services template. |
object-id | String | The unique ID that identifies the software services template. |
base-object-id | String | The object ID that is associated with all of the versions of the software services template. |
name | String | Descriptive name for the software services template. |
version | String | Version of the software services template. |
owner | String | User ID of the software services template owner. |
state | String | Indicates the status of the software services template:
|
description | String | Description of the software services template. |
action-definition-file | String | Location of the action definition file, a file in XML format that defines the actions for the software services instance provisioned from the template. |
software-id | String | A short, arbitrary value that identifies the software that is being provisioned. |
software-name | String | Name of the software that is being provisioned. |
software-type | String | Identifies the type of software that is being provisioned. |
software-version | String | Version of the software that is being provisioned. |
workflow-definition-file | String | Location of the workflow definition file, the primary XML file that defines the workflow. |
workflow-id | String | Workflow ID. A short, arbitrary value that identifies the workflow. |
workflow-vendor | String | Name of the vendor that provided the workflow definition file. |
workflow-version | String | Version of the workflow definition file. |
workflow-variable-input-file | String | Location of the workflow variable input file, an optional properties file used to specify in advance the values for one or more of the variables that are defined in the workflow definition file. |
domain-name | String | The name of the domain that the template resides in. |
create-time | String | The time that this object was created, in ISO 8601 format. |
created-by-user | String | The user that created this object. |
last-modified-time | String | The last time this object was updated, in ISO 8601 format. |
last-modified-by-user | String | The user that last updated this object. |
Example HTTP interaction
GET https://localhost:4444/zosmf/provisioning/rest/1.0/scc/
The following is the response body for the request.
{
"scc-list": [
{
"name": "mqCBA",
"version": "1",
"owner": "domadmin",
"state": "published",
"description": "This workflow provisions an MQ for z/OS Queue Manager",
"generated-name": "mqCBA.1.default",
"object-id": "5b0c3367-b856-4727-99ac-f9a79c9abf28",
"base-object-id": "c0e4d08f-f046-4a79-8a15-6981743d07ed",
"domain-name": "default",
"action-definition-file": "definition/qmgrActions.xml",
"software-id": "5655-W97",
"software-name": "IBM MQ for z/OS",
"software-type": "QMgr",
"software-version": "V8.0.0",
"workflow-definition-file": "definition/provision.xml",
"workflow-id": "ProvisionQueueManager",
"workflow-vendor": "IBM",
"workflow-version": "1.0.1",
"workflow-variable-input-file": "definition/workflow_variables.properties",
"create-time": "2016-11-18T20:00:43.504Z",
"created-by-user": "domadmin",
"last-modified-by-user": "domadmin",
"last-modified-time": "2016-11-18T20:28:43.951Z"
}
]
}