JohanMoreau / think2021-akmebank-app

Created for toolchain: https://cloud.ibm.com/devops/toolchains/f7bf9e95-8849-4589-9404-938d29e95176?env_id=ibm:yp:eu-de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demo for Akme Bank with COS

App based on Command Query Responsibility Segregation (CQRS) Using Java and Quarkus and COS Java SDK.

Deploying

Deploying the account-command-ms:

cd account-command-ms 
make deploy 

Deploying the account-query-ms:

cd account-query-ms
make deploy

Loading customer data in COS

This is list of available commands:

accounts <command>

Commands:
  accounts create <n>                   create n users with 3 accounts each
  accounts create-named <first> <last>  create named user with 3 accounts
  accounts delete-users                 delete all users
  accounts delete-accounts              delete all accounts
  accounts list-users                   list all users
  accounts list-accounts                list all accounts

To create 10 random users with accounts, run:

kubectl run --generator=run-pod/v1  cli --rm -it --image us.icr.io/paolo/account-cli -- create 10

For the demo, create a named user with accounts as follow:

kubectl run --generator=run-pod/v1  cli --rm -it --image us.icr.io/paolo/account-cli -- create-named Jack Doe

To list users, run:

kubectl run --generator=run-pod/v1  cli --rm -it --image us.icr.io/paolo/account-cli -- list-users

To list accounts, run:

kubectl run --generator=run-pod/v1  cli --rm -it --image us.icr.io/paolo/account-cli -- list-accounts

To delete all users and accounts, run:

kubectl run --generator=run-pod/v1  cli --rm -it --image us.icr.io/paolo/account-cli -- delete-accounts
kubectl run --generator=run-pod/v1  cli --rm -it --image us.icr.io/paolo/account-cli -- delete-accounts

#test PR 5

AKME Terraform configuration for Cloud infrastructure.

AKME Architecture

About

Created for toolchain: https://cloud.ibm.com/devops/toolchains/f7bf9e95-8849-4589-9404-938d29e95176?env_id=ibm:yp:eu-de


Languages

Language:Java 63.2%Language:JavaScript 11.7%Language:HTML 9.1%Language:HCL 6.9%Language:Pug 3.7%Language:CSS 3.1%Language:Makefile 2.1%Language:Dockerfile 0.3%