blibli-backend-framework icon indicating copy to clipboard operation
blibli-backend-framework copied to clipboard

Blibli.com Backend Framework

Blibli Backend Framework

Blibli Backend Framework is various spring boot 2 libraries for Blibli.com backend projects.

Setup

To use blibli backend framework, we need to setup our pom.xml

<!-- Set parent project -->
<parent>
    <groupId>com.blibli.oss</groupId>
    <artifactId>blibli-backend-framework</artifactId>
    <version>...</version>
    <relativePath/> <!-- lookup parent from repository -->
</parent>

<!-- Set blibli framework version -->
<properties>
    <blibli-framework.version>...</blibli-framework.version>
</properties>

<!-- add blibli bintray repository --> 
<repositories>
    <repository>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <id>bintray-bliblidotcom-maven</id>
      <name>bintray</name>
      <url>https://dl.bintray.com/bliblidotcom/maven</url>
    </repository>
</repositories>

Example Project

If you need example project, you can see this repository :

https://github.com/bliblidotcom/blibli-backend-framework-example

List of Libraries

  • Common : standard request and response
  • Mandatory Parameter : mandatory parameter for backend to backend communication
  • Version : standard application version information
  • Swagger : open api and swagger generator
  • Reactor : simplify project reactor usage
  • API Client : non blocking declarative restful api client
  • Kafka : simplify spring kafka usage
  • Command : command pattern implementation
  • Aggregate Query : api client for aggregate query
  • Scheduler Platform : api client for scheduler platform
  • JSON: simplify json manipulation usage
  • Validation : reactive bean validation
  • Sleuth : simplify spring sleuth usage
  • External API : helper for external api app
  • Internal API : helper for internal api app