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.
License: BSD 2-Clause "Simplified" License
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.
Add the IP address of the server the application is running on near the bottom of the map form
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 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
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
]
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"
}
]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.