< Previous Challenge - Home - Next Challenge >
In this challenge, you’ll run the reference application to ensure that everything works correctly.
As mentioned in the introduction, the hackathon challenges are built upon an existing microservice reference app, entitled the Traffic Control Application. To start, you’ll test the Traffic Control app to ensure that the application runs and your environment is configured correctly. You’ll use Visual Studio Code to start each of the 4 microservices shown below:
Keep in mind that you’ll be running the application without Dapr technology. As you work through the challenges, you’ll add Dapr-enable the application by adding Dapr Building Blocks and Components to it. Figure depicts the microservices in the reference application.
Run the Simulation application & associated services locally.
VehicleRegistrationService
. It exposes a single endpoint that listens for requests for vehicle and owner information.FineCollectionService
. It exposes an endpoint that assigns a fine to a speeding vehicles. To generate a fine, the FineCollectionService
must make a call to the VehicleRegistrationService
to obtain driver information.TrafficControlService
. It exposes entry and exit endpoints that capture a vehicle’s speed. When a motorist exceeds the speed limit, TrafficControlService
will call the FineCollectionService
.Simulation
application. It simulates vehicle traffic at varying speeds. It exposes entry and exit cameras that photograph the license plate of each vehicle. Vehicle telemetry is sent to the TrafficControlService
.
Simulation
application is implemented as a Console application, the other services as API applications.FineCollectionService
.dotnet run
command.