Project

General

Profile

1
<RESOURCE_PROFILE>
2
    <HEADER>
3
        <RESOURCE_IDENTIFIER value="001ca627-1ae1-4053-9243-bca6ee149b22_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl"/>
4
        <RESOURCE_TYPE value="WorkflowDSResourceType"/>
5
        <RESOURCE_KIND value="WorkflowDSResources"/>
6
        <RESOURCE_URI value=""/>
7
        <DATE_OF_CREATION value="2017-06-24T18:13:51.0Z"/>
8
    </HEADER>
9
    <BODY>
10
        <WORKFLOW_NAME>Claim to HBase</WORKFLOW_NAME>
11
        <WORKFLOW_TYPE>Data Load</WORKFLOW_TYPE>
12
        <WORKFLOW_PRIORITY>30</WORKFLOW_PRIORITY>
13
        <CONFIGURATION start="manual">
14
            <NODE name="applyClaimRels" type="ApplyClaimRels" isStart="true">
15
                <DESCRIPTION>Apply Claim Rels</DESCRIPTION>
16
                <PARAMETERS>
17
                    <PARAM managedBy="system" name="clusterName" required="true" type="string">DM</PARAM>
18
                    <PARAM managedBy="user" name="tableName" required="true" type="string"></PARAM>
19
                    <PARAM managedBy="user" name="sql" required="true" type="string">SELECT source_type, source_id, target_type, target_id, semantics FROM claim WHERE approved=TRUE AND source_type !='context'</PARAM>
20
                    <PARAM managedBy="user" name="countQuery" required="true" type="string">SELECT count(*) FROM claim WHERE approved=TRUE AND source_type !='context'</PARAM>
21
                </PARAMETERS>
22
                <ARCS>
23
                    <ARC to="applyClaimUpdates"/>
24
                </ARCS>
25
            </NODE>
26
            <NODE name="applyClaimUpdates" type="ApplyClaimUpdates">
27
                <DESCRIPTION>Apply Claim Updates</DESCRIPTION>
28
                <PARAMETERS>
29
	                <PARAM managedBy="system" name="clusterName" required="true" type="string">DM</PARAM>
30
	                <PARAM managedBy="user" name="tableName" required="true" type="string"></PARAM>
31
                    <PARAM managedBy="user" name="sql" required="true" type="string">SELECT source_type, source_id, target_type, target_id, semantics FROM claim WHERE approved=TRUE AND source_type ='context'</PARAM>
32
                    <PARAM managedBy="user" name="countQuery" required="true" type="string">SELECT count(*) FROM claim WHERE approved=TRUE AND source_type ='context'</PARAM>
33
                </PARAMETERS>
34
                <ARCS>
35
                    <ARC to="success"/>
36
                </ARCS>
37
            </NODE>
38
        </CONFIGURATION>
39
        <STATUS>
40
        </STATUS>
41
    </BODY>
42
</RESOURCE_PROFILE>
(2-2/7)