- Git
- Gradle (
sdk install gradle 3.1
) - lomok install idea plugin lombok
- google-java-format install idea https://github.com/google/google-java-format
- style check with google java style
- integrate findbugs to quantity check
- integrate jacoco for test coverage
- integrate flyway to do migration
- integrate Orika to do object mapping
- use git properties to provide service info
- use spring boot builtin build info to provide service info
- integrate querydsl to enhance db query and custom repository factory bean to provide join fetch
- schedule with quartz
- jsr303 support
- lombok integrate
- Java SE8 Date & Time
- support query/path params validator
- integrate springfox api documentation
- coupons service not integrate any account system or authorization strategy like OAuth, it can be extended simply by defining some filter.
- at current, it simply extract operator information from specific headers
-
account type definitions: SYSTEM, VENDOR, STORE, CLIENT
-
Account_Type Vendor_Id Store_Id Open_Id SYSTEM N/A N/A N/A VENDOR REQUIRED N/A N/A STORE REQUIRED REQUIRED N/A CLIENT N/A N/A REQUIRED
Visit http://localhost:8080/swagger-ui.html
Run gradle
for clean build
- Run
gradle bootRun
to start application - Attach 5005 to remote to fire a debug
- Run
gradle bootRun
to start application also it will trigger spring boot devTools - Code in idea and press CMD+Shift+F9 to compile current class
- Please change to public repository before build
- Any class located in base or common will be move to chainz-core in future
- Should cover unit tests
- Should integrate authorization strategy in future