项目作者: motaharinia

项目描述 :
a microservice utility includes calendar, captcha, custom exception, custom field, custom validation, encoding, FSO, generic model, gRPC, image, JSON, jstree, object, reflection, string, zip.
高级语言: Java
项目地址: git://github.com/motaharinia/msutility.git
创建时间: 2020-10-24T16:26:07Z
项目社区:https://github.com/motaharinia/msutility

开源协议:

下载


ms-utility

this project is a shared common utility project for microservice projects as a pom dependency to reduce boilerplate code in multiple projects.

Project Descriptions:

build with java-doc:

  • if your windows account is for example “myuser” and you have “C:\Users\MyUser.m2\repository\com\motaharinia\ms-utility” folder, remove it.
  • open ms-utility project by IntellliJ IDEA(enable auto import , Windows defender automatic fix) and check in “project structure” that jdk 11 is selected.
  • in IntellliJ IDEA open right side maven panel and select lifecycle/install and run maven to build it in “C:\Users\MyUser.m2\repository\com\motaharinia\ms-utility”

Change Log:

  • 0.0.1 : initial project
  • 0.0.2 : add type conversion for Instant,LocalDate,LocalDateTime in CustomMapper class. add languages for customvalidation messages

IntellliJ IDEA Configurations:

  • IntelijIDEA: Help -> Edit Custom Vm Options -> add these two line:
    • -Dfile.encoding=UTF-8
    • -Dconsole.encoding=UTF-8
  • IntelijIDEA: File -> Settings -> Editor -> File Encodings-> Project Encoding: form “System default” to UTF-8. Maybe it affected somehow.
  • IntelijIDEA: File -> Settings -> Editor -> General -> Code Completion -> check “show the documentation popup in 500 ms”
  • IntelijIDEA: File -> Settings -> Editor -> General -> Auto Import -> check “Optimize imports on the fly (for current project)”
  • IntelijIDEA: File -> Settings -> Editor -> Color Scheme -> Color Scheme Font -> Scheme: Default -> uncheck “Show only monospaced fonts” and set font to “Tahoma”
  • IntelijIDEA: File -> Settings -> Editor -> Proofreading -> add “farsi” language for graze spell check
  • IntelijIDEA: Run -> Edit Configuration -> Spring Boot -> XXXApplication -> Configuration -> Environment -> VM Options: -Dspring.profiles.active=dev
  • IntelijIDEA: Run -> Edit Configuration -> Spring Boot -> XXXApplication -> Code Coverage -> Fix the package in include box