Skip to content

Commit ac05199

Browse files
committed
renaming
1 parent b8070fa commit ac05199

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

services/static-webserver/client/source/class/osparc/data/Resources.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -347,13 +347,17 @@ qx.Class.define("osparc.data.Resources", {
347347
},
348348
}
349349
},
350-
"jobsActive": {
350+
"jobs": {
351351
useCache: false, // handled in osparc.store.Jobs
352352
endpoints: {
353-
getPageLatest: {
353+
getPageLatestActive: {
354354
method: "GET",
355355
url: statics.API + "/computations/-/iterations/latest?offset={offset}&limit={limit}&order_by=%7B%22field%22:%22submitted_at%22,%22direction%22:%22desc%22%7D&filter_only_running=true"
356356
},
357+
getPageHistory: {
358+
method: "GET",
359+
url: statics.API + "/computations/{studyId}/iterations?offset={offset}&limit={limit}"
360+
},
357361
}
358362
},
359363
"subJobs": {
@@ -363,10 +367,6 @@ qx.Class.define("osparc.data.Resources", {
363367
method: "GET",
364368
url: statics.API + "/computations/{studyId}/iterations/latest/tasks?offset={offset}&limit={limit}"
365369
},
366-
getPageHistory: {
367-
method: "GET",
368-
url: statics.API + "/computations/{studyId}/iterations?offset={offset}&limit={limit}"
369-
},
370370
}
371371
},
372372
"folders": {

services/static-webserver/client/source/class/osparc/store/Jobs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ qx.Class.define("osparc.store.Jobs", {
5656
const options = {
5757
resolveWResponse: true
5858
};
59-
return osparc.data.Resources.fetch("jobsActive", "getPageLatest", params, options)
59+
return osparc.data.Resources.fetch("jobs", "getPageLatestActive", params, options)
6060
.then(jobsResp => {
6161
this.fireDataEvent("changeJobsActive", jobsResp["_meta"]["total"]);
6262
const jobsActive = [];

0 commit comments

Comments
 (0)