bhliva commented on a change in pull request #294: [DLAB-1054]: Added
possibility to retrieve custom images per project
URL: https://github.com/apache/incubator-dlab/pull/294#discussion_r322718814
##########
File path:
services/self-service/src/main/java/com/epam/dlab/backendapi/resources/ImageExploratoryResource.java
##########
@@ -80,9 +80,10 @@ public Response createImage(@ApiParam(hidden = true) @Auth
UserInfo ui,
@ApiResponses(@ApiResponse(code = 200, message = "Machine images were
fetched successfully"))
public Response getImages(@ApiParam(hidden = true) @Auth UserInfo ui,
@ApiParam(value =
"Docker image", required = true)
-
@QueryParam("docker_image") String dockerImage) {
- log.debug("Getting images for user " + ui.getName());
- final List<ImageInfoRecord> images =
imageExploratoryService.getNotFailedImages(ui.getName(), dockerImage);
+
@QueryParam("docker_image") String dockerImage,
+
@QueryParam("project") String project) {
Review comment:
Please add swagger annotation for this param
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]