Compare commits

...

2 Commits

3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

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

View File

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

View File

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