message: Fix api-data-watcher-pusher still looking for previously deleted file
diff: #!/bin/bash
  # inject variables from environment into the GQL template
  -envsubst '$GIT_HOST $GIT_PORT $INGRESS_IP $CONSOLE_URL $TOKEN' < /api-data/04-populate-api-data-controller.gql | sponge /api-data/04-populate-api-data-controller.gql
  +envsubst '$GIT_HOST $GIT_PORT $INGRESS_IP $CONSOLE_URL $TOKEN' < /api-data/03-populate-api-data-kubernetes.gql | sponge /api-data/03-populate-api-data-kubernetes.gql
  clear_gql_file_path="/api-data/00-clear-api-data.gql"
  populate_general_gql_file_path="/api-data/01-populate-api-data-general.gql"
  populate_openshift_gql_file_path="/api-data/02-populate-api-data-openshift.gql"
  populate_kubernetes_gql_file_path="/api-data/03-populate-api-data-kubernetes.gql"
  -populate_controller_gql_file_path="/api-data/04-populate-api-data-controller.gql"
  send_graphql_query() {
  local file_path=${1}
  @@ -30,7 +29,6 @@ watch_apidatafolder() {
  chsum_populate_general_prev=""
  chsum_populate_openshift_prev=""
  chsum_populate_kubernetes_prev=""
  - chsum_populate_controller_prev=""
  while [[ true ]]
  do
  @@ -38,14 +36,12 @@ watch_apidatafolder() {
  chsum_populate_general_curr=`md5sum $populate_general_gql_file_path`
  chsum_populate_openshift_curr=`md5sum $populate_openshift_gql_file_path`
  chsum_populate_kubernetes_curr=`md5sum $populate_kubernetes_gql_file_path`
  - chsum_populate_controller_curr=`md5sum $populate_controller_gql_file_path`
  if
  [[ $chsum_clear_prev != $chsum_clear_curr ]] ||
  [[ $chsum_populate_general_prev != $chsum_populate_general_curr ]] ||
  [[ $chsum_populate_openshift_prev != $chsum_populate_openshift_curr ]] ||
  - [[ $chsum_populate_kubernetes_prev != $chsum_populate_kubernetes_curr ]] ||
  - [[ $chsum_populate_controller_prev != $chsum_populate_controller_curr ]];
  + [[ $chsum_populate_kubernetes_prev != $chsum_populate_kubernetes_curr ]];
  then
  echo "******* Found changes in gql files in /api-data/, clearing and re-populating"
  @@ -81,14 +77,6 @@ watch_apidatafolder() {
  echo "**** ERROR while re-populating $populate_kubernetes_gql_file_path, will try again."
  fi
  - if
  - send_graphql_query $populate_controller_gql_file_path;
  - then
  - chsum_populate_controller_prev=$chsum_populate_controller_curr
  - else
  - echo "**** ERROR while re-populating $populate_controller_gql_file_path, will try again."
  - fi
  -
  fi
  