Advertisement
dcuddihy-acr-me

knyc.acr.lab.issues.203

Apr 18th, 2014
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #
  2. # [Issue 203](https://bitbucket.org/autonomy/knyc.acr.lab/issue/203 )
  3. #
  4. set -x
  5.  
  6. echo "Started: " $(date)
  7.  
  8. source /etc/portion.env
  9. source /etc/profile.d/runtime-context.sh
  10.  
  11. echo $RUNTIME_CONTEXT
  12. echo $PYTHONPATH
  13. export PATH=$PATH:/opt/bbthyme/current/bin:/opt/bbmint/current/bin
  14. TXURI=http://$(print-config-val tx-service host):$(print-config-val tx-service port)/tx
  15.  
  16. # rub and ars -- we'll defer to legacy ETL for now. uah, we'll recreate below.
  17. curl -X DELETE ${TXURI}/deals/name/dl.rub.curncy
  18. curl -X DELETE ${TXURI}/deals/name/dl.uah.curncy
  19. curl -X DELETE ${TXURI}/deals/name/dl.ars.curncy
  20.  
  21. # Recreate using the explicit bloomberg yellow-key ticker.
  22. tx-ensure-deal --name "dl.uahusd.curncy" --description "Ukraine Hryvnia Spot"
  23.  
  24. echo "Finished: " $(date)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement