Challenge Overview
Recently Topcoder has developed an Product Inventory Audit Web Application. The web application is a culimination of a series of challenges. First we developed a web crawler to pull the raw html from the site, and data extraction processes to parse data and put information into the Vertica database platform. We've also developed a REST API which allows clients to access the data in JSON format over HTTP and the first client for this service - a Product Inventory Audit Web application.
In this challenge we need to address a few issue with our web application:
1. We need to make the values (which are URLs) in the following fields are links not just text:
2. Please update the currency values displayed in the app so that they are always displayed with 2 decimal places. Currently, we have a large number of currency values which drop the final zero (e.g. 125.5 rather than 125.50). I think the only fields that display currency values are the currentPrice, previousPrice, and strikedPrice fields. The currentPrice field is shown at the top of the productDetail page as well as in the product listing pages -- dashboard and search.
3. Our API has recently been updated to include a '\n' character when there is more than one item or a list of configuration options for a particular field. Our web app needs to be updated to capture the intent of these lists. There is a Multiple Items.doc file which contains screenshots of the product pages from the HP site and current state for the Product Inventory Web App. Obviously, linefeed characters won't display in the web app so translation to an HTML equivalent will be required.
Background.
No direct database access is required by this web app. You can access the REST API at the following address:
http://52.89.140.95:8080/api/v1/products
The documentation for the solution is very good. Simply look for the DeploymentGuide in the docs folder for instructions how to build and deploy the app.
Technology:
- Java version 1.7
Supported Browsers:
- IE10+
- Latest Google Chrome (Windows & Mac OS)
- Latest Safari (Windows & Mac OS)
- Latest Firefox (Windows & Mac OS)
Final Submission Guidelines
- Upload all your source code in a zip file.
- Provide documentation of your changes. You are welcome to fork our repository on GitHub: https://github.com/cloudspokes/hp_product_inventory_web_app. Just send your GitHub id in the forums and we'll add you as a collaborator which will allow you fork/read access to the repository. If you win the competition, it would be helpful it you can supply your changes as a merge request (optional).
- You should use the existing code as a starting point for your solution. Please use Maven as your build tool.