From b7ca7ebd008225a6a919413491445993f6b3d743 Mon Sep 17 00:00:00 2001 From: Fabrice Gangler <fabrice.gangler@adullact.org> Date: Fri, 21 May 2021 03:26:06 +0200 Subject: [PATCH] FIX: add missing .json extension --- src/.gitkeep | 0 src/testing_with_CURL/testing_avis-imposition_endpoint.sh | 2 +- src/testing_with_CURL/testing_composition-familiale_endpoint.sh | 2 +- src/testing_with_CURL/testing_etudiants_endpoint.sh | 2 +- src/testing_with_CURL/testing_introspect_endpoint.sh | 2 +- .../testing_situations-pole-emploi_endpoint.sh | 2 +- 6 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 src/.gitkeep diff --git a/src/.gitkeep b/src/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/src/testing_with_CURL/testing_avis-imposition_endpoint.sh b/src/testing_with_CURL/testing_avis-imposition_endpoint.sh index c4bd55f..988a65f 100755 --- a/src/testing_with_CURL/testing_avis-imposition_endpoint.sh +++ b/src/testing_with_CURL/testing_avis-imposition_endpoint.sh @@ -82,7 +82,7 @@ curl -X GET "${API_ENDPOINT_URL}" \ sha256sum "${RESULT_FILE}" >> "${BUILD_DIR}/checksum.sha256" # API key missing -RESULT_FILE="${BUILD_DIR}/${API_ENDPOINT}_token-missing_API_TOKEN" +RESULT_FILE="${BUILD_DIR}/${API_ENDPOINT}_token-missing_API_TOKEN.json" curl -X GET "${API_ENDPOINT_URL}" \ -H "accept: application/json" \ -H "X-API-Key: ${API_TOKEN}" > "${RESULT_FILE}" diff --git a/src/testing_with_CURL/testing_composition-familiale_endpoint.sh b/src/testing_with_CURL/testing_composition-familiale_endpoint.sh index 732ff7a..85034fe 100755 --- a/src/testing_with_CURL/testing_composition-familiale_endpoint.sh +++ b/src/testing_with_CURL/testing_composition-familiale_endpoint.sh @@ -82,7 +82,7 @@ curl -X GET "${API_ENDPOINT_URL}" \ sha256sum "${RESULT_FILE}" >> "${BUILD_DIR}/checksum.sha256" # API key missing -RESULT_FILE="${BUILD_DIR}/${API_ENDPOINT}_token-missing_API_TOKEN" +RESULT_FILE="${BUILD_DIR}/${API_ENDPOINT}_token-missing_API_TOKEN.json" curl -X GET "${API_ENDPOINT_URL}" \ -H "accept: application/json" \ -H "X-API-Key: ${API_TOKEN}" > "${RESULT_FILE}" diff --git a/src/testing_with_CURL/testing_etudiants_endpoint.sh b/src/testing_with_CURL/testing_etudiants_endpoint.sh index 055a361..63750bf 100755 --- a/src/testing_with_CURL/testing_etudiants_endpoint.sh +++ b/src/testing_with_CURL/testing_etudiants_endpoint.sh @@ -81,7 +81,7 @@ curl -X GET "${API_ENDPOINT_URL}" \ sha256sum "${RESULT_FILE}" >> "${BUILD_DIR}/checksum.sha256" # API key missing -RESULT_FILE="${BUILD_DIR}/${API_ENDPOINT}_token-missing_API_TOKEN" +RESULT_FILE="${BUILD_DIR}/${API_ENDPOINT}_token-missing_API_TOKEN.json" curl -X GET "${API_ENDPOINT_URL}" \ -H "accept: application/json" \ -H "X-API-Key: ${API_TOKEN}" > "${RESULT_FILE}" diff --git a/src/testing_with_CURL/testing_introspect_endpoint.sh b/src/testing_with_CURL/testing_introspect_endpoint.sh index 2ceb24f..8c27d52 100755 --- a/src/testing_with_CURL/testing_introspect_endpoint.sh +++ b/src/testing_with_CURL/testing_introspect_endpoint.sh @@ -80,7 +80,7 @@ curl -X GET "${API_ENDPOINT_URL}" \ sha256sum "${RESULT_FILE}" >> "${BUILD_DIR}/checksum.sha256" # API key missing -RESULT_FILE="${BUILD_DIR}/${API_ENDPOINT}_token-missing_API_TOKEN" +RESULT_FILE="${BUILD_DIR}/${API_ENDPOINT}_token-missing_API_TOKEN.json" curl -X GET "${API_ENDPOINT_URL}" \ -H "accept: application/json" \ -H "X-API-Key: ${API_TOKEN}" > "${RESULT_FILE}" diff --git a/src/testing_with_CURL/testing_situations-pole-emploi_endpoint.sh b/src/testing_with_CURL/testing_situations-pole-emploi_endpoint.sh index 0621107..b957f33 100755 --- a/src/testing_with_CURL/testing_situations-pole-emploi_endpoint.sh +++ b/src/testing_with_CURL/testing_situations-pole-emploi_endpoint.sh @@ -81,7 +81,7 @@ curl -X GET "${API_ENDPOINT_URL}" \ sha256sum "${RESULT_FILE}" >> "${BUILD_DIR}/checksum.sha256" # API key missing -RESULT_FILE="${BUILD_DIR}/${API_ENDPOINT}_token-missing_API_TOKEN" +RESULT_FILE="${BUILD_DIR}/${API_ENDPOINT}_token-missing_API_TOKEN.json" curl -X GET "${API_ENDPOINT_URL}" \ -H "accept: application/json" \ -H "X-API-Key: ${API_TOKEN}" > "${RESULT_FILE}" -- GitLab