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

Ajout fonction recup_etat

parent 211c54e7
......@@ -3,11 +3,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''"
#curl -X GET -k -H 'X-Tenant-Id: 0' -H 'Content-Type: application/octet-stream' -H 'X-Access-Contract-Id: IN-ABES-0' -H 'X-Context-Id: DEFAULT_WORKFLOW' -H 'X-Action: RESUME' -H 'X-SSL-CLIENT-CERT: -----BEGIN CERTIFICATE----- MIIFrTCCA5WgAwIBAgIBKDANBgkqhkiG9w0BAQsFADBgMQswCQYDVQQGEwJmcjEP MA0GA1UECBMGZnJhbmNlMRQwEgYDVQQHEwttb250cGVsbGllcjEOMAwGA1UEChMF Q0lORVMxDDAKBgNVBAsTA0RBRDEMMAoGA1UEAxMDY2RjMB4XDTE5MDEzMDE0MDcw MFoXDTI5MDEzMDE0MDcwMFowYDELMAkGA1UEBhMCZnIxDzANBgNVBAgTBmZyYW5j ZTEUMBIGA1UEBxMLbW9udHBlbGxpZXIxDjAMBgNVBAoTBUNJTkVTMQwwCgYDVQQL EwNEQUQxDDAKBgNVBAMTA2NkYzCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoC ggIBAMljaFYH9m6N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VKgcSdFE5rSVMm2cbqx2 4oRO2zUS6RXgw078jLL0qc3bGS6DbvJKdedda+R3M3O5OhXnzoG+M6ctWDs1kz+7 5byVaJcuIlWY/1TAjvp/ExApadFhEqbYcZxAUME5lD5u1VQZankMIlNcjSaOBpTH znEJNcPubIQLMNFvVzfQ08lH1K8IJnPu6fHufmGAjcMb2AOvlrHUQewznh0NHMTC 0JCNUbMsa7jXyBRJw5qo6PTKq0NKJqmv9M/iBs2yBxgkkLXVUw8odb0DksZJKMVO O7C1JKbLkzApxAU5noLRuxcTyARW5VgWO6g+11BvC/9zgKbTepsonTYzjd8wTJMf m+kB4UNSVxijiaGpxefZyYA18jcUp3Ng6Sm6MrE+sqKyMps4uPHybZmQnuxgN5Mb US4asQKMm0YON5Ds9a3WO9ut9Sm9mILlEVrRXhNgYq7lf0fohfRwSQ9nq6g4y9KN M040HIG25l7t3LdjkgckiSs= -----END CERTIFICATE-----' -H 'Accept: */*' -i ''$1'/ingest-external/v1/ingests/'$2'/'$3''
# 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''"
#cat $1-$2.out | head -1 | awk '{print $1" "$2" "$3}'
#more $1-$2.out
......
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