Compare commits

..

No commits in common. "33f545367143d89d42670509ac0d94393aa69d68" and "84c556e40d314a5c0742cc4669c796d80d075443" have entirely different histories.

3 changed files with 2 additions and 3 deletions

1
.gitignore vendored
View File

@ -5,4 +5,3 @@ old_*
node_modules/ node_modules/
.env .env
*.pem *.pem
*temp*

View File

@ -118,7 +118,7 @@ server.get('/scale', bodyParser.json(), function(req, res) {
// return; // return;
//} //}
console.log(new Date().toISOString() + "-------------------------baseline build-----------------------------") console.log(new Date().toISOString() + "-------------------------baseline build-----------------------------")
console.log(JSON.stringify(req.body)); console.log(req.body);
//parse the where clause into the main sql statement //parse the where clause into the main sql statement
//sql = sql.replace(new RegExp("where_clause", 'g'), w) //sql = sql.replace(new RegExp("where_clause", 'g'), w)
sql = sql.replace(new RegExp("app_pincr", 'g'), app_pincr); sql = sql.replace(new RegExp("app_pincr", 'g'), app_pincr);

View File

@ -1 +1 @@
curl -H "Content-Type: application/json" -X GET -d@req.json https://localhost:8082/scale --insecure > scale_temp.sql curl -H "Content-Type: application/json" -X GET -d@./routes/scale/req.json https://localhost:8082/scale --insecure > scale_final.sql