WASdev/sample.mono-to-ms.pbw-images

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

Homepage:

Size: 6252

Language: Java

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Image service for the Plants By WebSphere monlith

This microservice provides a repository for images associated with the Plants By WebSphere application.

Background

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.

Installation

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.

Further reading

Starting the evolution to microservices (using the Plants By WebSphere sample)


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.