Skip to content

Commit 51a970d

Browse files
committed
data json file and src files for the loopback tutorial
1 parent 692865d commit 51a970d

File tree

8 files changed

+522
-0
lines changed

8 files changed

+522
-0
lines changed

doc/_data.json

Lines changed: 335 additions & 0 deletions
Large diffs are not rendered by default.

src/LoopBack/.project

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>LoopBack</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>com.ibm.etools.mft.applib.applibbuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>com.ibm.etools.mft.applib.applibresourcevalidator</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>com.ibm.etools.mft.connector.policy.ui.PolicyBuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
<buildCommand>
24+
<name>com.ibm.etools.mft.applib.mbprojectbuilder</name>
25+
<arguments>
26+
</arguments>
27+
</buildCommand>
28+
<buildCommand>
29+
<name>com.ibm.etools.msg.validation.dfdl.mlibdfdlbuilder</name>
30+
<arguments>
31+
</arguments>
32+
</buildCommand>
33+
<buildCommand>
34+
<name>com.ibm.etools.mft.flow.adapters.adapterbuilder</name>
35+
<arguments>
36+
</arguments>
37+
</buildCommand>
38+
<buildCommand>
39+
<name>com.ibm.etools.mft.flow.sca.scabuilder</name>
40+
<arguments>
41+
</arguments>
42+
</buildCommand>
43+
<buildCommand>
44+
<name>com.ibm.etools.msg.validation.dfdl.mbprojectresourcesbuilder</name>
45+
<arguments>
46+
</arguments>
47+
</buildCommand>
48+
<buildCommand>
49+
<name>com.ibm.etools.mft.esql.lang.esqllangbuilder</name>
50+
<arguments>
51+
</arguments>
52+
</buildCommand>
53+
<buildCommand>
54+
<name>com.ibm.etools.mft.map.builder.mslmappingbuilder</name>
55+
<arguments>
56+
</arguments>
57+
</buildCommand>
58+
<buildCommand>
59+
<name>com.ibm.etools.mft.flow.msgflowxsltbuilder</name>
60+
<arguments>
61+
</arguments>
62+
</buildCommand>
63+
<buildCommand>
64+
<name>com.ibm.etools.mft.flow.msgflowbuilder</name>
65+
<arguments>
66+
</arguments>
67+
</buildCommand>
68+
<buildCommand>
69+
<name>com.ibm.etools.mft.decision.service.ui.decisionservicerulebuilder</name>
70+
<arguments>
71+
</arguments>
72+
</buildCommand>
73+
<buildCommand>
74+
<name>com.ibm.etools.mft.pattern.capture.PatternBuilder</name>
75+
<arguments>
76+
</arguments>
77+
</buildCommand>
78+
<buildCommand>
79+
<name>com.ibm.etools.mft.json.builder.JSONBuilder</name>
80+
<arguments>
81+
</arguments>
82+
</buildCommand>
83+
<buildCommand>
84+
<name>com.ibm.etools.mft.restapi.ui.restApiDefinitionsBuilder</name>
85+
<arguments>
86+
</arguments>
87+
</buildCommand>
88+
<buildCommand>
89+
<name>com.ibm.etools.msg.validation.dfdl.dfdlqnamevalidator</name>
90+
<arguments>
91+
</arguments>
92+
</buildCommand>
93+
<buildCommand>
94+
<name>com.ibm.etools.mft.bar.ext.barbuilder</name>
95+
<arguments>
96+
</arguments>
97+
</buildCommand>
98+
<buildCommand>
99+
<name>com.ibm.etools.mft.unittest.ui.TestCaseBuilder</name>
100+
<arguments>
101+
</arguments>
102+
</buildCommand>
103+
</buildSpec>
104+
<natures>
105+
<nature>com.ibm.etools.msgbroker.tooling.applicationNature</nature>
106+
<nature>com.ibm.etools.msgbroker.tooling.messageBrokerProjectNature</nature>
107+
</natures>
108+
</projectDescription>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<MessagePool xmlns="http://wwww.ibm.com/iib/test/1.0.0">
3+
<InputMessage timestamp="1490110830985" nodeId="FCMComposite_1_1" name="new message 1" id="1490110830985-6">
4+
<plainText>2e78e4ab51111471f188e1bc1af40b6d</plainText>
5+
</InputMessage>
6+
<InputMessage timestamp="1490190245160" nodeId="FCMComposite_1_1" name="new message 2" id="1490190245160-388">
7+
<plainText>%7B%22companyID%22%3A%22100%22%2C%22company%22%3A%22Barclays+PLC%22%2C%22phone%22%3A%220800400100%22%2C%22price%22%3A+171%7D</plainText>
8+
</InputMessage>
9+
<InputMessage timestamp="1490190411079" nodeId="FCMComposite_1_1" name="new message 3" id="1490190411079-495">
10+
<plainText>%7B%22_id%22%3A+%222e78e4ab51111471f188e1bc1af40b6d%22%7D</plainText>
11+
</InputMessage>
12+
</MessagePool>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:appDescriptor xmlns="http://com.ibm.etools.mft.descriptor.base" xmlns:ns2="http://com.ibm.etools.mft.descriptor.app"><references/></ns2:appDescriptor>

src/LoopBack/create.msgflow

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ComIbmWSInput.msgnode="ComIbmWSInput.msgnode" xmlns:ComIbmWSReply.msgnode="ComIbmWSReply.msgnode" xmlns:com_ibm_connector_loopback_ComIbmRequest.msgnode="com/ibm/connector/loopback/ComIbmRequest.msgnode" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:eflow="http://www.ibm.com/wbi/2005/eflow" xmlns:utility="http://www.ibm.com/wbi/2005/eflow_utility" nsURI="create.msgflow" nsPrefix="create.msgflow">
3+
<eClassifiers xmi:type="eflow:FCMComposite" name="FCMComposite_1">
4+
<eSuperTypes href="http://www.ibm.com/wbi/2005/eflow#//FCMBlock"/>
5+
<translation xmi:type="utility:TranslatableString" key="create" bundleName="create" pluginId="LoopBack"/>
6+
<colorGraphic16 xmi:type="utility:GIFFileGraphic" resourceName="platform:/plugin/LoopBack/icons/full/obj16/create.gif"/>
7+
<colorGraphic32 xmi:type="utility:GIFFileGraphic" resourceName="platform:/plugin/LoopBack/icons/full/obj30/create.gif"/>
8+
<composition>
9+
<nodes xmi:type="ComIbmWSInput.msgnode:FCMComposite_1" xmi:id="FCMComposite_1_1" location="122,184" URLSpecifier="/create" messageDomainProperty="JSON">
10+
<translation xmi:type="utility:ConstantString" string="HTTP Input"/>
11+
</nodes>
12+
<nodes xmi:type="ComIbmWSReply.msgnode:FCMComposite_1" xmi:id="FCMComposite_1_2" location="634,199">
13+
<translation xmi:type="utility:ConstantString" string="HTTP Reply"/>
14+
</nodes>
15+
<nodes xmi:type="com_ibm_connector_loopback_ComIbmRequest.msgnode:FCMComposite_1" xmi:id="FCMComposite_1_3" location="332,174" connectorName="iib-loopback-connector" dataSource="CLOUDANT" object="share_price" operation="create" securityIdentity="CLOUDANT_SEC_ID" timeoutMilliseconds="5000" dataLocation="$Body" outputDataLocation="$OutputRoot" copyToLocalEnv="true" messageDomainProperty="JSON">
16+
<translation xmi:type="utility:ConstantString" string="LoopBackRequest"/>
17+
</nodes>
18+
<connections xmi:type="eflow:FCMConnection" xmi:id="FCMConnection_2" targetNode="FCMComposite_1_2" sourceNode="FCMComposite_1_3" sourceTerminalName="OutTerminal.out" targetTerminalName="InTerminal.in"/>
19+
<connections xmi:type="eflow:FCMConnection" xmi:id="FCMConnection_3" targetNode="FCMComposite_1_3" sourceNode="FCMComposite_1_1" sourceTerminalName="OutTerminal.out" targetTerminalName="InTerminal.in"/>
20+
</composition>
21+
<propertyOrganizer/>
22+
<stickyBoard/>
23+
</eClassifiers>
24+
</ecore:EPackage>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<MessagePool xmlns="http://wwww.ibm.com/iib/test/1.0.0">
3+
<InputMessage timestamp="1490267707638" nodeId="FCMComposite_1_1" name="new message 1" id="1490267707638-6">
4+
<plainText>%7B%22companyId%22%3A%22100%22%2C%22company%22%3A%22derp%22%2C%22phone%22%3A%220294848273%22%2C%22price%22%3A182%7D</plainText>
5+
</InputMessage>
6+
<InputMessage timestamp="1490267986958" nodeId="FCMComposite_1_1" name="new message 2" id="1490267986958-123">
7+
<plainText>%7B%22companyID%22%3A+%22100%22%2C%0D%0A++%22company%22%3A+%22Barclays+PLC%22%2C%0D%0A++%22phone%22%3A+%220800400100%22%2C%0D%0A++%22price%22%3A+171%7D</plainText>
8+
</InputMessage>
9+
<InputMessage timestamp="1490268034261" nodeId="FCMComposite_1_1" name="new message 3" id="1490268034261-161">
10+
<plainText>%7B%22companyID%22%3A%22103%22%2C%22company%22%3A%22Barclays+PLC%22%2C%22phone%22%3A+%220800400100%22%2C%22price%22%3A171%7D</plainText>
11+
</InputMessage>
12+
</MessagePool>

src/LoopBack/retrieve.msgflow

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ComIbmWSInput.msgnode="ComIbmWSInput.msgnode" xmlns:ComIbmWSReply.msgnode="ComIbmWSReply.msgnode" xmlns:com_ibm_connector_loopback_ComIbmRequest.msgnode="com/ibm/connector/loopback/ComIbmRequest.msgnode" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:eflow="http://www.ibm.com/wbi/2005/eflow" xmlns:utility="http://www.ibm.com/wbi/2005/eflow_utility" nsURI="retrieve.msgflow" nsPrefix="retrieve.msgflow">
3+
<eClassifiers xmi:type="eflow:FCMComposite" name="FCMComposite_1">
4+
<eSuperTypes href="http://www.ibm.com/wbi/2005/eflow#//FCMBlock"/>
5+
<translation xmi:type="utility:TranslatableString" key="retrieve" bundleName="retrieve" pluginId="LoopBack"/>
6+
<colorGraphic16 xmi:type="utility:GIFFileGraphic" resourceName="platform:/plugin/LoopBack/icons/full/obj16/retrieve.gif"/>
7+
<colorGraphic32 xmi:type="utility:GIFFileGraphic" resourceName="platform:/plugin/LoopBack/icons/full/obj30/retrieve.gif"/>
8+
<composition>
9+
<nodes xmi:type="ComIbmWSInput.msgnode:FCMComposite_1" xmi:id="FCMComposite_1_1" location="196,168" URLSpecifier="/retrieve" messageDomainProperty="JSON">
10+
<translation xmi:type="utility:ConstantString" string="HTTP Input"/>
11+
</nodes>
12+
<nodes xmi:type="ComIbmWSReply.msgnode:FCMComposite_1" xmi:id="FCMComposite_1_2" location="733,188">
13+
<translation xmi:type="utility:ConstantString" string="HTTP Reply"/>
14+
</nodes>
15+
<nodes xmi:type="com_ibm_connector_loopback_ComIbmRequest.msgnode:FCMComposite_1" xmi:id="FCMComposite_1_3" location="471,180" connectorName="iib-loopback-connector" dataSource="CLOUDANT" object="share_price" operation="retrieve" securityIdentity="CLOUDANT_SEC_ID" timeoutMilliseconds="120000" dataLocation="$Body" outputDataLocation="$OutputRoot" copyToLocalEnv="true" messageDomainProperty="JSON">
16+
<translation xmi:type="utility:ConstantString" string="LoopBackRequest"/>
17+
</nodes>
18+
<connections xmi:type="eflow:FCMConnection" xmi:id="FCMConnection_1" targetNode="FCMComposite_1_3" sourceNode="FCMComposite_1_1" sourceTerminalName="OutTerminal.out" targetTerminalName="InTerminal.in"/>
19+
<connections xmi:type="eflow:FCMConnection" xmi:id="FCMConnection_2" targetNode="FCMComposite_1_2" sourceNode="FCMComposite_1_3" sourceTerminalName="OutTerminal.out" targetTerminalName="InTerminal.in"/>
20+
</composition>
21+
<propertyOrganizer/>
22+
<stickyBoard/>
23+
</eClassifiers>
24+
</ecore:EPackage>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<MessagePool xmlns="http://wwww.ibm.com/iib/test/1.0.0">
3+
<InputMessage timestamp="1490190585552" nodeId="FCMComposite_1_1" name="new message 1" id="1490190585552-575">
4+
<plainText></plainText>
5+
</InputMessage>
6+
</MessagePool>

0 commit comments

Comments
 (0)