Mica

Mica mica, meaning the core of cloud service, enhances the function of Spring Cloud, making the development of Spring Cloud service more convenient and quick.

Mica 2.x core dependencies

Mica is based on Java 8, has no historical baggage and supports legacy servlets and Reactive (WebFlux). Use mica-Auto to automatically generate spring.factories and spring-devtools.properties. There are few core components of microservices on the market.

Rely on version
Spring Boot X 2.2.

About this release

Mica 2.0 has been incubated internally for about half a year. The main changes to this open source module are as follows:

  • Enhanced Base Toolset (MICA-Core)
  • Reduce dependencies (MICA-HTTP)
  • Optimized Flow Limiting Algorithm (MICA-Redis)
  • Support for Arithmetic CaptCHA (MICA-CAPTCHA)
  • Added xxL-job stater easy access (micA-Jobs)

There are some modules missing in this version compared with MICA 1.x. The main reasons are as follows:

  1. mica-launcher 、 mica-boot-test mica 2.xIt has been streamlined in a new way.
  2. Some modules are not open source for this version, and will be gradually opened later.
  3. Part of the module development degree is relatively low, transferred to internal research and development.
  4. Other modules paid to provide, paid version of many modules have been through. Knowledge pay, let you and I go further!!

Existing modules of MICA 2.x:

Note: the left unlocked module will be opened later.

Updated instructions

  • ✨ mica-http Supports specified protocol protocols.
  • ⚡ mica- HTTP extension HttpRequest Proxy method, easy to use.
  • ✨ mica-http Remove micA-spider tool, simplify dependencies.
  • ✨ mica – spiders enhance CssQueryMethodInterceptor.
  • ⚡ MICA-CAPTCHA Supports mathematical verification codes.
  • ✨ micA-CAPtCHA Verification code cache interface to improve verification code generation description.
  • ✨ mica- Swagger Upgrade Swagger to Knife4J.
  • ✨ MicA-Redis traffic limiting algorithm is changed to the same as Spring Cloud Gateway to reduce memory usage.
  • ✨ mica-jobs Adds xxl-job starter.
  • ✨ micA-core Generates micA version information to the MICA class.
  • ✨ micA-core adds compiler tool classes.
  • ✨ mica-core adds CountMap for counting.
  • ✨ mica-core Adds the Once object.
  • ✨ Mica-core Jackson packages are moved to micA-boot and adjusted to support micA-apI-encrypt components.
  • ✨ MICA-core simplifies AES utility class code.
  • ⚡ micA – Core optimized DateUtil.
  • ⚡ mica-core optimizes RuntimeUtil.
  • ✨ Mica-core disassembly completes HexUtil.
  • ✨ mica-core adds DesUtil.
  • ✨ mica-core Adds RsaUtil.
  • ✨ micA-core optimizes the ResourceUtil utility class.
  • ✨ micA – Core Fine tuning Bean copy.
  • ✨ mica- Core function adds serialization.
  • ✨ mica-core MD5 no longer relies on Spring DigestUtils.
  • ✨ mica- Core optimized file tool for file name processing.
  • ⚡ add gitattributes.
  • ⚡ @Configuration is replaced with @Configuration (proxyBeanMethods = false).
  • ⬆️ Upgrade okhttp to 3.14.8.
  • ⬆️ Upgrade Jsoup to 1.13.1.
  • ⬆️ Upgrade mica-Auto to 1.2.2.
  • ⬆️ Upgrade Spring Boot to 2.2.6. Spring Boot 2.2.x is no longer supported.
  • ⬆️ Upgrade Spring Cloud to Hoxton.sr4.

The document

  • Mica source: Github: github.com/lets-mica
  • Mica source Gitee (code cloud) : gitee.com/596392912/m…
  • Document address (website) : www.dreamlu.net/mica2x/inde…
  • Documentation address (Language – subscribe to follow) : www.yuque.com/dreamlu
  • Example project: github.com/lets-mica/m…

Welcome to our official account: JAVA architecture Diary, wonderful content daily push.