Skip to content

Commit

Permalink
app.js for Restful API
Browse files Browse the repository at this point in the history
  • Loading branch information
Freddy Vega committed Sep 8, 2016
1 parent 57e92fd commit 7c89936
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/**
* Module dependencies.
*/
Expand Down Expand Up @@ -49,7 +48,8 @@ var express = require('express')
, actionHistory = require('./routes/actionHistory')
, versionControl = require('./routes/versionControl')
, syncIDE = require('./routes/syncIDE')
, testcaseHistory = require('./routes/testcaseHistory');
, testcaseHistory = require('./routes/testcaseHistory')
, remoteexecution = require('./routes/remoteexecution');

var realFs = require("fs");
var gracefulFs = require("graceful-fs");
Expand Down Expand Up @@ -164,6 +164,9 @@ app.post('/variableTags',auth.auth, variableTags.variableTagsPost);
//start execution
app.post('/executionengine/startexecution', executionengine.startexecutionPost);

// remote execution
app.get('/api/remoteexecution/startexecution', remoteexecution.startexecutionPost);

//stop
app.post('/executionengine/stopexecution',auth.auth, executionengine.stopexecutionPost);
app.post('/executionengine/actionresult',executionengine.actionresultPost);
Expand Down

0 comments on commit 7c89936

Please sign in to comment.