Skip to content

FalcarDE/aurumbanking-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


fhe logo

Cloud Computing- AurumBanking-Backend

Backend for the AurumBanking-Banking App.

For the detailed documentation, please following the steps.

Run mdkocs locally

  1. run on on root path of this project:
    • linux, mac: sh assemble-docs.sh
    • windows: ./assemble-docs.sh
  2. python -m pip install mkdocs
  3. python -m pip install mkdocs-material
  4. python -m mkdocs serve --dev-addr 127.0.0.1:4242

How to run stuff

Run Backend on PROD
  • start in the root dir of this project
  • run this shell scrip:
    • linix/mac: sh run.sh
    • windows: ./run.sh
  • press y/yes to build the entire project:

build-image

  • after build finish, press number 5 to run all docker-compose files:

build-docker

  • now we can see the services running

running-docker

  • go to browser: http://localhost/dashboard/

  • insert this credetials:

    • user
    • 123
  • here is the dashboard on prod:

traefik-dashboard

(back to top)

DEV-UI
  • http://localhost:8080/q/dev-ui/io.quarkus.quarkus-smallrye-openapi/swagger-ui
  • http://localhost:8080/q/dev-ui/io.quarkus.quarkus-kafka-client/topics
  • http://localhost:8080/dashboard/#/

(back to top)

Quarkus-UI in PROD

(back to top)

Prometheus & Grafana in PROD

(back to top)

run mkdocs locally
  • python -m pip install mkdocs
  • python -m pip install mkdocs-material
  • python -m mkdocs serve --dev-addr 127.0.0.1:4242

(back to top)

Pipeline

Setup-Pipeline

_token:_

  • linux: _glrt-xznuGhoqctjSmbVNxpm_
  • windows-hoang: _glrt-xznuGhoqctjSmbVNxpm_ / _glrt-aHawSL4WALWi1s6BXdVi_
  • steffan-gitlab-runner: _glrt-Fzfyj9euFsuo1f_szyUo_
  • milena-gitlab-runner: _glrt-pzYxkWTn55mxxy4S4hXA_
  • salma-gitlab-runner: _glrt-sQu4HSKd7RgotJkPHwCn_
docker run --rm -it -v gitlab-runner-config:/etc/gitlab-runner gitlab/gitlab-runner:latest register .\gitlab-runner.exe register --url https://git.ai.fh-erfurt.de --token [$token einfügen]
  • Enter the GitLab instance URL (for example, https://gitlab.com/): [https://git.ai.fh-erfurt.de]: [Enter]
  • Enter a name for the runner. This is stored only in the local config.toml file: aurumbanking-gitlab-runner
  • Enter an executor: parallels, virtualbox, docker, docker-autoscaler, instance, custom, shell, ssh, docker-windows, docker+machine, kubernetes: docker
  • Enter the default Docker image (for example, ruby:2.7): jdk:17
docker run -d --name gitlab-runner --restart always -v /var/run/docker.sock:/var/run/docker.sock -v gitlab-runner-config:/etc/gitlab-runner gitlab/gitlab-runner:latest
docker exec -it gitlab-runner /bin/bash
  • apt update
  • apt install nano
  • nano /etc/gitlab-runner/config.toml --> set: privileged = true

(back to top)

Pipeline Running Rules

Pipeline Running Rules

Set the branch name like the following rules, so only certain service related part of the entire pipeline will be executed.

Customer Information Service
  • Prepare Build Cache

    • Runs for branches matching: feature/customer-information-service
    • Also runs for the branch: test/permant and main
  • Build

    • Runs for branches matching: feature/customer-information-service
    • Also runs for the branch: test/permant and main
  • Build Image

    • Runs for branches matching: feature/customer-information-service
    • Also runs for the branch: test/permant and main

(back to top)

Depot Service
  • Prepare Build Cache

    • Runs for branches matching: feature/depot-service
    • Also runs for the branch: test/permant and main
  • Build

    • Runs for branches matching: feature/depot-service
    • Also runs for the branch: test/permant and main
  • Build Image

    • Runs for branches matching: feature/depot-service
    • Also runs for the branch: test/permant and main

(back to top)

Login Service
  • Prepare Build Cache

    • Runs for branches matching: feature/login-service
    • Also runs for the branch: test/permant and main
  • Build

    • Runs for branches matching: feature/login-service
    • Also runs for the branch: test/permant and main
  • Build Image

    • Runs for branches matching: feature/login-service
    • Also runs for the branch: test/permant and main

(back to top)

Support Service
  • Prepare Build Cache

    • Runs for branches matching: feature/support-service
    • Also runs for the branch: test/permant and main
  • Build

    • Runs for branches matching: feature/support-service
    • Also runs for the branch: test/permant and main
  • Build Image

    • Runs for branches matching: feature/support-service
    • Also runs for the branch: test/permant and main

(back to top)

Transaction Service
  • Prepare Build Cache

    • Runs for branches matching: feature/transaction-service
    • Also runs for the branch: test/permant and main
  • Build

    • Runs for branches matching: feature/transaction-service
    • Also runs for the branch: test/permant and main
  • Build Image

    • Runs for branches matching: feature/transaction-service
    • Also runs for the branch: test/permant and main

(back to top)

Documentation
  • Prepare Documentation Pages

    • Runs for branches matching: docs/
    • Also runs for the branch: test/permant and main
  • Build Documentation Pages

    • Runs for branches matching: docs/
    • Also runs for the branch: test/permant and main

(back to top)

(back to top)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published