diff --git a/readme.md b/readme.md index 8343574..5697ade 100644 --- a/readme.md +++ b/readme.md @@ -40,7 +40,8 @@ scale - [ ] how to handle a target value adjustment, which currency is it in? - [ ] need to add version columns CTE's - [ ] need to build log insert -- [ ] need to build where clause for scenario +- [c] need to build where clause for scenario + * no working currently running problem list ---------------------------------------------------------------------------------------------------------------------------------------------------- diff --git a/routes/scale/curl.sh b/routes/scale/curl.sh index 36182ca..0593a07 100755 --- a/routes/scale/curl.sh +++ b/routes/scale/curl.sh @@ -1 +1 @@ -curl -H "Content-Type: application/json" -X GET -d@./routes/scale/req.json https://localhost:8082/scale --insecure > scale +curl -H "Content-Type: application/json" -X GET -d@./routes/scale/req.json https://localhost:8082/scale --insecure > scale_final.sql diff --git a/routes/scale/generate_route_sql.sh b/routes/scale/generate_route_sql.sh index b43e274..cc6149e 100755 --- a/routes/scale/generate_route_sql.sh +++ b/routes/scale/generate_route_sql.sh @@ -1,4 +1,4 @@ # execure the sql for scale which builds the sql and inserts into a table $PGD -f routes/scale/gen_scale.sql # pull the sql out of the table and write it to route directory -$PGD -c "SELECT t FROM fc.sql WHERE cmd = 'scale'" -t -A -o routes/scale/scale.sql +$PGD -c "SELECT t FROM fc.sql WHERE cmd = 'scale'" -t -A -o routes/scale/scale_final.sql