Commit c1afabaf authored by U-PALLAS\theron's avatar U-PALLAS\theron
Browse files

Modif GET.sh

parent 76d2f792
......@@ -3,9 +3,9 @@
path_curl=".";
# url des API Vitam:
url="https://10.6.10.34:"
#url="https://10.6.10.34:"
#url="https://prep-vit-acc-1-1.cines.fr:"
# url="https://vitam.cines.fr:"
url="https://vitam.cines.fr:"
# ports des API
......@@ -13,8 +13,8 @@ url="https://10.6.10.34:"
admin_ext_port="8444";
#Fichier pem du certificat:
certificat=`cat ./cert/cines_certificat.pem`
# certificat=`cat ./cert/cines_certificat.prod.pem`
# certificat=`cat ./cert/cines_certificat.pem`
certificat=`cat ./cert/cines_certificat.prod.pem`
# certificat=`cat uga_certificat.pem`
reqId=$1;
......
......@@ -2,6 +2,8 @@
curl -X GET -k -H 'X-Tenant-Id: 0' -H 'Content-Type: application/octet-stream' -H 'X-Access-Contract-Id: CE-000000' -H 'X-Context-Id: DEFAULT_WORKFLOW' -H 'X-Action: RESUME' -H 'X-SSL-CLIENT-CERT: -----BEGIN CERTIFICATE----- '$1' -----END CERTIFICATE-----' -H 'Accept: */*' -i ''$2'/ingest-external/v1/ingests/'$3'/'$4''
echo "curl -X GET -k -H 'X-Tenant-Id: 0' -H 'Content-Type: application/octet-stream' -H 'X-Access-Contract-Id: CE-000000' -H 'X-Context-Id: DEFAULT_WORKFLOW' -H 'X-Action: RESUME' -H 'X-SSL-CLIENT-CERT: -----BEGIN CERTIFICATE----- '$1' -----END CERTIFICATE-----' -H 'Accept: */*' -i ''$2'/ingest-external/v1/ingests/'$3'/'$4''"
# echo "
#curl -X GET -k -H 'X-Tenant-Id: 0' -H 'Content-Type: application/octet-stream' -H 'X-Access-Contract-Id: CE-000000' -H 'X-Context-Id: DEFAULT_WORKFLOW' -H 'X-Action: RESUME' -H 'X-SSL-CLIENT-CERT: -----BEGIN CERTIFICATE----- '$1' -----END CERTIFICATE-----' -H 'Accept: */*' -i ''$2'/ingest-external/v1/ingests/'$3'/'$4''"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment