feego-common-configuration-processor

Parent pom providing dependency and plugin management for applications built with Maven

License

License

Categories

Categories

Configuration Application Layer Libs config
GroupId

GroupId

io.github.lvyahui8
ArtifactId

ArtifactId

feego-common-configuration-processor
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

feego-common-configuration-processor
Parent pom providing dependency and plugin management for applications built with Maven
Project URL

Project URL

https://projects.spring.io/spring-boot/#/spring-boot-starter-parent/feego-common-configuration-processor

Download feego-common-configuration-processor

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.lvyahui8/feego-common-configuration-processor/ -->
<dependency>
    <groupId>io.github.lvyahui8</groupId>
    <artifactId>feego-common-configuration-processor</artifactId>
    <version>1.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.lvyahui8/feego-common-configuration-processor/
implementation 'io.github.lvyahui8:feego-common-configuration-processor:1.1.0'
// https://jarcasting.com/artifacts/io.github.lvyahui8/feego-common-configuration-processor/
implementation ("io.github.lvyahui8:feego-common-configuration-processor:1.1.0")
'io.github.lvyahui8:feego-common-configuration-processor:jar:1.1.0'
<dependency org="io.github.lvyahui8" name="feego-common-configuration-processor" rev="1.1.0">
  <artifact name="feego-common-configuration-processor" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.lvyahui8', module='feego-common-configuration-processor', version='1.1.0')
)
libraryDependencies += "io.github.lvyahui8" % "feego-common-configuration-processor" % "1.1.0"
[io.github.lvyahui8/feego-common-configuration-processor "1.1.0"]

Dependencies

compile (2)

Group / Artifact Type Version
commons-io : commons-io jar 2.6
org.apache.commons : commons-lang3 jar 3.9

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Feego Common

License Maven Central GitHub release

基础能力列表

模块说明

  • feego-common-configuration-processor : 编译器相关的注解处理器
  • feego-common-logging : 模块化日志核心
    • feego-common-logging-starter:模块化日志自动配置
  • feego-common-service
    • feego-common-service : 其它通用功能。代码量不足以独立成一个module的都放在这里面
    • feego-common-service-starter : 相关的bean自动配置
  • feego-common-web
    • feego-common-web:web http相关的通用能力核心
    • feego-common-web-starter:web http相关通用能力自动配置

测试模块

  • example/feego-common-example-api:主要作为依赖包提供给第三方,声明系统暴露的API
  • example/feego-common-example-api-starter:自动配置系统暴露的API,第三方引用此包
  • example/feego-common-example-service:测试服务核心代码
  • example/feego-common-example-start:测试服务启动类
  • example/feego-common-example-client:消费测试服务的客户端程序

Common Logging

public enum CustomModuleLogger implements EnumModuleLogger { 
  campaign,
  status,
  ;
}
CustomModuleLogger.campaign.debug(LogSchema.biz("qrcode-pay")
          .of("orderId",1234).of("amount",100).of("suc",'Y'));
CustomModuleLogger.campaign.debug("hello");
CustomModuleLogger.campaign.debug("hello {}","dj");
CustomModuleLogger.campaign.debug("hello {} {}","d,","j");
CustomModuleLogger.campaign.debug("hello {} {} {} {}",'d','j','b','j');

// output to file ${user.home}/logs/general/campaign.log
2020-10-13 23:38:20.505 [DEBUG] - tid:c0a8006b36b175229cc3c410000|#|biz:qrcode-pay|#|orderId:1234|#|amount:100|#|suc:Y|#|
2020-10-13 23:38:20.505 [DEBUG] - tid:c0a8006b36b175229cc3c410000|#|msg:hello|#|
2020-10-13 23:38:20.505 [DEBUG] - tid:c0a8006b36b175229cc3c410000|#|msg:hello dj|#|
2020-10-13 23:38:20.505 [DEBUG] - tid:c0a8006b36b175229cc3c410000|#|msg:hello d, j|#|
2020-10-13 23:38:20.505 [DEBUG] - tid:c0a8006b36b175229cc3c410000|#|msg:hello d j b j|#|

image-20201013233502251

Versions

Version
1.1.0
1.0.0