A Java DAPR workshop showcasing how DAPR's component model can accelerate developers ability to develop and ship distributed applications in Azure Kubernetes Service and Azure Container Apps.
Перейти к файлу
Pierre Malarme 6bb5daad30 Add more homogeinity in the documentation 2023-03-22 18:06:25 +01:00
.vscode push code and docs to Azure github repo 2022-06-06 19:42:55 -04:00
FineCollectionService Update FineCollectionService to accept base url for vehicle registration service 2023-03-22 13:45:59 +01:00
Simulation Add base URL to override the current config in case we need to explicitetly use a service URL like one exposed with Ingress 2022-11-24 14:17:07 +01:00
TrafficControlService Update Dapr SDK version, add assignment 7 to invoke a service from a service using Dapr, add assignment 8 to use Redis as a state store, update state store to use the DaprClient instead of the RestTemplate 2022-10-24 18:55:19 +02:00
VehicleRegistrationService push code and docs to Azure github repo 2022-06-06 19:42:55 -04:00
dapr Add more homogeinity in the documentation 2023-03-22 18:06:25 +01:00
deploy Add more homogeinity in the documentation 2023-03-22 18:06:25 +01:00
docs Add more homogeinity in the documentation 2023-03-22 18:06:25 +01:00
img added zipkin screenshot 2022-06-13 11:39:52 -06:00
.gitattributes push code and docs to Azure github repo 2022-06-06 19:42:55 -04:00
.gitignore Add the setup of Azure Key Vault as a secrets store and how to retrieve a secret in the application. Update git-ignore to do not commit dapr components with secrets 2022-12-01 13:58:13 +01:00
CODE_OF_CONDUCT.md CODE_OF_CONDUCT.md committed 2022-06-06 16:30:37 -07:00
LICENSE LICENSE updated to template 2022-06-06 16:30:38 -07:00
README.md Update README.md 2023-03-20 18:08:28 -04:00
SECURITY.md SECURITY.md committed 2022-06-06 16:30:39 -07:00
SUPPORT.md SUPPORT.md committed 2022-06-06 16:30:40 -07:00
docker-compose-confluent.yml push code and docs to Azure github repo 2022-06-06 19:42:55 -04:00
docker-compose.yml push code and docs to Azure github repo 2022-06-06 19:42:55 -04:00
pom.xml Update Dapr SDK version, add assignment 7 to invoke a service from a service using Dapr, add assignment 8 to use Redis as a state store, update state store to use the DaprClient instead of the RestTemplate 2022-10-24 18:55:19 +02:00

README.md

Java Dapr-AKS-ACA Workshop

Introduction

This workshop teaches you how to apply Dapr to a Java microservices application and enable developers to move between multiple pub-sub, state stores and secret store components seamlessly. It also demonstrates Dapr's builtin support for distributed tracing using any backend monitoring tools. Finally, the workshop provides hands on experience in deploying the microservices in both Azure Kubernetes Service (AKS) and Azure Contaner Apps

The domain

For the assignments you will be working with a speeding-camera setup as can be found on several Dutch highways. This is an overview of the fictitious setup you're simulating:

Speeding cameras

There's 1 entry-camera and 1 exit-camera per lane. When a car passes an entry-camera, the license-number of the car and the timestamp is registered.

When the car passes an exit-camera, this timestamp is also registered by the system. The system then calculates the average speed of the car based on the entry- and exit-timestamp. If a speeding violation is detected, a message is sent to the Central Fine Collection Agency (or CJIB in Dutch). They will retrieve the information of the owner of the vehicle and send him or her a fine.

Workshop

The workshop is available here.