Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<RESOURCE_PROFILE>
3
    <HEADER>
4
        <RESOURCE_IDENTIFIER
5
                value="c2a947cd-1df1-491c-97a8-0965c17c09e0_V29ya2Zsb3dUZW1wbGF0ZURTUmVzb3VyY2VzL1dvcmtmbG93VGVtcGxhdGVEU1Jlc291cmNlVHlwZQ=="/>
6
        <RESOURCE_TYPE value="WorkflowTemplateDSResourceType"/>
7
        <RESOURCE_KIND value="WorkflowTemplateDSResources"/>
8
        <RESOURCE_URI value=""/>
9
        <DATE_OF_CREATION value="2001-12-31T12:00:00"/>
10
    </HEADER>
11
    <BODY>
12
        <CONFIGURATION>
13
            <PARAMETERS>
14
                <PARAM name="dsId" description="Datasource Id" required="true" type="string"/>
15
                <PARAM name="interface" description="Datasource Interface" required="true" type="string"/>
16
                <PARAM name="cleanMdstoreId" description="Store for cleaned records" required="true" type="string"/>
17
                <PARAM name="numberOfThreads" description="number of threads for resolve PID" required="true"
18
                       type="string" default="4"/>
19
            </PARAMETERS>
20
            <WORKFLOW>
21
                <NODE name="RESOLVE_PID" type="ExecuteMDStorePlugin" isStart="true">
22
                    <DESCRIPTION>Store mdtore records</DESCRIPTION>
23
                    <PARAMETERS>
24
                        <PARAM name="mdStoreId" ref="cleanMdstoreId"/>
25
                        <PARAM name="pluginName" value="wdsResolverPlugin"/>
26
                        <PARAM name="numberOfThreads" ref="numberOfThreads"/>
27

    
28
                    </PARAMETERS>
29
                    <ARCS>
30
                        <ARC to="UPDATE_INFO"/>
31
                    </ARCS>
32
                </NODE>
33

    
34
                <NODE name="UPDATE_INFO" type="MDStoreToApiExtraField">
35
                    <DESCRIPTION>Update datasouce API extra fields</DESCRIPTION>
36
                    <PARAMETERS>
37
                        <PARAM name="mdId" ref="cleanMdstoreId"/>
38
                        <PARAM name="datasourceId" ref="dsId"/>
39
                        <PARAM name="datasourceInterface" ref="interface"/>
40
                        <PARAM name="extraFieldForTotal" value="last_aggregation_total"/>
41
                        <PARAM name="extraFieldForDate" value="last_aggregation_date"/>
42
                        <PARAM name="extraFieldForMdId" value="last_aggregation_mdId"/>
43
                    </PARAMETERS>
44
                    <ARCS>
45
                        <ARC to="success"/>
46
                    </ARCS>
47
                </NODE>
48
            </WORKFLOW>
49
        </CONFIGURATION>
50
    </BODY>
51
</RESOURCE_PROFILE>
(6-6/6)