)]}'
{"elasticsearch/templates/bin/_create_template.sh.tpl":[{"author":{"_account_id":32090,"name":"Graham Steffaniak","email":"graham.steffaniak@att.com","username":"gs909v"},"change_message_id":"8a8f41e6c701e3deff20dc6ac1d67dc36e4b1424","unresolved":true,"context_lines":[{"line_number":5,"context_line":"{{ range $object :\u003d .Values.conf.api_objects }}"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"curl -K- \u003c\u003c\u003c \"--user ${ELASTICSEARCH_USERNAME}:${ELASTICSEARCH_PASSWORD}\" \\"},{"line_number":8,"context_line":"   -XPUT \"${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}/{{ $object.endpoint }}\" \\"},{"line_number":9,"context_line":"   -H \u0027Content-Type: application/json\u0027 -d \u0027{{ $object.body | toJson }}\u0027"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"{{ end }}"}],"source_content_type":"text/x-smarty","patch_set":2,"id":"ca64227c_987e12eb","line":8,"range":{"start_line":8,"start_character":3,"end_line":8,"end_character":8},"updated":"2021-02-03 19:14:32.000000000","message":"we might as well add the request type to the template yaml and variablize it","commit_id":"4be88d260adcf4cd85b14e91149c863abf804336"},{"author":{"_account_id":30777,"name":"Steven Fitzpatrick","email":"steven@fitzpatrick.wtf","username":"sf280x"},"change_message_id":"a2b4bfb3c22f540ad8f9f10348d740dd147e9888","unresolved":true,"context_lines":[{"line_number":5,"context_line":"{{ range $object :\u003d .Values.conf.api_objects }}"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"curl -K- \u003c\u003c\u003c \"--user ${ELASTICSEARCH_USERNAME}:${ELASTICSEARCH_PASSWORD}\" \\"},{"line_number":8,"context_line":"   -XPUT \"${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}/{{ $object.endpoint }}\" \\"},{"line_number":9,"context_line":"   -H \u0027Content-Type: application/json\u0027 -d \u0027{{ $object.body | toJson }}\u0027"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"{{ end }}"}],"source_content_type":"text/x-smarty","patch_set":2,"id":"98d7e1e6_4e68200a","line":8,"range":{"start_line":8,"start_character":3,"end_line":8,"end_character":8},"in_reply_to":"ca64227c_987e12eb","updated":"2021-02-03 21:03:56.000000000","message":"Good idea. I\u0027ve made it so it defaults to PUT, but we can supply a method parameter with each object to change that.","commit_id":"4be88d260adcf4cd85b14e91149c863abf804336"},{"author":{"_account_id":20466,"name":"Tin Lam","email":"tin@lam.wtf","username":"tinlam"},"change_message_id":"2fb7f4a54c87fe92a09ba3f87b95776a2f74e404","unresolved":true,"context_lines":[{"line_number":3,"context_line":"set -ex"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"{{ range $object :\u003d .Values.conf.api_objects }}"},{"line_number":6,"context_line":"curl -K- \u003c\u003c\u003c \"--user ${ELASTICSEARCH_USERNAME}:${ELASTICSEARCH_PASSWORD}\" \\"},{"line_number":7,"context_line":"   -X{{ $object.method | default \"PUT\" | upper }} \\"},{"line_number":8,"context_line":"   \"${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}/{{ $object.endpoint }}\" \\"},{"line_number":9,"context_line":"   -H \u0027Content-Type: application/json\u0027 -d \u0027{{ $object.body | toJson }}\u0027"}],"source_content_type":"text/x-smarty","patch_set":4,"id":"fc978d53_42b0e474","line":6,"range":{"start_line":6,"start_character":8,"end_line":6,"end_character":74},"updated":"2021-02-04 22:34:10.000000000","message":"wonder if using netrc would be better for these things.","commit_id":"0ab71ae35cae80457c8ed9e8f33d8ba35a5ca537"}],"elasticsearch/templates/bin/_helm-tests.sh.tpl":[{"author":{"_account_id":32090,"name":"Graham Steffaniak","email":"graham.steffaniak@att.com","username":"gs909v"},"change_message_id":"8a8f41e6c701e3deff20dc6ac1d67dc36e4b1424","unresolved":true,"context_lines":[{"line_number":56,"context_line":"function check_templates () {"},{"line_number":57,"context_line":"  total_hits\u003d$(curl -K- \u003c\u003c\u003c \"--user ${ELASTICSEARCH_USERNAME}:${ELASTICSEARCH_PASSWORD}\" \\"},{"line_number":58,"context_line":"              -XGET \"${ELASTICSEARCH_ENDPOINT}/_template\" | jq length)"},{"line_number":59,"context_line":"  if [ $total_hits -gt 0 ]; then"},{"line_number":60,"context_line":"     echo \"PASS: Successful hits on templates!\""},{"line_number":61,"context_line":"  else"},{"line_number":62,"context_line":"     echo \"FAIL: No hits on query for templates! Exiting\";"}],"source_content_type":"text/x-smarty","patch_set":2,"id":"1966c495_9a0972d5","line":59,"range":{"start_line":59,"start_character":7,"end_line":59,"end_character":18},"updated":"2021-02-03 19:14:32.000000000","message":"put in quotes to avoid erroring on null","commit_id":"4be88d260adcf4cd85b14e91149c863abf804336"},{"author":{"_account_id":30777,"name":"Steven Fitzpatrick","email":"steven@fitzpatrick.wtf","username":"sf280x"},"change_message_id":"a2b4bfb3c22f540ad8f9f10348d740dd147e9888","unresolved":true,"context_lines":[{"line_number":56,"context_line":"function check_templates () {"},{"line_number":57,"context_line":"  total_hits\u003d$(curl -K- \u003c\u003c\u003c \"--user ${ELASTICSEARCH_USERNAME}:${ELASTICSEARCH_PASSWORD}\" \\"},{"line_number":58,"context_line":"              -XGET \"${ELASTICSEARCH_ENDPOINT}/_template\" | jq length)"},{"line_number":59,"context_line":"  if [ $total_hits -gt 0 ]; then"},{"line_number":60,"context_line":"     echo \"PASS: Successful hits on templates!\""},{"line_number":61,"context_line":"  else"},{"line_number":62,"context_line":"     echo \"FAIL: No hits on query for templates! Exiting\";"}],"source_content_type":"text/x-smarty","patch_set":2,"id":"8f1597d7_5470851b","line":59,"range":{"start_line":59,"start_character":7,"end_line":59,"end_character":18},"in_reply_to":"1966c495_9a0972d5","updated":"2021-02-03 21:03:56.000000000","message":"Good catch! Fixed","commit_id":"4be88d260adcf4cd85b14e91149c863abf804336"}]}
