Skip to content

Instantly share code, notes, and snippets.

@ming-chu
Last active February 5, 2018 04:43
Show Gist options
  • Save ming-chu/7670653411d62b9ff2d0c23c5a65ca26 to your computer and use it in GitHub Desktop.
Save ming-chu/7670653411d62b9ff2d0c23c5a65ca26 to your computer and use it in GitHub Desktop.
check appdynamics dsym is uploaded or not
#/bin/sh
#prepare the settings
ADRUM_ACCOUNT_NAME="xxxxx-a23413453"
ADRUM_LICENSE_KEY="1234132-1234-1234-1234-12341234123"
ADRUM_EUM_PROCESSOR="https://app.domain.net"
ADRUM_ACCOUNT_NAME="xxxxxx-ajksjdkfasdf"
uuid="XXXX-XXXX-XXXX-XXXX-XXXXXXX"
#Check is uploaded or not by calling the folowing api
curl --user "${ADRUM_ACCOUNT_NAME}:${ADRUM_LICENSE_KEY}" "${ADRUM_EUM_PROCESSOR}/v2/account/${ADRUM_ACCOUNT_NAME}/crash-symbol-file-query/dsym/uuid/${uuid}"
{"uploadTime":"01/01/2018 00:00:00","UUID":"XXXX-XXXX-XXXX-XXXX-XXXXXXX"}~ $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment