Re: [echidna] Generate unique id to identify the job (#60)

> +        requests[id] = {
> +            'id': id,
> +            'url': url,
> +            'decision': decision,
> +            'isManifest': isManifest,
> +            'jobs': {},
> +            'history': new History(),
> +            'status': STATUS_STARTED
> +        };
> +
> +        orchestrate(requests[id], isManifest, token).then(function () {
> +            console.log('Spec at ' + url + ' (decision: ' + decision + ') has FINISHED.');
> +        }, function (err) {
> +            console.log('Spec at ' + url + ' (decision: ' + decision + ') has FAILED.');
> +        });
> +        res.status(202).send(id);

Hi @ylafon ! Could you give an example of how you see the output of such request? That'd be helpful.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/echidna/pull/60/files#r24245867

Received on Friday, 6 February 2015 15:13:43 UTC