Name: sample.mono-to-ms.pbw-images
Owner: WASdev
Description: An image service for the plants By WebSphere sample application. #JavaEE7
Created: 2015-11-23 16:22:31.0
Updated: 2016-01-15 15:25:51.0
Pushed: 2016-01-06 11:41:12.0
Size: 6252
Language: Java
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This microservice provides a repository for images associated with the Plants By WebSphere application.
Plants by WebSphere is an Internet storefront application that specializes in the sale of plants and gardening tools. Using the Plants by WebSphere store front, customers can open accounts, browse for items to purchase, view product details, and place orders.
As part of evolving this application into microservices, this microservice provides access to all images. The main monolithic application redirects the client to this service. This service then returns images, either from its database or from its resources, via a REST API.
Download the code to your system and run:
will build the application and downlaod a copy of Liberty. To run the app after this, run:
To prove your install is ready, navigate to http://localhost:9081/images/resources/veggies_strawberries_48.jpg. This should return an image. From here, the pbw-monolith application should pull images from this server.
Starting the evolution to microservices (using the Plants By WebSphere sample)