EOEPCA / proc-ades

Application Deployment and Execution Service (ADES) building block of the Processing & Chaining domain area
https://eoepca.github.io/proc-ades/master
Apache License 2.0
5 stars 5 forks source link

HTTP 404 "not found" on job result-API #27

Open njunike opened 2 years ago

njunike commented 2 years ago

A call to /nju/wps3/jobs provides:

{
    "jobs": [
        {
            "jobID": "91fa2774-5c37-11ed-addf-e24ac975c482",
            "status": "successful",
            "message": "ZOO-Kernel successfully run your service!",
            "links": [
                {
                    "title": "Status location",
                    "rel": "status",
                    "type": "application\/json",
                    "href": "\/nju\/wps3\/jobs\/91fa2774-5c37-11ed-addf-e24ac975c482"
                },
                {
                    "title": "Result location",
                    "rel": "http:\/\/www.opengis.net\/def\/rel\/ogc\/1.0\/results",
                    "type": "application\/json",
                    "href": "\/nju\/wps3\/jobs\/91fa2774-5c37-11ed-addf-e24ac975c482\/results"
                }
            ]
        }
    ],
    "links": [
        {
            "rel": "self",
            "type": "application\/json",
            "href": "\/nju\/wps3\/jobs"
        }
    ],
    "numberTotal": 1
}

But the listed URL /nju/wps3/jobs/91fa2774-5c37-11ed-addf-e24ac975c482/results raises a HTTP 404:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /_run/91fa2774-5c37-11ed-addf-e24ac975c482.json was not found on this server.</p>
</body></html>

Observed with ADES v2.0.0

njunike commented 2 years ago

Please note, that the analog workflow in ADES 1.2.0 works and provides link to S3 Object store with outputs. Also in Ades v2.0.0 the outputs are copied to S3 object store, but the "result"-object in API is not found