# mp-api **Repository Path**: imnewsea/mp-api ## Basic Information - **Project Name**: mp-api - **Description**: 网关及中台,集成服务 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: dev - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-11-14 - **Last Updated**: 2026-02-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 项目目录 正常启动需要添加参数: ``` --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.lang.invoke=ALL-UNNAMED --add-opens java.base/sun.reflect.annotation=ALL-UNNAMED --add-opens java.base/sun.net.www.protocol.file=ALL-UNNAMED ``` 使用 EasyConnect 后,启动Java项目需要设置参数: -Djava.net.preferIPv4Stack=true , SpringBootTest 也需要设置。-ea -Djava.net.preferIPv4Stack=true >https://www.jianshu.com/p/847682811dba?from=singlemessage * [项目说明](/doc/项目说明.md) * [接口规范](/doc/接口规范.md) * [] ``` db.getCollection('jenkinsLog').aggregate( [ { $match: {status: "Success", "gitBuildInfo.envName" :"dev" , "gitBuildInfo.dockerImage":{ $ne: "" }, createAt: { $gt : ISODate("2022-01-01T00:00:00.000Z") } }} , {$group: {_id: { git:"$gitData.path", appName : "$gitBuildInfo.appName" } , top: { $addToSet: "$gitBuildInfo.dockerImage" } } } , { $sort: { _id: -1 } } , { $limit : 9 } ] ) ``` # k8s java client api 兼容性 > https://github.com/kubernetes-client/java/wiki/2.-Versioning-and-Compatibility 20.0 版本兼容 k8s 1.21 会有问题!