Code Monkey home page Code Monkey logo

coding-spring-test's Introduction

coding-spring-test

功能描述

SpringBoot持续化集成开发项目
GitHub: https://github.com/csulwk/coding-spring-test.git

实现目标:

  • 集成mybatis和mysql
  • 集成swagger
  • 集成Git配置中心
  • 使用本地缓存配置
  • 对接日志云
  • 对接健康检查
  • 对接注册中心
  • 对接调用链和性能监控zipkin
  • 对接metrics和jvm监控, 集成prometheus和grafana组件
  • 使用jasypt增强安全性
  • 使用jenkins持续化集成

开发环境

  • SpringBoot 2.2.1
  • SpringCloud Hoxton.SR1
  • Jdk 1.8.66
  • Maven 3.6.0
  • MySQL 5.6.46
  • Docker 19.03.1
  • Jenkins 2.204.1
  • Zipkin 2.12.2
  • Elasticsearch 6.4.1
  • Kibana 6.4.1
  • Logstash 6.4.1
  • Filebeat 6.8.2
  • Prometheus 2.16.0
  • Grafana 6.7.0
  • Node-exporter 1.0.0-rc.0

项目结构

coding-spring-test
├─ bin
│  ├─ coding-spring-test.sh     -- 应用启动脚本
│  └─ jenkins_publisher.sh      -- Jenkins自动化发布脚本
├─ cfg
│  ├─ elk                       -- ELK组件配置
│  ├─ npg                       -- Prometheus配置
│  └─ jenkins                   -- Jenkins配置
├─ init
│  └─ db_test.sql               -- 初始化建表语句
├─ src
│  ├─ assembly
│  │  └─ assembly.xml           -- 编译打包规范
│  ├─ main
│  │  ├─ java
│  │  │  ├─ com.lwk.coding
│  │  │  │  ├─ annotation       -- 自定义注解
│  │  │  │  ├─ aop              -- 切面类:异常处理,请求日志打印
│  │  │  │  ├─ cloud            -- 配置中心缓存本地配置项
│  │  │  │  ├─ config           -- 自定义配置类
│  │  │  │  ├─ constant         -- 自定义常量
│  │  │  │  ├─ controller       -- 请求处理类
│  │  │  │  ├─ dao              -- 数据处理类
│  │  │  │  ├─ entity           -- 实体类
│  │  │  │  │  ├─ exception     -- 自定义异常类
│  │  │  │  │  ├─ req           -- 请求类
│  │  │  │  │  └─ resp          -- 响应类
│  │  │  │  ├─ mapper           -- 映射文件配置类
│  │  │  │  ├─ metrics          -- 应用监控处理类
│  │  │  │  ├─ service          -- 业务处理类
│  │  │  │  ├─ util             -- 工具类
│  │  │  │  └─ validator        -- 自定义校验规则
│  │  │  └─ Application.java    -- 应用启动类
│  │  └─ resources
│  │     ├─ config              -- 多环境日志配置
│  │     ├─ mapper              -- 映射文件配置
│  │     ├─ META-INF            -- 启用自动配置,搭配cloud包中的类使用
│  │     └─ bootstrap.yml       -- 应用配置文件
│  └─ test                      -- 测试类
├─ .gitattributes
├─ .gitignore
├─ pom.xml
└─ README.md

版本变更

TBD

coding-spring-test's People

Contributors

csulwk avatar dependabot[bot] avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.