# anyboot-short-link-recoding **Repository Path**: CMSPLUS/anyboot-short-link-recoding ## Basic Information - **Project Name**: anyboot-short-link-recoding - **Description**: 重构后的短链平台 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-08-14 - **Last Updated**: 2023-12-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # anyboot-short-link-recoding ## 模块划分 | 模块 | 子模块 | 说明 | 备注 | |-----------------|--------------------------|----------------|----------------| | anyboot-common | | | | | | anyboot-common-api | 通用API模块 | 内部api入口定义 | | | anyboot-common-model | 通用实体模块 | 通过实体模块、常用工具类等 | | | anyboot-common-exception | 基础异常模块 | 基础异常模块 | | | anyboot-common-mq | 基础mq模块 | 基础mq模块 | | | anyboot-common-redis | 基础redis模块 | 基础redis模块 | | | anyboot-common-security | 基础安全模块 | 权限认证管理 | | | anyboot-common-sharding | 基础分库分表模块 | 基础分库分表模块 | | | anyboot-common-web | web定义 | swagger、 log配置 | | anyboot-gateway | | | | | | anyboot-gateway-server | 网关服务 | 网关服务 | | anyboot-account | | | | | | anyboot-account-api | 用户模块-数据结构、接口定义 | 用户、流量包等等 | | | anyboot-account-server | 用户模块-服务 | 接口实现 | | anyboot-app | | | | | | anyboot-app-api | 应用模块-数据结构、接口定义 | | | | anyboot-app-server | 实时计算模块-服务 | FLINK相关 | | anyboot-data | | | | | | anyboot-data-api | 数据模块-数据结构、接口定义 | | | | anyboot-data-server | 数据模块-服务 | 接口实现 | | anyboot-link | | | | | | anyboot-link-api | 短链模块-数据结构、接口定义 | | | | anyboot-link-server | 短链模块-服务 | 接口实现 | | anyboot-shop | | | | | | anyboot-shop-api | 商品模块-数据结构、接口定义 | 商品、订单等等 | | | anyboot-shop-server | 商品模块-服务 | 接口实现 | ## 日志链路追踪(skywalking) ### 安装sky ``` 下载链路追踪server端和agent ``` ### 配置server的配置文件 ``` 配置storage 数据源 ``` ### 启动增加jvm参数 ``` -javaagent:D:/utils/skywalking-agent/skywalking-agent.jar -DSW_AGENT_NAME=anyboot-account -DSW_AGENT_COLLECTOR_BACKEND_SERVICES=114.116.235.18:11800 ``` ### 配置 ## docker 构建流程 ### 第一步:本机安装docker ``` ``` ### 第二步:pom中引入依赖 ``` com.spotify dockerfile-maven-plugin 1.4.10 ${docker.image.prefix}/${project.artifactId} target/${project.build.finalName}.jar ``` ### 第三步:编写dockerfile ``` FROM adoptopenjdk/openjdk8 COPY target/anyboot-data.jar anyboot-data.jar ENTRYPOINT ["java","-jar","/anyboot-data.jar"] ``` ### 第四步:执行mvn命令 ``` mvn install -Dmain.test.skip=true dockerfile:build ``` ## rancher 安装 ## GoReplay 流量监控