diff --git a/java-magazine-trains/README.md b/java-magazine-trains/README.md index 66bbf91..425f341 100644 --- a/java-magazine-trains/README.md +++ b/java-magazine-trains/README.md @@ -59,9 +59,9 @@ The example uses docker to build and run the microservices. 3. Build a Docker image for every microservice we have: ```bash - $ docker build -t trains/ui –f ui/Dockerfile . - $ docker build -t trains/routes –f routes/Dockerfile . - $ docker build -t trains/bookings –f bookings/Dockerfile . + $ docker build -t trains/ui -f ui/Dockerfile . + $ docker build -t trains/routes -f routes/Dockerfile . + $ docker build -t trains/bookings -f bookings/Dockerfile . ``` 4. Start the created containers with the appropriate environment variables that serve as the containers config: * `BASE_URI` should contain the microservice actual url (in our case we will use the Docker hosts IP) @@ -82,4 +82,4 @@ The application/service can be accessed on the following URLs: * Routes service - http://localhost:3001/routes * Bookings service - http://localhost:3002/bookings -To shut down the example simply stop and destroy the created containers. \ No newline at end of file +To shut down the example simply stop and destroy the created containers. diff --git a/java-magazine-trains/ui/src/main/resources/webapp/WEB-INF/web.xml b/java-magazine-trains/ui/src/main/resources/webapp/WEB-INF/web.xml index 482f32f..4089d89 100644 --- a/java-magazine-trains/ui/src/main/resources/webapp/WEB-INF/web.xml +++ b/java-magazine-trains/ui/src/main/resources/webapp/WEB-INF/web.xml @@ -22,4 +22,7 @@ faces/index.xhtml - \ No newline at end of file + + com.sun.faces.config.ConfigureListener + + diff --git a/java-magazine-trains/ui/src/main/resources/webapp/index.xhtml b/java-magazine-trains/ui/src/main/resources/webapp/index.xhtml index 0bf4ec3..6300329 100644 --- a/java-magazine-trains/ui/src/main/resources/webapp/index.xhtml +++ b/java-magazine-trains/ui/src/main/resources/webapp/index.xhtml @@ -36,13 +36,13 @@ Route start location - #{route.start} + #{route.startPlace} Route end location - #{route.end} + #{route.endPlace} @@ -54,4 +54,4 @@ - \ No newline at end of file +