This repository has been archived by the owner on Jul 17, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
michael-conway
committed
Mar 3, 2017
1 parent
b73c813
commit 5d39fc9
Showing
4 changed files
with
49 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
metadata-template-rest/src/main/java/org/irods/jargon/rest/metadatatemplate/PingApi.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
package org.irods.jargon.rest.metadatatemplate; | ||
|
||
import javax.ws.rs.GET; | ||
import javax.ws.rs.NotFoundException; | ||
import javax.ws.rs.Path; | ||
import javax.ws.rs.Produces; | ||
import javax.ws.rs.QueryParam; | ||
import javax.ws.rs.core.Context; | ||
import javax.ws.rs.core.Response; | ||
import javax.ws.rs.core.SecurityContext; | ||
|
||
import org.springframework.beans.factory.annotation.Autowired; | ||
|
||
@Path("/ping") | ||
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaResteasyServerCodegen", date = "2017-02-23T17:08:15.207-05:00") | ||
public class PingApi { | ||
@Autowired | ||
private PingApiService pingApiService; | ||
|
||
@GET | ||
@Produces({ "application/json", "application/xml" }) | ||
public Response ping(@QueryParam("midTierOnly") Boolean midTierOnly, | ||
@Context SecurityContext securityContext) throws NotFoundException, | ||
org.irods.jargon.rest.metadatatemplate.NotFoundException { | ||
return pingApiService.ping(midTierOnly, securityContext); | ||
} | ||
|
||
/** | ||
* @return the pingApiService | ||
*/ | ||
public PingApiService getPingApiService() { | ||
return pingApiService; | ||
} | ||
|
||
/** | ||
* @param pingApiService | ||
* the pingApiService to set | ||
*/ | ||
public void setPingApiService(PingApiService pingApiService) { | ||
this.pingApiService = pingApiService; | ||
} | ||
} |
34 changes: 0 additions & 34 deletions
34
...a-template-service-impl/src/main/java/org/irods/jargon/rest/metadatatemplate/PingApi.java
This file was deleted.
Oops, something went wrong.