feego-common-web-starter

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

License

License

GroupId

GroupId

io.github.lvyahui8
ArtifactId

ArtifactId

feego-common-web-starter
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

feego-common-web-starter
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-web-starter

Download feego-common-web-starter

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
org.springframework.boot : spring-boot-autoconfigure jar 2.1.1.RELEASE
io.github.lvyahui8 : feego-common-web-core jar 1.1.0

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