https://github.com/cyjay96/ubercadence
Uber Cadence application
https://github.com/cyjay96/ubercadence
Last synced: about 1 year ago
JSON representation
Uber Cadence application
- Host: GitHub
- URL: https://github.com/cyjay96/ubercadence
- Owner: CyJay96
- Created: 2022-08-10T09:32:49.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-31T12:11:39.000Z (almost 4 years ago)
- Last Synced: 2025-01-11T14:48:36.838Z (over 1 year ago)
- Language: Java
- Size: 96.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Uber Cadence application
## **Description**
Create an Uber Cadence application.
## **It should contain 3 services:**
Activity Worker Spring Boot application.
Workflow worker application.
Workflow launcher Spring boot application.
Use docker environment with Cadence to launch it locally.
## **Activity worker should contain 2 simple activities.**
First activity: takes weather information from any open API, for example
[openweathermap.org](https://openweathermap.org/).
Second activity: takes weather info and stores it in a database. Info for storing
is a time of record creation, name of city that we are storing and air
temperature. You can use any DB. It can even be embedded DB.
Workflow worker should contain workflow that will take info using the first
activity and store it using the second one.
Workflow launcher application launches a workflow using cadence client.
We're just call HTTP route with the name of the city we want to retrieve
weather for.
You can use any libraries, any services that can be used for task completion.
## **DOD:**
Cadence deployed in docker.
Workflow worker and Activity worker launched locally or in docker.
We`re launching a workflow using workflow launcher HTTP route.