Compare commits
No commits in common. "33f545367143d89d42670509ac0d94393aa69d68" and "84c556e40d314a5c0742cc4669c796d80d075443" have entirely different histories.
33f5453671
...
84c556e40d
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,4 +5,3 @@ old_*
|
|||||||
node_modules/
|
node_modules/
|
||||||
.env
|
.env
|
||||||
*.pem
|
*.pem
|
||||||
*temp*
|
|
||||||
|
2
index.js
2
index.js
@ -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);
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user