{
    "securityResourceId": "b892fbe7-f675-40c0-8ea0-67bcaac640f5",
    "path": "componentTemplates\/d4cbeb10-f965-4bcd-a09b-f6b0f0a9c3d5",
    "name": "WebSphere Enterprise Application",
    "description": "",
    "active": true,
    "envPropDefs": [],
    "propDefs": [
        {
            "name": "appEditDesc",
            "label": "Application Edition Description",
            "pattern": "",
            "type": "TEXT",
            "required": false,
            "description": "The description of the edition of the application in WebSphere."
        },
        {
            "name": "appedition",
            "label": "Application Edition",
            "pattern": "",
            "type": "TEXT",
            "required": false,
            "description": "The edition of the application in WebSphere. We recommend using the component version name(${p:version.name})"
        },
        {
            "name": "appName",
            "label": "Application Name",
            "pattern": "",
            "type": "TEXT",
            "required": true,
            "description": "The name of the application in WebSphere"
        },
        {
            "name": "roleMappings",
            "label": "Role To User Mappings",
            "pattern": "",
            "type": "TEXTAREA",
            "required": false,
            "description": "The role mappings to be updated. Newline separated list of format roleName->Allow Access To everyone(yes|no)->Allow Access To authenticated users(yes|no)->user1|user2->group1|group2. You can obtain this information for you application by using wsadmin print AdminApp.taskInfo('EarFileLocation', 'MapRolesToUsers')"
        },
        {
            "name": "resourceMappings",
            "label": "Resource To EJB Mappings",
            "pattern": "",
            "type": "TEXTAREA",
            "required": false,
            "description": "The resource references to be updated. Newline separated list of format moduleName->bean->uri->resourceReference->resourceType->targetJNDIName. You can obtain this information for you application by using wsadmin print AdminApp.taskInfo('EarFileLocation', 'MapResRefToEJB')"
        },
        {
            "name": "earFile",
            "label": "Ear File",
            "pattern": "",
            "type": "TEXT",
            "required": true,
            "description": "The EAR file for this applicaiton"
        },
        {
            "name": "appType",
            "label": "Application Type",
            "pattern": "",
            "type": "TEXT",
            "value": "Application",
            "required": true,
            "description": ""
        }
    ],
    "properties": [],
    "processes": [
        {
            "name": "Add Target To Module",
            "description": "",
            "defaultWorkingDir": "${p:resource\/work.dir}\/${p:component.name}",
            "takesVersion": true,
            "inventoryActionType": "ADD",
            "status": "Active",
            "configActionType": "ADD",
            "active": true,
            "path": "componentTemplates\/d4cbeb10-f965-4bcd-a09b-f6b0f0a9c3d5\/processes\/c4df117d-05ae-4cce-8212-5bb6a04960a4",
            "propDefs": [],
            "rootActivity": {
                "edges": [
                    {
                        "to": "21417bd2ee09e989c688e159bcc9a7",
                        "from": "Add Target To Module",
                        "type": "SUCCESS",
                        "value": ""
                    },
                    {
                        "to": "Add Target To Module",
                        "type": "ALWAYS",
                        "value": ""
                    }
                ],
                "offsets": [
                    {
                        "name": "21417bd2ee09e989c688e159bcc9a7",
                        "x": 0,
                        "y": 330,
                        "h": 40,
                        "w": 80
                    },
                    {
                        "name": "Add Target To Module",
                        "x": -75,
                        "y": 90,
                        "h": 60,
                        "w": 230
                    }
                ],
                "type": "graph",
                "name": "f127e6f1-8b6c-40d6-8276-d9f8209c2527",
                "children": [
                    {
                        "type": "finish",
                        "name": "21417bd2ee09e989c688e159bcc9a7",
                        "children": []
                    },
                    {
                        "allowFailure": false,
                        "useImpersonation": false,
                        "showHidden": false,
                        "impersonationUseSudo": false,
                        "commandName": "Add Target To Module",
                        "pluginName": "WAS - Deploy",
                        "pluginVersion": 74,
                        "properties": {
                            "appName": "${p:appName}",
                            "moduleURI": "${p:resource\/moduleURI}",
                            "appEdition": "${p?:appedition}",
                            "batch": "false",
                            "scriptFile": "${p:request.id}.py",
                            "cell": "${p?:resource\/websphere.cell}",
                            "node": "${p?:resource\/websphere.node}",
                            "server": "${p?:resource\/websphere.server}",
                            "cluster": "${p?:resource\/websphere.cluster}",
                            "commandPath": "${p?:resource\/websphere.commandPath}",
                            "user": "${p?:resource\/websphere.user}",
                            "password": "pbe{QGCmTDhNiVbqU1p6MFCtW+OAvgyBTcM0/x+X8tEklJiHltH1AGUJHjXLpIPJnq4smSUvLWfTUVE=}",
                            "host": "${p?:resource\/websphere.host}",
                            "port": "${p?:resource\/websphere.port}",
                            "connType": "${p?:resource\/websphere.connType}",
                            "additionalArgs": ""
                        },
                        "type": "plugin",
                        "name": "Add Target To Module",
                        "children": []
                    }
                ]
            }
        },
        {
            "name": "Clear Target Mappings For Application",
            "description": "",
            "defaultWorkingDir": "${p:resource\/work.dir}\/${p:component.name}",
            "takesVersion": false,
            "status": "",
            "active": true,
            "path": "componentTemplates\/d4cbeb10-f965-4bcd-a09b-f6b0f0a9c3d5\/processes\/5871ee2b-086d-43a6-bdbe-8f1e4fa06758",
            "propDefs": [],
            "rootActivity": {
                "edges": [
                    {
                        "to": "Clear Target Mappings For Application",
                        "type": "ALWAYS",
                        "value": ""
                    },
                    {
                        "to": "48c86b8b6b4b581e37473a94369665",
                        "from": "Clear Target Mappings For Application",
                        "type": "SUCCESS",
                        "value": ""
                    }
                ],
                "offsets": [
                    {
                        "name": "Clear Target Mappings For Application",
                        "x": -120,
                        "y": 100,
                        "h": 60,
                        "w": 320
                    },
                    {
                        "name": "48c86b8b6b4b581e37473a94369665",
                        "x": 0,
                        "y": 240,
                        "h": 40,
                        "w": 80
                    }
                ],
                "type": "graph",
                "name": "359b6220-8344-444a-b406-9f2795f93241",
                "children": [
                    {
                        "type": "finish",
                        "name": "48c86b8b6b4b581e37473a94369665",
                        "children": []
                    },
                    {
                        "allowFailure": false,
                        "useImpersonation": false,
                        "showHidden": false,
                        "impersonationUseSudo": false,
                        "commandName": "Clear Target Mappings For Application",
                        "pluginName": "WAS - Deploy",
                        "pluginVersion": 74,
                        "properties": {
                            "appName": "${p:appName}",
                            "appEdition": "${p?:appedition}",
                            "batch": "false",
                            "scriptFile": "${p:request.id}.py",
                            "cell": "${p?:resource\/websphere.cell}",
                            "node": "${p?:resource\/websphere.node}",
                            "server": "${p?:resource\/websphere.server}",
                            "cluster": "${p?:resource\/websphere.cluster}",
                            "commandPath": "${p?:resource\/websphere.commandPath}",
                            "user": "${p?:resource\/websphere.user}",
                            "password": "pbe{YEuSad9ylk4/WBJy0GZZberbhXY5Nkl8vwDtBJlBzOVKSJNgC3kArqLtfdFfPmk4LrpbVg0xHZ4=}",
                            "host": "${p?:resource\/websphere.host}",
                            "port": "${p?:resource\/websphere.port}",
                            "connType": "${p?:resource\/websphere.connType}",
                            "additionalArgs": ""
                        },
                        "type": "plugin",
                        "name": "Clear Target Mappings For Application",
                        "children": []
                    }
                ]
            }
        },
        {
            "name": "Deploy EAR With User\/Group Mappings, Resource Mappings",
            "description": "Deploy EAR With User\/Group Mappings, Resource Mappings",
            "defaultWorkingDir": "${p:resource\/work.dir}\/${p:component.name}",
            "takesVersion": true,
            "inventoryActionType": "ADD",
            "status": "Active",
            "configActionType": "ADD",
            "active": true,
            "path": "componentTemplates\/d4cbeb10-f965-4bcd-a09b-f6b0f0a9c3d5\/processes\/2bf5ce47-b79f-4a2f-93f4-1850000db3fe",
            "propDefs": [],
            "rootActivity": {
                "edges": [
                    {
                        "to": "Download Artifacts",
                        "type": "ALWAYS",
                        "value": ""
                    },
                    {
                        "to": "Is App Installed",
                        "from": "Check Application is Installed",
                        "type": "SUCCESS",
                        "value": ""
                    },
                    {
                        "to": "Check For User Group Mappings",
                        "from": "Check For Resource Mappings",
                        "type": "VALUE",
                        "value": ""
                    },
                    {
                        "to": "Stop Application",
                        "from": "Check Application is not running",
                        "type": "FAILURE",
                        "value": ""
                    },
                    {
                        "to": "Map Resource References to EJB for Application",
                        "from": "Check For Resource Mappings",
                        "type": "VALUE",
                        "value": "(?m)((\\s+)?[^\\s]+(\\s+)?)+"
                    },
                    {
                        "to": "Uninstall Application",
                        "from": "Stop Application",
                        "type": "SUCCESS",
                        "value": ""
                    },
                    {
                        "to": "92d5e21439d5d6dbac6c6679584010",
                        "from": "Wait for Application",
                        "type": "SUCCESS",
                        "value": ""
                    },
                    {
                        "to": "Install Application",
                        "from": "Is App Installed",
                        "type": "VALUE",
                        "value": "false"
                    },
                    {
                        "to": "Check For Resource Mappings",
                        "from": "Install Application",
                        "type": "SUCCESS",
                        "value": ""
                    },
                    {
                        "to": "Check For User Group Mappings",
                        "from": "Map Resource References to EJB for Application",
                        "type": "SUCCESS",
                        "value": ""
                    },
                    {
                        "to": "Install Application",
                        "from": "Uninstall Application",
                        "type": "SUCCESS",
                        "value": ""
                    },
                    {
                        "to": "Check Application is not running",
                        "from": "Is App Installed",
                        "type": "VALUE",
                        "value": "true"
                    },
                    {
                        "to": "Map Users And Groups to Roles for Application",
                        "from": "Check For User Group Mappings",
                        "type": "VALUE",
                        "value": "(?m)((\\s+)?[^\\s]+(\\s+)?)+"
                    },
                    {
                        "to": "Wait for Application",
                        "from": "Check For User Group Mappings",
                        "type": "VALUE",
                        "value": ""
                    },
                    {
                        "to": "Uninstall Application",
                        "from": "Check Application is not running",
                        "type": "ALWAYS",
                        "value": ""
                    },
                    {
                        "to": "Check Application is Installed",
                        "from": "Download Artifacts",
                        "type": "SUCCESS",
                        "value": ""
                    },
                    {
                        "to": "Wait for Application",
                        "from": "Map Users And Groups to Roles for Application",
                        "type": "SUCCESS",
                        "value": ""
                    }
                ],
                "offsets": [
                    {
                        "name": "Install Application",
                        "x": -188.5,
                        "y": 400,
                        "h": 60,
                        "w": 200
                    },
                    {
                        "name": "Check Application is not running",
                        "x": 271.5,
                        "y": 180,
                        "h": 60,
                        "w": 280
                    },
                    {
                        "name": "Uninstall Application",
                        "x": 111.5,
                        "y": 320,
                        "h": 60,
                        "w": 220
                    },
                    {
                        "name": "Check Application is Installed",
                        "x": -95,
                        "y": 140,
                        "h": 60,
                        "w": 270
                    },
                    {
                        "name": "Wait for Application",
                        "x": 11.5,
                        "y": 770,
                        "h": 60,
                        "w": 220
                    },
                    {
                        "name": "92d5e21439d5d6dbac6c6679584010",
                        "x": 0,
                        "y": 1010,
                        "h": 40,
                        "w": 80
                    },
                    {
                        "name": "Download Artifacts",
                        "x": -70,
                        "y": 60,
                        "h": 60,
                        "w": 220
                    },
                    {
                        "name": "Map Users And Groups to Roles for Application",
                        "x": -465,
                        "y": 770,
                        "h": 60,
                        "w": 370
                    },
                    {
                        "name": "Check For User Group Mappings",
                        "x": 6.5,
                        "y": 668,
                        "h": 60,
                        "w": 250
                    },
                    {
                        "name": "Stop Application",
                        "x": 411.5,
                        "y": 270,
                        "h": 60,
                        "w": 200
                    },
                    {
                        "name": "Map Resource References to EJB for Application",
                        "x": -465,
                        "y": 642,
                        "h": 60,
                        "w": 370
                    },
                    {
                        "name": "Is App Installed",
                        "x": -160,
                        "y": 240,
                        "h": 60,
                        "w": 320
                    },
                    {
                        "name": "Check For Resource Mappings",
                        "x": -208.5,
                        "y": 510,
                        "h": 60,
                        "w": 240
                    }
                ],
                "type": "graph",
                "name": "6e816a27-5fe8-4bdf-8c21-7bea62fdd490",
                "children": [
                    {
                        "type": "finish",
                        "name": "92d5e21439d5d6dbac6c6679584010",
                        "children": []
                    },
                    {
                        "allowFailure": false,
                        "useImpersonation": false,
                        "showHidden": false,
                        "impersonationUseSudo": false,
                        "commandName": "Check Application is Installed",
                        "pluginName": "WAS - Deploy",
                        "pluginVersion": 74,
                        "properties": {
                            "appName": "${p:appName}",
                            "appEdition": "${p?:appedition}",
                            "commandPath": "${p?:resource\/websphere.commandPath}",
                            "user": "${p?:resource\/websphere.user}",
                            "password": "pbe{tl+XSwV0cXZmYR1iRFN6cCOQgB+9PRQQzqejxpnQQAR1XW2piS5ZATTBn8icdQvuGMYgrdHNNPw=}",
                            "host": "${p?:resource\/websphere.host}",
                            "port": "${p?:resource\/websphere.port}",
                            "connType": "${p?:resource\/websphere.connType}"
                        },
                        "type": "plugin",
                        "name": "Check Application is Installed",
                        "children": []
                    },
                    {
                        "allowFailure": false,
                        "useImpersonation": false,
                        "showHidden": false,
                        "impersonationUseSudo": false,
                        "commandName": "Install Application",
                        "pluginName": "WAS - Deploy",
                        "pluginVersion": 74,
                        "properties": {
                            "context": "",
                            "location": "${p:earFile}",
                            "appName": "${p:appName}",
                            "appEdition": "${p?:appedition}",
                            "editDesc": "${p?:appEditDesc}",
                            "path": "",
                            "argString": "",
                            "batch":"false",
                            "scriptFile":"${p:request.id}.py",
                            "cell": "${p?:resource\/websphere.cell}",
                            "node": "${p?:resource\/websphere.node}",
                            "server": "${p?:resource\/websphere.server}",
                            "cluster": "${p?:resource\/websphere.cluster}",
                            "commandPath": "${p?:resource\/websphere.commandPath}",
                            "user": "${p?:resource\/websphere.user}",
                            "password": "pbe{xWaibhZJ6GzbZ21oiWsTaQhJEKd9RHbA92rwGbNuymxpCILEthcasNT2XRZlXiAhZLN/Sj5MJQo=}",
                            "host": "${p?:resource\/websphere.host}",
                            "port": "${p?:resource\/websphere.port}",
                            "connType": "${p?:resource\/websphere.connType}",
                            "additionalArgs": ""
                        },
                        "type": "plugin",
                        "name": "Install Application",
                        "children": []
                    },
                    {
                        "allowFailure": false,
                        "useImpersonation": false,
                        "showHidden": false,
                        "impersonationUseSudo": false,
                        "commandName": "Check Application is not running",
                        "pluginName": "WAS - Deploy",
                        "pluginVersion": 74,
                        "properties": {
                            "appName": "${p:appName}",
                            "appEdition": "${p?:appedition}",
                            "appType": "${p:appType}",
                            "deleteTempFileOnFailure": "true",
                            "cell": "${p?:resource\/websphere.cell}",
                            "node": "${p?:resource\/websphere.node}",
                            "server": "${p?:resource\/websphere.server}",
                            "cluster": "${p?:resource\/websphere.cluster}",
                            "commandPath": "${p?:resource\/websphere.commandPath}",
                            "user": "${p?:resource\/websphere.user}",
                            "password": "pbe{sGjRSz9JHmL1UGh1GGQNWI0VhObLKkkdgqwbzWdL9D5kvqUZY6+C8zq7gT0Belfk+e1AmE8W8XQ=}",
                            "host": "${p?:resource\/websphere.host}",
                            "port": "${p?:resource\/websphere.port}",
                            "connType": "${p?:resource\/websphere.connType}",
                            "additionalArgs": ""
                        },
                        "type": "plugin",
                        "name": "Check Application is not running",
                        "children": []
                    },
                    {
                        "allowFailure": false,
                        "useImpersonation": false,
                        "showHidden": false,
                        "impersonationUseSudo": false,
                        "commandName": "Uninstall Application",
                        "pluginName": "WAS - Deploy",
                        "pluginVersion": 74,
                        "properties": {
                            "appName": "${p:appName}",
                            "appEdition": "${p?:appedition}",
                            "scriptFile": "${p:request.id}.py}",
                            "batch": "false",
                            "cell": "${p?:resource\/websphere.cell}",
                            "node": "${p?:resource\/websphere.node}",
                            "server": "${p?:resource\/websphere.server}",
                            "cluster": "${p?:resource\/websphere.cluster}",
                            "commandPath": "${p?:resource\/websphere.commandPath}",
                            "user": "${p?:resource\/websphere.user}",
                            "password": "pbe{8kyWdRZoilrQaS9cb1osdpgDpzadJxbsNwXIjP1XqeVrugPgD1p9PrC7BgBPhKnm4++dj2Hj7Sg=}",
                            "host": "${p?:resource\/websphere.host}",
                            "port": "${p?:resource\/websphere.port}",
                            "connType": "${p?:resource\/websphere.connType}",
                            "additionalArgs": ""
                        },
                        "type": "plugin",
                        "name": "Uninstall Application",
                        "children": []
                    },
                    {
                        "allowFailure": false,
                        "useImpersonation": false,
                        "showHidden": false,
                        "impersonationUseSudo": false,
                        "commandName": "Stop Application",
                        "pluginName": "WAS - Deploy",
                        "pluginVersion": 74,
                        "properties": {
                            "appName": "${p:appName}",
                            "appEdition": "${p?:appedition}",
                            "batch": "false",
                            "scriptFile": "${p:request.id}.py",
                            "cell": "${p?:resource\/websphere.cell}",
                            "node": "${p?:resource\/websphere.node}",
                            "server": "${p?:resource\/websphere.server}",
                            "cluster": "${p?:resource\/websphere.cluster}",
                            "commandPath": "${p?:resource\/websphere.commandPath}",
                            "user": "${p?:resource\/websphere.user}",
                            "password": "pbe{yWSVVq5cJVMEUG9mnXDqcORBroxrW9Qv+xu2iwkZXuIfyXzjzv5pBHPYYWKPGU7WKFpSmZE+VXI=}",
                            "host": "${p?:resource\/websphere.host}",
                            "port": "${p?:resource\/websphere.port}",
                            "connType": "${p?:resource\/websphere.connType}"
                        },
                        "type": "plugin",
                        "name": "Stop Application",
                        "children": []
                    },
                    {
                        "propertyName": "resourceMappings",
                        "type": "switch",
                        "name": "Check For Resource Mappings",
                        "children": []
                    },
                    {
                        "allowFailure": false,
                        "useImpersonation": false,
                        "showHidden": false,
                        "impersonationUseSudo": false,
                        "commandName": "Map Resource References to EJB for Application",
                        "pluginName": "WAS - Deploy",
                        "pluginVersion": 74,
                        "properties": {
                            "appName": "${p:appName}",
                            "appEdition": "${p?:appedition}",
                            "resourceReferences": "${p:resourceMappings}",
                            "batch": "false",
                            "scriptFile": "${p:request.id}.py",
                            "cell": "${p?:resource\/websphere.cell}",
                            "node": "${p?:resource\/websphere.node}",
                            "server": "${p?:resource\/websphere.server}",
                            "cluster": "${p?:resource\/websphere.cluster}",
                            "commandPath": "${p?:resource\/websphere.commandPath}",
                            "user": "${p?:resource\/websphere.user}",
                            "password": "pbe{9VwiTkFk9GLrUTZ2InY9ZlL9lugrDI6OtxdeSo/alKNipOBSGrpEpMbWkEoJWXhtjbli45S4V2A=}",
                            "host": "${p?:resource\/websphere.host}",
                            "port": "${p?:resource\/websphere.port}",
                            "connType": "${p?:resource\/websphere.connType}",
                            "additionalArgs": ""
                        },
                        "type": "plugin",
                        "name": "Map Resource References to EJB for Application",
                        "children": []
                    },
                    {
                        "propertyName": "roleMappings",
                        "type": "switch",
                        "name": "Check For User Group Mappings",
                        "children": []
                    },
                    {
                        "allowFailure": false,
                        "useImpersonation": false,
                        "showHidden": false,
                        "impersonationUseSudo": false,
                        "commandName": "Map Users And Groups to Roles for Application",
                        "pluginName": "WAS - Deploy",
                        "pluginVersion": 74,
                        "properties": {
                            "appName": "${p:appName}",
                            "appEdition": "${p?:appedition}",
                            "roleMappings": "${p:roleMappings}",
                            "batch": "false",
                            "scriptFile": "${p:request.id}.py",
                            "cell": "${p?:resource\/websphere.cell}",
                            "node": "${p?:resource\/websphere.node}",
                            "server": "${p?:resource\/websphere.server}",
                            "cluster": "${p?:resource\/websphere.cluster}",
                            "commandPath": "${p?:resource\/websphere.commandPath}",
                            "user": "${p?:resource\/websphere.user}",
                            "password": "pbe{amiTSidOuHI8cB5U0kmoXA+qXRY+JKfPbivuOafsbob4qFmaI23dwP6EMiS3E4lYuEJSaPEeQrE=}",
                            "host": "${p?:resource\/websphere.host}",
                            "port": "${p?:resource\/websphere.port}",
                            "connType": "${p?:resource\/websphere.connType}",
                            "additionalArgs": ""
                        },
                        "type": "plugin",
                        "name": "Map Users And Groups to Roles for Application",
                        "children": []
                    },
                    {
                        "allowFailure": false,
                        "useImpersonation": false,
                        "showHidden": false,
                        "impersonationUseSudo": false,
                        "commandName": "Wait for Application",
                        "pluginName": "WAS - Deploy",
                        "pluginVersion": 74,
                        "properties": {
                            "appName": "${p:appName}",
                            "appEdition": "${p?:appedition}",
                            "timeout": "300",
                            "interval": "10",
                            "deleteTempFileOnFailure": "true",
                            "cell": "${p?:resource\/websphere.cell}",
                            "node": "${p?:resource\/websphere.node}",
                            "server": "${p?:resource\/websphere.server}",
                            "cluster": "${p?:resource\/websphere.cluster}",
                            "commandPath": "${p?:resource\/websphere.commandPath}",
                            "user": "${p?:resource\/websphere.user}",
                            "password": "pbe{CnYpbE1gN2H5S9Vm4kqjaRrjao7TSkF2n5kvhNAbX0X1Sl/YAEqJA1KabkuNhjrAL38DTqDEwSQ=}",
                            "host": "${p?:resource\/websphere.host}",
                            "port": "${p?:resource\/websphere.port}",
                            "connType": "${p?:resource\/websphere.connType}",
                            "additionalArgs": ""
                        },
                        "type": "plugin",
                        "name": "Wait for Application",
                        "children": []
                    },
                    {
                        "propertyName": "Check Application is Installed\/installed",
                        "type": "switch",
                        "name": "Is App Installed",
                        "children": []
                    },
                    {
                        "allowFailure": false,
                        "useImpersonation": false,
                        "showHidden": false,
                        "impersonationUseSudo": false,
                        "commandName": "Download Artifacts",
                        "pluginName": "UrbanCode Deploy Versioned File Storage",
                        "pluginVersion": 30,
                        "properties": {
                            "directoryOffset": ".",
                            "artifactSetBaseDir": "",
                            "fileIncludePatterns": "**\/*",
                            "fileExcludePatterns": "",
                            "syncMode": "true",
                            "fullVerification": "true",
                            "setFileExecuteBits": "false",
                            "verifyFileIntegrity": "false",
                            "versionId": "${p:version.id}",
                            "serverUrl": "${p:server.url}",
                            "compId": "${p:component.id}",
                            "resId": "${p:resource.id}",
                            "charset": ""
                        },
                        "type": "plugin",
                        "name": "Download Artifacts",
                        "children": []
                    }
                ]
            }
        },
        {
            "name": "Start App",
            "description": "",
            "defaultWorkingDir": "${p:resource\/work.dir}\/${p:component.name}",
            "takesVersion": false,
            "status": "",
            "active": true,
            "path": "componentTemplates\/d4cbeb10-f965-4bcd-a09b-f6b0f0a9c3d5\/processes\/3524d938-95fe-4e89-978f-a59eaa1a9766",
            "propDefs": [],
            "rootActivity": {
                "edges": [
                    {
                        "to": "Start Application",
                        "type": "ALWAYS",
                        "value": ""
                    },
                    {
                        "to": "0e5c806ec676010545e9c0c9e93db0",
                        "from": "Start Application",
                        "type": "SUCCESS",
                        "value": ""
                    }
                ],
                "offsets": [
                    {
                        "name": "0e5c806ec676010545e9c0c9e93db0",
                        "x": 0,
                        "y": 420,
                        "h": 50,
                        "w": 90
                    },
                    {
                        "name": "Start Application",
                        "x": -44.5,
                        "y": 185,
                        "h": 60,
                        "w": 200
                    }
                ],
                "type": "graph",
                "name": "e6d0015e-fb23-47f7-a489-f80ef1e0204d",
                "children": [
                    {
                        "type": "finish",
                        "name": "0e5c806ec676010545e9c0c9e93db0",
                        "children": []
                    },
                    {
                        "allowFailure": false,
                        "useImpersonation": false,
                        "showHidden": false,
                        "impersonationUseSudo": false,
                        "commandName": "Start Application",
                        "pluginName": "WAS - Deploy",
                        "pluginVersion": 74,
                        "properties": {
                            "appName": "${p:appName}",
                            "appEdition": "${p?:appedition}",
                            "batch": "false",
                            "scriptFile": "${p:request.id}.py",
                            "cell": "${p?:resource\/websphere.cell}",
                            "node": "${p?:resource\/websphere.node}",
                            "server": "${p?:resource\/websphere.server}",
                            "cluster": "${p?:resource\/websphere.cluster}",
                            "commandPath": "${p?:resource\/websphere.commandPath}",
                            "user": "${p?:resource\/websphere.user}",
                            "password": "pbe{yU+ackJm01VFWbJueGxjV5CBYGatgHRVeIjB26Jaip3LulRVkbT3X5Jsg+KUyI6f9hx8bHmxYmU=}",
                            "host": "${p?:resource\/websphere.host}",
                            "port": "${p?:resource\/websphere.port}",
                            "connType": "${p?:resource\/websphere.connType}",
                            "additionalArgs": ""
                        },
                        "type": "plugin",
                        "name": "Start Application",
                        "children": []
                    }
                ]
            }
        },
        {
            "name": "Stop App",
            "description": "",
            "defaultWorkingDir": "${p:resource\/work.dir}\/${p:component.name}",
            "takesVersion": false,
            "status": "",
            "active": true,
            "path": "componentTemplates\/d4cbeb10-f965-4bcd-a09b-f6b0f0a9c3d5\/processes\/957a1abf-0451-406c-9df9-92fdbb98a919",
            "propDefs": [],
            "rootActivity": {
                "edges": [
                    {
                        "to": "f5d475f39ddeb922839f2bcda83ce7",
                        "from": "isAppInstalled",
                        "type": "VALUE",
                        "value": "false"
                    },
                    {
                        "to": "f5d475f39ddeb922839f2bcda83ce7",
                        "from": "Stop Application",
                        "type": "SUCCESS",
                        "value": ""
                    },
                    {
                        "to": "Stop Application",
                        "from": "Check Application is not running",
                        "type": "FAILURE",
                        "value": ""
                    },
                    {
                        "to": "f5d475f39ddeb922839f2bcda83ce7",
                        "from": "Check Application is not running",
                        "type": "SUCCESS",
                        "value": ""
                    },
                    {
                        "to": "Check Application is Installed",
                        "type": "ALWAYS",
                        "value": ""
                    },
                    {
                        "to": "isAppInstalled",
                        "from": "Check Application is Installed",
                        "type": "SUCCESS",
                        "value": ""
                    },
                    {
                        "to": "Check Application is not running",
                        "from": "isAppInstalled",
                        "type": "VALUE",
                        "value": "true"
                    }
                ],
                "offsets": [
                    {
                        "name": "isAppInstalled",
                        "x": -250,
                        "y": 199,
                        "h": 60,
                        "w": 330
                    },
                    {
                        "name": "Check Application is not running",
                        "x": 139.5,
                        "y": 190,
                        "h": 60,
                        "w": 290
                    },
                    {
                        "name": "f5d475f39ddeb922839f2bcda83ce7",
                        "x": 0,
                        "y": 420,
                        "h": 50,
                        "w": 90
                    },
                    {
                        "name": "Stop Application",
                        "x": 184.5,
                        "y": 360,
                        "h": 60,
                        "w": 200
                    },
                    {
                        "name": "Check Application is Installed",
                        "x": -172.5,
                        "y": 100,
                        "h": 60,
                        "w": 270
                    }
                ],
                "type": "graph",
                "name": "f56d4558-4279-4f58-952f-fba8513cdf4c",
                "children": [
                    {
                        "type": "finish",
                        "name": "f5d475f39ddeb922839f2bcda83ce7",
                        "children": []
                    },
                    {
                        "allowFailure": false,
                        "useImpersonation": false,
                        "showHidden": false,
                        "impersonationUseSudo": false,
                        "commandName": "Check Application is not running",
                        "pluginName": "WAS - Deploy",
                        "pluginVersion": 74,
                        "properties": {
                            "appName": "${p:appName}",
                            "appEdition": "${p?:appedition}",
                            "appType": "${p:appType}",
                            "deleteTempFileOnFailure": "true",
                            "cell": "${p?:resource\/websphere.cell}",
                            "node": "${p?:resource\/websphere.node}",
                            "server": "${p?:resource\/websphere.server}",
                            "cluster": "${p?:resource\/websphere.cluster}",
                            "commandPath": "${p?:resource\/websphere.commandPath}",
                            "user": "${p?:resource\/websphere.user}",
                            "password": "pbe{1VoJW+1mT3JnWcJb00m8dxF38ahb5QHdJHpx4MSfoh4fGsFY5Nng9cC1962zub6HRxzDdt7cjOE=}",
                            "host": "${p?:resource\/websphere.host}",
                            "port": "${p?:resource\/websphere.port}",
                            "connType": "${p?:resource\/websphere.connType}",
                            "additionalArgs": ""
                        },
                        "type": "plugin",
                        "name": "Check Application is not running",
                        "children": []
                    },
                    {
                        "allowFailure": false,
                        "useImpersonation": false,
                        "showHidden": false,
                        "impersonationUseSudo": false,
                        "commandName": "Stop Application",
                        "pluginName": "WAS - Deploy",
                        "pluginVersion": 74,
                        "properties": {
                            "appName": "${p:appName}",
                            "appEdition": "${p?:appedition}",
                            "batch":"false",
                            "scriptFile":"${p:request.id}.py",
                            "cell": "${p?:resource\/websphere.cell}",
                            "node": "${p?:resource\/websphere.node}",
                            "server": "${p?:resource\/websphere.server}",
                            "cluster": "${p?:resource\/websphere.cluster}",
                            "commandPath": "${p?:resource\/websphere.commandPath}",
                            "user": "${p?:resource\/websphere.user}",
                            "password": "pbe{QlVBdpdU+mBlXHlWak78YZv7gt29unote8Cfmr2/xOyTYOL7hqnkRNgkwaJiJimQH5zRxzZ66D0=}",
                            "host": "${p?:resource\/websphere.host}",
                            "port": "${p?:resource\/websphere.port}",
                            "connType": "${p?:resource\/websphere.connType}"
                        },
                        "type": "plugin",
                        "name": "Stop Application",
                        "children": []
                    },
                    {
                        "allowFailure": false,
                        "useImpersonation": false,
                        "showHidden": false,
                        "impersonationUseSudo": false,
                        "commandName": "Check Application is Installed",
                        "pluginName": "WAS - Deploy",
                        "pluginVersion": 74,
                        "properties": {
                            "appName": "${p:appName}",
                            "appEdition": "${p?:appedition}",
                            "commandPath": "${p?:resource\/websphere.commandPath}",
                            "user": "${p?:resource\/websphere.user}",
                            "password": "pbe{iW+hTLdqHUmVcDxXsVWDdIDSf/+V4enUHITJeGzwFQXG0c6MmkX8u55PefnLMwrcNwgn2jkiO7g=}",
                            "host": "${p?:resource\/websphere.host}",
                            "port": "${p?:resource\/websphere.port}",
                            "connType": "${p?:resource\/websphere.connType}"
                        },
                        "type": "plugin",
                        "name": "Check Application is Installed",
                        "children": []
                    },
                    {
                        "propertyName": "Check Application is Installed\/installed",
                        "type": "switch",
                        "name": "isAppInstalled",
                        "children": []
                    }
                ]
            }
        }
    ],
    "genericProcesses": []
}
