Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ProActive
scheduling
Commits
1ee7ee88
Unverified
Commit
1ee7ee88
authored
May 19, 2020
by
Fabien Viale
Committed by
GitHub
May 19, 2020
Browse files
Merge pull request #3761 from fviale/master
Change content-type produced by log outputs
parents
329cf783
9dc75081
Changes
1
Hide whitespace changes
Inline
Side-by-side
rest/rest-api/src/main/java/org/ow2/proactive_grid_cloud_portal/common/SchedulerRestInterface.java
View file @
1ee7ee88
...
...
@@ -334,7 +334,7 @@ public interface SchedulerRestInterface {
@GET
@GZIP
@Path
(
"jobs/{jobid}/log/server"
)
@Produces
(
"
application/jso
n"
)
@Produces
(
"
text/plai
n"
)
String
jobServerLog
(
@HeaderParam
(
"sessionid"
)
String
sessionId
,
@PathParam
(
"jobid"
)
String
jobId
)
throws
RestException
;
...
...
@@ -801,7 +801,7 @@ public interface SchedulerRestInterface {
@GET
@GZIP
@Path
(
"jobs/{jobid}/log/full"
)
@Produces
(
"
application/jso
n"
)
@Produces
(
"
text/plai
n"
)
InputStream
jobFullLogs
(
@HeaderParam
(
"sessionid"
)
String
sessionId
,
@PathParam
(
"jobid"
)
String
jobId
,
@QueryParam
(
"sessionid"
)
String
session
)
throws
RestException
,
IOException
;
...
...
@@ -822,7 +822,7 @@ public interface SchedulerRestInterface {
@GET
@GZIP
@Path
(
"jobs/{jobid}/result/log/all"
)
@Produces
(
"
application/jso
n"
)
@Produces
(
"
text/plai
n"
)
String
jobLogs
(
@HeaderParam
(
"sessionid"
)
String
sessionId
,
@PathParam
(
"jobid"
)
String
jobId
)
throws
RestException
;
/**
...
...
@@ -1052,7 +1052,7 @@ public interface SchedulerRestInterface {
@GET
@GZIP
@Path
(
"jobs/{jobid}/tasks/{taskname}/result/log/all"
)
@Produces
(
"
application/jso
n"
)
@Produces
(
"
text/plai
n"
)
String
taskLog
(
@HeaderParam
(
"sessionid"
)
String
sessionId
,
@PathParam
(
"jobid"
)
String
jobId
,
@PathParam
(
"taskname"
)
String
taskname
)
throws
RestException
;
...
...
@@ -1072,7 +1072,7 @@ public interface SchedulerRestInterface {
@GET
@GZIP
@Path
(
"jobs/{jobid}/tasks/tag/{tasktag}/result/log/all"
)
@Produces
(
"
application/jso
n"
)
@Produces
(
"
text/plai
n"
)
String
taskLogByTag
(
@HeaderParam
(
"sessionid"
)
String
sessionId
,
@PathParam
(
"jobid"
)
String
jobId
,
@PathParam
(
"tasktag"
)
String
taskTag
)
throws
RestException
;
...
...
@@ -1093,7 +1093,7 @@ public interface SchedulerRestInterface {
@GET
@GZIP
@Path
(
"jobs/{jobid}/tasks/{taskname}/result/log/err"
)
@Produces
(
"
application/jso
n"
)
@Produces
(
"
text/plai
n"
)
String
taskLogErr
(
@HeaderParam
(
"sessionid"
)
String
sessionId
,
@PathParam
(
"jobid"
)
String
jobId
,
@PathParam
(
"taskname"
)
String
taskname
)
throws
RestException
;
...
...
@@ -1115,7 +1115,7 @@ public interface SchedulerRestInterface {
@GET
@GZIP
@Path
(
"jobs/{jobid}/tasks/tag/{tasktag}/result/log/err"
)
@Produces
(
"
application/jso
n"
)
@Produces
(
"
text/plai
n"
)
String
taskLogErrByTag
(
@HeaderParam
(
"sessionid"
)
String
sessionId
,
@PathParam
(
"jobid"
)
String
jobId
,
@PathParam
(
"tasktag"
)
String
taskTag
)
throws
RestException
;
...
...
@@ -1136,7 +1136,7 @@ public interface SchedulerRestInterface {
@GET
@GZIP
@Path
(
"jobs/{jobid}/tasks/{taskname}/result/log/out"
)
@Produces
(
"
application/jso
n"
)
@Produces
(
"
text/plai
n"
)
String
taskLogout
(
@HeaderParam
(
"sessionid"
)
String
sessionId
,
@PathParam
(
"jobid"
)
String
jobId
,
@PathParam
(
"taskname"
)
String
taskname
)
throws
RestException
;
...
...
@@ -1158,7 +1158,7 @@ public interface SchedulerRestInterface {
@GET
@GZIP
@Path
(
"jobs/{jobid}/tasks/tag/{tasktag}/result/log/out"
)
@Produces
(
"
application/jso
n"
)
@Produces
(
"
text/plai
n"
)
String
taskLogoutByTag
(
@HeaderParam
(
"sessionid"
)
String
sessionId
,
@PathParam
(
"jobid"
)
String
jobId
,
@PathParam
(
"tasktag"
)
String
taskTag
)
throws
RestException
;
...
...
@@ -1181,7 +1181,7 @@ public interface SchedulerRestInterface {
@GET
@GZIP
@Path
(
"jobs/{jobid}/tasks/{taskname}/result/log/full"
)
@Produces
(
"
application/jso
n"
)
@Produces
(
"
text/plai
n"
)
InputStream
taskFullLogs
(
@HeaderParam
(
"sessionid"
)
String
sessionId
,
@PathParam
(
"jobid"
)
String
jobId
,
@PathParam
(
"taskname"
)
String
taskname
,
@QueryParam
(
"sessionid"
)
String
session
)
throws
RestException
,
IOException
;
...
...
@@ -1200,7 +1200,7 @@ public interface SchedulerRestInterface {
@GET
@GZIP
@Path
(
"jobs/{jobid}/tasks/{taskname}/log/server"
)
@Produces
(
"
application/jso
n"
)
@Produces
(
"
text/plai
n"
)
String
taskServerLog
(
@HeaderParam
(
"sessionid"
)
String
sessionId
,
@PathParam
(
"jobid"
)
String
jobId
,
@PathParam
(
"taskname"
)
String
taskname
)
throws
RestException
;
...
...
@@ -1218,7 +1218,7 @@ public interface SchedulerRestInterface {
@GET
@GZIP
@Path
(
"jobs/{jobid}/tasks/tag/{tasktag}/log/server"
)
@Produces
(
"
application/jso
n"
)
@Produces
(
"
text/plai
n"
)
String
taskServerLogByTag
(
@HeaderParam
(
"sessionid"
)
String
sessionId
,
@PathParam
(
"jobid"
)
String
jobId
,
@PathParam
(
"tasktag"
)
String
taskTag
)
throws
RestException
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment