This project was created as a simple example to show how we can implement the hexagonal architecture(software design) proposed by Netflix.
MIT License
This project was created as a simple example to show how we can implement the hexagonal architecture(software design) proposed by Netflix in this article.
This project has business logic to get the software by author and software name inside a company, for this, it searches in the company's main git provider, which is Github. At some point, the company decides to change its git provider from Github to Gitlab; thus, changing the application's data source. To change datasource from Github to Gitlab switch @Primmary annotation between them and restart application
To clone and run this application, you'll need Git installed on your computer(or no, if you want to download .zip). From your command line:
# Git CLI
git clone https://github.com/zevolution/netflix-hexagonal-architecture.git
# Github CLI
gh repo clone zevolution/netflix-hexagonal-architecture
mvn clean generate-resources
to generate stub OpenAPI structure with OpenAPI Generator
in target folder.8180
5105
9190
/service--softwares-info
/service--softwares-info/swagger-ui/
/actuator
You can execute startup.sh
, before grant execution permissions with chmod +x startup.sh
. If you can't run startup.sh
, follow these steps:
docker-compose up