Deleting all apps apart from those used in Ch1 and Ch2 labs

This commit is contained in:
Ravi Srinivasan
2019-06-07 12:51:10 +05:30
parent 9853abc4ac
commit a387a34d24
213 changed files with 0 additions and 6502 deletions

View File

@@ -1,20 +0,0 @@
package com.redhat.training.example.swarmhelloworld.rest;
import javax.ws.rs.Path;
import javax.ws.rs.core.Response;
import javax.ws.rs.GET;
import javax.ws.rs.Produces;
import java.net.InetAddress;
@Path("/")
public class ServerHostEndPoint {
@GET
@Produces("text/plain")
public Response doGet() throws Exception {
String host = InetAddress.getLocalHost().getHostName();
return Response.ok("I am running on server "+host+" Version 1.0 \n").build();
}
}