Skip to content

This microservice handles the state of current bank accounts such as their status, balance, and other information.

Notifications You must be signed in to change notification settings

jackreeceejini/aline-account-microservice

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aline

Microservice Template


NOTE: This repository is not to be developed on. Create another repository and use this as a template.

Start developing your microservice here.



Creating Your Own Repository


  1. Create a repository under the Aline Financial organization.
  2. Select Aline-Financial/aline-microservice-template as the repository template.
  3. Clone your repository onto your machine.
  4. In the projects root, run git submodule init. A core/ directory should now be created.
  5. Run git submodule update to pull down the most recent core. (Note: This will clone the Core Repository that is automatically checked out to a hashed branch.)
  6. Rename main module to be your microservice. (ex. usermicroservice)
  7. Update CI/CD files to match project.
  8. Run mvn test to make sure your project builds!

If you get a success, you're all set. Start creating your microservice.




Managing the core


The core is a shared-code repository that contains classes such as:

  • Models
  • Data-Transfer Objects (DTO)
  • Repositories
  • Custom Exceptions
  • Etc...

Before you put code in the core, make sure to consider the following:

  • "Is there already code in the core that already solves my problem?"
  • "Will there be circular dependency between the core and the application module?"
  • "Will other microservices need to use this code?"

Carefully consider these questions.

Create a new branch in the core that matches the current feature branch you are working on in the main module.

When pushing up, make sure to run git status to make sure core changes do not need to be committed.

PUSH THE CORE FIRST

Once the core change are pushed into the repository, push your whole repository from the parent. The core branch will update.


Included Tools & Plugins:

  • Maven
  • SonarQube
  • JaCoCo
  • Jenkins (Jenkinsfile)
  • Docker (Dockerfile)
  • CloudFormation Template (ecs-aws.yaml)
  • Swagger 2
  • Swagger-UI (Access it by going to http://localhost:{port}/swagger-ui/)

For more information on tools & plugins included in this project, look at your repo's pom.xml.



Team Aline


About

This microservice handles the state of current bank accounts such as their status, balance, and other information.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%