https://github.com/mgubaidullin/kepaso
Small and easy-to-use Dashboard for CloudEvents
https://github.com/mgubaidullin/kepaso
charts cloudevents dart flutter java quarkusio
Last synced: 7 days ago
JSON representation
Small and easy-to-use Dashboard for CloudEvents
- Host: GitHub
- URL: https://github.com/mgubaidullin/kepaso
- Owner: mgubaidullin
- License: apache-2.0
- Created: 2020-09-10T01:49:37.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-14T13:42:23.000Z (about 5 years ago)
- Last Synced: 2025-04-12T16:18:51.939Z (6 months ago)
- Topics: charts, cloudevents, dart, flutter, java, quarkusio
- Language: Dart
- Homepage:
- Size: 5.66 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# KEPASO




Small and easy-to-use Dashboard for CloudEvents.

## Requirements
- User should be able to POST data is JSON CloudEvent format
- User should be able to observe data as a Chart
- User should be able to start application in Docker container## Architecture
- UI - Flutter-based web interface
- Backend Quarkus-based application## Install
Pull docker image from [DockerHub](https://hub.docker.com/r/kepaso/kepaso)
```
docker pull kepaso/kepaso
```## Build
Requires Git and Docker installed.
```
git clone git@github.com:mgubaidullin/kepaso.git
docker build -t kepaso/kepaso .
```## Run
Application start
```
docker run -p 8080:8080 kepaso/kepaso
open http://localhost:8080
```Post cloudevent to ```http://host:port/events```
```
{
"specversion": "1.0",
"type": "com.example.someeventX",
"source": "/some-source",
"id": "C234-1234-1232",
"time": "2018-04-05T17:31:00Z",
"datacontenttype": "application/json",
"data": {
"appinfoA": 123,
"appinfoB": 456,
"appinfoC": 789
}
}
```
Command-line demo:
```
curl -X POST "http://0.0.0.0:8080/events" -H "accept: application/json" -H "Content-Type: application/json" -d '{"specversion" : "1.0","type" : "com.example.someevent","source" : "/mycontext1","id" : "C234-1234-1232","time" : "2018-04-05T17:31:00Z","datacontenttype" : "application/json","data" : {"value" : 1220,"appinfoB" : 1,"appinfoC" : 500}}'
```UI demo (click "Start demo" button):

**Enjoy your dashboard!**
## Performance
Startup time
```
kepaso 1.0.0 native (powered by Quarkus 1.7.3.Final) started in 0.039s.
```
Container size
```
REPOSITORY IMAGE ID CREATED SIZE
kepaso/kepaso 35e7dda20516 16 minutes ago 61.2MB
```
Memory usage after start
```
CONTAINER ID NAME CPU % MEM USAGE
5f77fd99167d kepaso 0.01% 5.488MiB
```
Memory usage while processing 1000s of events processed
```
CONTAINER ID NAME CPU % MEM USAGE
5f77fd99167d kepaso 12.43% 21.03MiB
```