Skip to content

Commit

Permalink
fix(data-thesesul): fix something
Browse files Browse the repository at this point in the history
  • Loading branch information
leogail committed Oct 17, 2024
1 parent 57a65a4 commit 07dc198
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion services/data-thesesul/tests.hurl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ variable "computing_token" exists
POST {{host}}/v1/retrieve-tests
content-type: application/json
[Options]
delay: 10000
delay: 20000
```
[
{
Expand All @@ -30,6 +30,7 @@ delay: 10000
```

HTTP 200
Content-Type: application/json
```
[
{
Expand Down
6 changes: 3 additions & 3 deletions services/data-thesesul/v1/recorder.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ bucket = recorder
# jsonl = false
# compress = false

# Step 2.4 (générique): Signaler le fin du traitement via un appel à un webhook (si il a été précisé)
# Step 2.4 (générique): Signaler le fin du traitement via un appel à un webhook (s'il a été précisé)
[swing]
test = env('headers.x-webhook-success').startsWith('http')

# Step 2.4.1 (générique): Séléctionner les informations à envoyer au webhook
# Step 2.4.1 (générique): Sélectionner les informations à envoyer au webhook
[swing/replace]
path = url
value = env('headers.x-webhook-success')
Expand All @@ -38,7 +38,7 @@ value = self().pick(['size', 'atime', 'mtime', 'ctime']).set('identifier', env('
[swing/debug]
text = fix('Result generated by', env('generator'), 'for', env('identifier')).join(' ')

# Step 2.4.2 (générique): Envoyer la requète HTTP
# Step 2.4.2 (générique): Envoyer la requête HTTP
[swing/URLFetch]
url = env('headers.x-webhook-success').trim()
path = body
Expand Down

0 comments on commit 07dc198

Please sign in to comment.