|
37 | 37 | </li>
|
38 | 38 | <li>
|
39 | 39 | <p>Create new IBM DB2 data source</p>
|
40 |
| -</li> |
41 |
| -</ol> |
42 | 40 | <p> </p>
|
43 | 41 | <p><a href="/assets/datadirectcloud-e1409558639290.png"><img class="aligncenter size-full wp-image-12214" src="/assets/datadirectcloud-e1409558639290.png" alt="datadirectcloud" width="600" height="307" /></a></p>
|
| 42 | +</li> |
| 43 | +<li>Enter the DB2 connection information from perspective on on-premise connector including the connector ID from step #2. For example, I’m connecting to a DB2 for i system running in Progress Software’s corporate firewall. |
44 | 44 | <p> </p>
|
45 |
| -<ol> |
46 |
| -<li>Enter the DB2 connection information from perspective on on-premise connector including the connector ID from step #2. For example, I’m connecting to a DB2 for i system running in Progress Software’s corporate firewall.</li> |
47 |
| -</ol> |
48 |
| -<p> </p> |
49 |
| -<p><a href="/assets/db2-e1409558820738.png"><img class="aligncenter size-full wp-image-12215" src="/assets/db2-e1409558820738.png" alt="db2" width="580" height="599" /></a><br /> |
50 |
| -5. Click on Advanced Tab to configure the OData map which is a JSON string during the beta, but subject to change when GA (<a style="background-color: #ffffff" href="http://documentation.progress.com/output/DataDirect/DataDirectCloud/index.html">check latest documentation</a>). The following value exposes two entities with a foreign key relationship. {"schemaName":"TEST01","includedTables":["ACCOUNT","OPPORTUNITY"],"tableMapping":[{"name":"OPPORTUNITY","key":["SYS_NAME"]}]}</p> |
51 |
| -<ol> |
| 45 | +<p><a href="/assets/db2-e1409558820738.png"><img class="aligncenter size-full wp-image-12215" src="/assets/db2-e1409558820738.png" alt="db2" width="580" height="599" /></a><br />Click on Advanced Tab to configure the OData map which is a JSON string during the beta, but subject to change when GA (<a style="background-color: #ffffff" href="http://documentation.progress.com/output/DataDirect/DataDirectCloud/index.html">check latest documentation</a>). The following value exposes two entities with a foreign key relationship. {"schemaName":"TEST01","includedTables":["ACCOUNT","OPPORTUNITY"],"tableMapping":[{"name":"OPPORTUNITY","key":["SYS_NAME"]}]}</p> |
| 46 | +</li> |
52 | 47 | <li>For a demo, I selected PragmatiQa XOData which is one of several Odata consumers available from the list compiled by Odata.org (thanks to PragmatiQa for support during the trial)</li>
|
53 |
| -</ol> |
54 | 48 | <li>
|
55 | 49 | <p>Launch the application from a chrome browser and select “Choose Access Option” > “OData Metadata URL” and enter <a style="background-color: #ffffff" href="https://service.datadirectcloud.com/api/odata/DB2/$metadata">https://service.datadirectcloud.com/api/odata/DB2/$metadata</a></p>
|
56 | 50 | </li>
|
57 | 51 | <li>
|
58 | 52 | <p>Click Connection tab and enter the DataDirect Cloud credentials for an OData 2.0 url.</p>
|
59 |
| -</li> |
60 | 53 | <p> </p>
|
61 | 54 | <p><a href="/assets/pragmatiQa1-e1409559072749.png"><img class="aligncenter size-full wp-image-12216" src="/assets/pragmatiQa1-e1409559072749.png" alt="pragmatiQa1" width="600" height="539" /></a></p>
|
62 |
| -<p> </p> |
63 |
| -<ol> |
64 |
| -<li>Click “Use this Setup” and then “Get Details”</li> |
65 |
| -</ol> |
66 |
| -<p> </p> |
67 |
| -<ol> |
68 |
| -<li>Click Diagram tab to see OData feed entity relationship diagram</li> |
69 |
| -</ol> |
| 55 | +</li> |
| 56 | +<li>Click “Use this Setup” and then “Get Details” |
| 57 | +</li> |
| 58 | +<li>Click Diagram tab to see OData feed entity relationship diagram |
70 | 59 | <p> </p>
|
71 | 60 | <p><a href="/assets/pragmatiQa2-e1409558811478.png"><img class="aligncenter size-full wp-image-12217" src="/assets/pragmatiQa2-e1409558811478.png" alt="pragmatiQa2" width="600" height="458" /></a></p>
|
72 |
| -<p> </p> |
73 |
| -<ol> |
74 |
| -<li>Click API Details for entity data types</li> |
75 |
| -</ol> |
| 61 | +</li> |
| 62 | +<li>Click API Details for entity data types |
76 | 63 | <p> </p>
|
77 | 64 | <p><a href="/assets/pragmatiQa3-e1409559150915.png"><img class="aligncenter size-full wp-image-12218" src="/assets/pragmatiQa3-e1409559150915.png" alt="pragmatiQa3" width="600" height="458" /></a></p>
|
78 |
| -<p> </p> |
79 |
| -<ol> |
| 65 | +</li> |
80 | 66 | <li>Click Query Builder and select “Account” and then click “Expand” and check “Opportunities” which has a foreign key relationship. Then click “Get Data” from the following url:</li>
|
81 | 67 | </ol>
|
82 | 68 | <p><a href="https://service.datadirectcloud.com/api/odata/DB2/ACCOUNTS?$top=100&$expand=OPPORTUNITIES">https://service.datadirectcloud.com/api/OData/DB2/ACCOUNTS?$top=100&$expand=OPPORTUNITIES</a></p>
|
|
0 commit comments