Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
integration [2021/02/17 03:42] admin [Integrate TestOptimal in your web project (javascript/node.js)] |
integration [2021/02/25 22:23] (current) admin [Integrate TestOptimal in your java project (Java /IDE Connector)] |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| There are several ways to integrate // | There are several ways to integrate // | ||
| - | * [[plugins# | ||
| * [[#Cloud Services]] | * [[#Cloud Services]] | ||
| * [[# | * [[# | ||
| Line 11: | Line 10: | ||
| * [[# Integrate TestOptimal in your java project (Java /IDE Connector)]] | * [[# Integrate TestOptimal in your java project (Java /IDE Connector)]] | ||
| * [[# Integrate TestOptimal in your web project (javascript/ | * [[# Integrate TestOptimal in your web project (javascript/ | ||
| + | * [[plugins# | ||
| ---- | ---- | ||
| Line 73: | Line 73: | ||
| ---- | ---- | ||
| ==== Jenkins ==== | ==== Jenkins ==== | ||
| - | Add steps to [[https://www.jenkins.io/ | Jenkins]] build job to run models using // | + | For current version v6, you would use REST API documented at http://localhost: |
| - | This feature is only available for V5.0. For v6.0, you would achieve the same with http://localhost:8888/ | + | For V5, add steps to [[https://www.jenkins.io/ |
| - | + | | |
| - | | + | |
| * Add //admin// to connect to [[runtime_server | Runtime Servers]] | * Add //admin// to connect to [[runtime_server | Runtime Servers]] | ||
| * select menu //Jenkins / Credentials// | * select menu //Jenkins / Credentials// | ||
| Line 109: | Line 108: | ||
| // | // | ||
| - | You can use these REST APIs to access start and stop model execution, access model artifacts/ | + | You can use these REST APIs as documented at http:// |
| ==== Organization of REST APIs ==== | ==== Organization of REST APIs ==== | ||
| Line 150: | Line 149: | ||
| < | < | ||
| < | < | ||
| - | < | + | < |
| </ | </ | ||
| Line 158: | Line 157: | ||
| See [[http:// | See [[http:// | ||
| + | |||
| + | ---- | ||
| ==== Integrate TestOptimal in your web project (javascript/ | ==== Integrate TestOptimal in your web project (javascript/ | ||
| Line 258: | Line 259: | ||
| === Combinatorial Model Sample Scripts === | === Combinatorial Model Sample Scripts === | ||
| + | |||
| + | == Create DataSet == | ||
| var ds = new DataSet(" | var ds = new DataSet(" | ||
| ds.addField (" | ds.addField (" | ||
| ds.addField (" | ds.addField (" | ||
| TOSvr.uploadDataSet (ds).then(console.logMsg, | TOSvr.uploadDataSet (ds).then(console.logMsg, | ||
| + | |||
| + | == Generate Test Cases == | ||
| + | | ||
| + | |||
| + | |||
| + | === Demo Web Client === | ||
| + | You may try out above sample scripts with the web client bundled in // | ||
| + | |||
| + | http:// | ||
| + | |||