Git Product home page Git Product logo

pcf-vehicle-simulator-microservices's Introduction

pcf-vehicle-simulator-microservices, formerly known as pcf-automotive-iot

To get started with this repo, deploy the apps found in the apps folder, and use the instructions in the data folder to load data using Spring XD and Rabbit MQ.

pcf-vehicle-simulator-microservices's People

Contributors

chjohnson-pivotal avatar rossr3-pivotal avatar vmwghbot avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pcf-vehicle-simulator-microservices's Issues

Add IP Address

Add the IP address of the server the application is running on near the bottom of the map form

Split the fuel and repair indicators in two

The green/yellow condition indicator really shows two independent states. If both conditions are yellow, we only see one of the messages, not both. It might be good to split the single indicator into two and flip their css individually based on state.

Add Kill Switch Functionality

Add a button on the bottom of the map form that kills the application so we can show how PCF will automatically recover when an application stops running

Refactor Gas Price Service to not require POJOs when consumed by Feign

Instead of returning JSON that looks like this:

{
"status": {
"error": "NO",
"code": 200,
"description": "none",
"message": "Request ok"
},
"stations": [
{
"id": "53330",
"lat": "42.501438",
"lng": "-83.284988",
"station": "Mobil",
"address": "29014 Telegraph Rd",
"city": "Southfield",
"region": "Michigan",
"zip": "48034",
"distance": "0 miles",
"reg_price": "2.91",
"mid_price": "2.85",
"pre_price": "3.10",
"diesel_price": "N/A",
"reg_date": "3 weeks ago",
"mid_date": "3 weeks ago",
"pre_date": "3 weeks ago",
"diesel_date": "3 weeks ago"
},
// more stations
]
}

Refactor so that it returns an array of stations like this:

[
{
"id": "53330",
"lat": "42.501438",
"lng": "-83.284988",
"station": "Mobil",
"address": "29014 Telegraph Rd",
"city": "Southfield",
"region": "Michigan",
"zip": "48034",
"distance": "0 miles",
"reg_price": "2.91",
"mid_price": "2.85",
"pre_price": "3.10",
"diesel_price": "N/A",
"reg_date": "3 weeks ago",
"mid_date": "3 weeks ago",
"pre_date": "3 weeks ago",
"diesel_date": "3 weeks ago"
},
// more stations
]

Refactor Dealer Service to not require POJOs when consumed by Feign

Instead of returning JSON that looks like this:

{
"dealers": [
{
"dealerId": "8353",
"name": "Avis Ford",
"niceName": "AvisFord",
"distance": 2.138886,
"active": true,
"address": {
"street": "29200 Telegraph Rd",
"city": "Southfield",
"stateCode": "MI",
"stateName": "Michigan",
"zipcode": "48034"
},
"operations": {
"Monday": "9:00 AM-9:00 PM",
"Tuesday": "9:00 AM-6:00 PM",
"Wednesday": "9:00 AM-6:00 PM",
"Thursday": "9:00 AM-9:00 PM",
"Friday": "9:00 AM-6:00 PM",
"Saturday": "10:00 AM-3:00 PM",
"Sunday": "Day off"
},
"type": "ROOFTOP"
},
// more dealers ..
]
}

Return a structure that returns an array of dealers like this:

[
{
"dealerId": "8353",
"name": "Avis Ford",
"niceName": "AvisFord",
"distance": 2.138886,
"active": true,
"address": {
"street": "29200 Telegraph Rd",
"city": "Southfield",
"stateCode": "MI",
"stateName": "Michigan",
"zipcode": "48034"
},
"operations": {
"Monday": "9:00 AM-9:00 PM",
"Tuesday": "9:00 AM-6:00 PM",
"Wednesday": "9:00 AM-6:00 PM",
"Thursday": "9:00 AM-9:00 PM",
"Friday": "9:00 AM-6:00 PM",
"Saturday": "10:00 AM-3:00 PM",
"Sunday": "Day off"
},
"type": "ROOFTOP"
}
]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.