første xml update
[virt-orchestrator.git] / vFLOWER / content / Workflows / uio / lib / tools / disable_and_untag_tsduser.workflow.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <workflow xmlns="http://vmware.com/vco/workflow" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://vmware.com/vco/workflow http://vmware.com/vco/workflow/Workflow-v4.xsd" root-name="item3" object-name="workflow:name=generic" id="edb09c46-fd03-405a-b1a5-948eb9b887e3" version="0.0.3" api-version="3.1.0" allowed-operations="fve" restartMode="1" resumeFromFailedMode="0">
3     <display-name>disable_and_untag_tsduser</display-name>
4
5     <description>
6 Disable tsduser, so its unusable when not used by a Orchestrator flow.
7 Also untaggs the get_ad_passwd flow, freeing it for use for other objects
8     </description>
9
10     <position x="100.0" y="50.0"/>
11
12     <input>
13         <param name="user" type="AD:User">
14             <description>User to disable</description>
15         </param>
16     </input>
17
18     <attrib name="tagName" type="string" read-only="false">
19         <value encoded="n">executing</value>
20         <description>Tag name</description>
21     </attrib>
22     <attrib name="isGlobal" type="boolean" read-only="false">
23         <value encoded="n">false</value>
24         <description>Is global tag</description>
25     </attrib>
26     <attrib name="taggedObject" type="Workflow" read-only="false">
27         <value encoded="n">dunes://service.dunes.ch/Workflow?id='21827d8d-4e4b-4094-a41f-f2c5b8a3375e'&amp;dunesName='Workflow'</value>
28         <description>Workflow to untag</description>
29     </attrib>
30     <attrib name="ad_controll" type="boolean" read-only="false">
31         <value encoded="n">false</value>
32         <description>if yes, manipulate AD, if no, use uioadd with dynamic password</description>
33     </attrib>
34
35     <workflow-item name="item0" type="end" end-mode="0">
36         <position x="804.5" y="45.40909090909091"/>
37     </workflow-item>
38
39     <workflow-item name="item1" out-name="item2" type="link" linked-workflow-id="958080808080808080808080808080803381808001175609873343b6bbd2e3eea">
40         <display-name>Disable a user</display-name>
41
42         <in-binding>
43             <bind name="user" type="AD:User" export-name="user">
44                 <description>User to disable</description>
45             </bind>
46         </in-binding>
47
48         <out-binding/>
49
50         <description>Disables a user from an Active Directory instance.</description>
51
52         <position x="464.5" y="19.045454545454543"/>
53     </workflow-item>
54
55     <workflow-item name="item2" out-name="item0" type="link" linked-workflow-id="5a067901-2ced-47ef-8973-ea49ceb60d5d">
56         <display-name>Untag workflow</display-name>
57
58         <in-binding>
59             <bind name="taggedObject" type="Workflow" export-name="taggedObject">
60                 <description>Workflow to untag</description>
61             </bind>
62             <bind name="tagName" type="string" export-name="tagName">
63                 <description>Tag name</description>
64             </bind>
65             <bind name="isGlobal" type="boolean" export-name="isGlobal">
66                 <description>Is global tag</description>
67             </bind>
68         </in-binding>
69
70         <out-binding/>
71
72         <description>Removes a tag from a workflow. You must specify the workflow you want to untag and the tag you want to remove from the specified workflow.</description>
73
74         <position x="624.5" y="55.40909090909091"/>
75     </workflow-item>
76
77     <workflow-item name="item3" out-name="item4" type="link" linked-workflow-id="1f0fc470-006c-4c15-a3b9-95e2e7540f22">
78         <display-name>global_parameters</display-name>
79
80         <in-binding/>
81
82         <out-binding>
83             <bind name="vmPassword" type="SecureString"/>
84             <bind name="mailto" type="string"/>
85             <bind name="ou" type="string"/>
86             <bind name="smtp_server" type="string"/>
87             <bind name="domain_name" type="string"/>
88             <bind name="manage_cpu_ram" type="boolean"/>
89             <bind name="ad_domain_user" type="string"/>
90             <bind name="database" type="SQL:Database"/>
91             <bind name="smtp_port" type="string"/>
92             <bind name="ad_controll" type="boolean" export-name="ad_controll"/>
93         </out-binding>
94
95         <position x="204.5" y="55.40909090909091"/>
96     </workflow-item>
97
98     <workflow-item name="item4" out-name="item1" type="condition" alt-out-name="item2" comparator="0">
99         <display-name>Decision</display-name>
100
101         <script encoded="false">
102 //Generated by the system, cannot be edited
103 return (ad_controll == true) ;
104         </script>
105
106         <in-binding>
107             <bind name="ad_controll" type="boolean" export-name="ad_controll"/>
108         </in-binding>
109         <condition name="ad_controll" type="boolean" comparator="0" label="null">false</condition>
110
111         <position x="344.5" y="45.40909090909091"/>
112     </workflow-item>
113
114     <presentation>
115         <p-param name="user">
116             <desc>User to disable</desc>
117         </p-param>
118     </presentation>
119 </workflow>