[add] wu-smart-agent-xx--->wu-lazy-cloud-xx

This commit is contained in:
wujiawei 2024-05-29 10:51:43 +08:00
parent 3eb54b4dda
commit 228c480463
26 changed files with 94 additions and 94 deletions

View File

@ -4,9 +4,9 @@
| 模块 | 所属层级 | 描述 | 端口 | | 模块 | 所属层级 | 描述 | 端口 |
|------------------------------------------------------------------------------------|------|------------------------|----------------------------------------------------------------| |------------------------------------------------------------------------------------|------|------------------------|----------------------------------------------------------------|
| [wu-smart-agent-network-heartbeat-common](wu-smart-agent-network-heartbeat-common) | 基础模块 | 基于Netty数据解码、编码、通道处理器声明 | 无 | | [wu-lazy-cloud-network-heartbeat-common](wu-lazy-cloud-network-heartbeat-common) | 基础模块 | 基于Netty数据解码、编码、通道处理器声明 | 无 |
| [wu-smart-agent-network-heartbeat-server](wu-smart-agent-network-heartbeat-server) | 启动模块 | 内网穿透服务端 | http端口6001、tcp端口:7001 (默认tcp端口=http端口+1000 如6001+1000=7001) | | [wu-lazy-cloud-network-heartbeat-server](wu-lazy-cloud-network-heartbeat-server) | 启动模块 | 内网穿透服务端 | http端口6001、tcp端口:7001 (默认tcp端口=http端口+1000 如6001+1000=7001) |
| [wu-smart-agent-network-heartbeat-client](wu-smart-agent-network-heartbeat-client) | 启动模块 | 内网穿透客户端 | 6004 | | [wu-lazy-cloud-network-heartbeat-client](wu-lazy-cloud-network-heartbeat-client) | 启动模块 | 内网穿透客户端 | 6004 |
#### 功能 #### 功能
@ -54,8 +54,8 @@ spring:
| 模块 | 说明 | 部署内网穿透必须 | 部署内网穿透+云上暂存必须 | | 模块 | 说明 | 部署内网穿透必须 | 部署内网穿透+云上暂存必须 |
|------------------------------------------------------------------|------------|----------|---------------| |------------------------------------------------------------------|------------|----------|---------------|
| [wu-smart-agent-network-heartbeat-server](wu-smart-agent-network-heartbeat-server) | 内网穿透+心跳服务端 | ☑️ | ☑️ | | [wu-lazy-cloud-network-heartbeat-server](wu-lazy-cloud-network-heartbeat-server) | 内网穿透+心跳服务端 | ☑️ | ☑️ |
| [wu-smart-agent-network-heartbeat-client](wu-smart-agent-network-heartbeat-client) | 内网穿透+心跳客户端 | ✖️ | ☑️ | | [wu-lazy-cloud-network-heartbeat-client](wu-lazy-cloud-network-heartbeat-client) | 内网穿透+心跳客户端 | ✖️ | ☑️ |
| [wu-lazy-cloud-staging-provider](wu-lazy-cloud-staging-provider) | 暂存服务 | ✖️ | ☑️ | | [wu-lazy-cloud-staging-provider](wu-lazy-cloud-staging-provider) | 暂存服务 | ✖️ | ☑️ |
| [wu-lazy-cloud-central-gateway](wu-lazy-cloud-central-gateway) | 云上暂存网关 | ✖️ | ☑️ | | [wu-lazy-cloud-central-gateway](wu-lazy-cloud-central-gateway) | 云上暂存网关 | ✖️ | ☑️ |
| [wu-lazy-cloud-central-gateway](wu-lazy-cloud-central-gateway) | 云下暂存网关 | ✖️ | ✖️ | | [wu-lazy-cloud-central-gateway](wu-lazy-cloud-central-gateway) | 云下暂存网关 | ✖️ | ✖️ |
@ -68,8 +68,8 @@ spring:
| 模块 | 说明 | 部署内网穿透必须 | 部署内网穿透+云上暂存必须 | | 模块 | 说明 | 部署内网穿透必须 | 部署内网穿透+云上暂存必须 |
|------------------------------------------------------------------|------------|----------|---------------| |------------------------------------------------------------------|------------|----------|---------------|
| [wu-smart-agent-network-heartbeat-server](wu-smart-agent-network-heartbeat-server) | 内网穿透+心跳服务端 | ✖️ | ✖️ | | [wu-lazy-cloud-network-heartbeat-server](wu-lazy-cloud-network-heartbeat-server) | 内网穿透+心跳服务端 | ✖️ | ✖️ |
| [wu-smart-agent-network-heartbeat-client](wu-smart-agent-network-heartbeat-client) | 内网穿透+心跳客户端 | ✖️ | ☑️ | | [wu-lazy-cloud-network-heartbeat-client](wu-lazy-cloud-network-heartbeat-client) | 内网穿透+心跳客户端 | ✖️ | ☑️ |
| [wu-lazy-cloud-staging-provider](wu-lazy-cloud-staging-provider) | 暂存服务 | ✖️ | ✖️ | | [wu-lazy-cloud-staging-provider](wu-lazy-cloud-staging-provider) | 暂存服务 | ✖️ | ✖️ |
| [wu-lazy-cloud-central-gateway](wu-lazy-cloud-central-gateway) | 云上暂存网关 | ✖️ | ☑️ | | [wu-lazy-cloud-central-gateway](wu-lazy-cloud-central-gateway) | 云上暂存网关 | ✖️ | ☑️ |
| [wu-lazy-cloud-central-gateway](wu-lazy-cloud-central-gateway) | 云下暂存网关 | ✖️ | ✖️ | | [wu-lazy-cloud-central-gateway](wu-lazy-cloud-central-gateway) | 云下暂存网关 | ✖️ | ✖️ |
@ -83,8 +83,8 @@ spring:
| 模块 | 说明 | 部署内网穿透必须 | 部署内网穿透+云上暂存必须 | | 模块 | 说明 | 部署内网穿透必须 | 部署内网穿透+云上暂存必须 |
|------------------------------------------------------------------|------------|----------|---------------| |------------------------------------------------------------------|------------|----------|---------------|
| [wu-smart-agent-network-heartbeat-server](wu-smart-agent-network-heartbeat-server) | 内网穿透+心跳服务端 | ✖️ | ✖️ | | [wu-lazy-cloud-network-heartbeat-server](wu-lazy-cloud-network-heartbeat-server) | 内网穿透+心跳服务端 | ✖️ | ✖️ |
| [wu-smart-agent-network-heartbeat-client](wu-smart-agent-network-heartbeat-client) | 内网穿透+心跳客户端 | ☑️ | ☑️ | | [wu-lazy-cloud-network-heartbeat-client](wu-lazy-cloud-network-heartbeat-client) | 内网穿透+心跳客户端 | ☑️ | ☑️ |
| [wu-lazy-cloud-staging-provider](wu-lazy-cloud-staging-provider) | 暂存服务 | ✖️ | ☑️ | | [wu-lazy-cloud-staging-provider](wu-lazy-cloud-staging-provider) | 暂存服务 | ✖️ | ☑️ |
| [wu-lazy-cloud-central-gateway](wu-lazy-cloud-central-gateway) | 云上暂存网关 | ✖️ | ✖️ | | [wu-lazy-cloud-central-gateway](wu-lazy-cloud-central-gateway) | 云上暂存网关 | ✖️ | ✖️ |
| [wu-lazy-cloud-central-gateway](wu-lazy-cloud-central-gateway) | 云下暂存网关 | ✖️ | ☑️ | | [wu-lazy-cloud-central-gateway](wu-lazy-cloud-central-gateway) | 云下暂存网关 | ✖️ | ☑️ |

View File

@ -1,9 +1,9 @@
<p align="center"> <p align="center">
<a target="_blank" href="https://search.maven.org/search?q=wu-smart-agent-network%20wu-smart-agent-network"> <a target="_blank" href="https://search.maven.org/search?q=wu-lazy-cloud-network%20wu-lazy-cloud-network">
<img src="https://img.shields.io/nexus/s/top.wu2020/wu-smart-agent-network?server=https%3A%2F%2Foss.sonatype.org&style=flat&logo=log" alt="Maven" /> <img src="https://img.shields.io/nexus/s/top.wu2020/wu-lazy-cloud-network?server=https%3A%2F%2Foss.sonatype.org&style=flat&logo=log" alt="Maven" />
</a> </a>
<a target="_blank" href="https://search.maven.org/search?q=wu-smart-agent-network%20wu-smart-agent-network"> <a target="_blank" href="https://search.maven.org/search?q=wu-lazy-cloud-network%20wu-lazy-cloud-network">
<img src="https://img.shields.io/maven-central/v/top.wu2020/wu-smart-agent-network" alt="Maven" /> <img src="https://img.shields.io/maven-central/v/top.wu2020/wu-lazy-cloud-network" alt="Maven" />
</a> </a>
<a target="_blank" href="https://www.apache.org/licenses/LICENSE-2.0.txt"> <a target="_blank" href="https://www.apache.org/licenses/LICENSE-2.0.txt">
<img src="https://img.shields.io/:license-Apache2-blue.svg" alt="Apache 2" /> <img src="https://img.shields.io/:license-Apache2-blue.svg" alt="Apache 2" />
@ -17,30 +17,30 @@
<br /> <br />
<img src="https://img.shields.io/badge/SpringBoot-v3.x-blue"> <img src="https://img.shields.io/badge/SpringBoot-v3.x-blue">
<br /> <br />
<a target="_blank" href='https://gitee.com/wujiawei1207537021/wu-smart-agent-network'> <a target="_blank" href='https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network'>
<img src='https://gitee.com/wujiawei1207537021/wu-smart-agent-network/badge/star.svg' alt='Gitee star'/> <img src='https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network/badge/star.svg' alt='Gitee star'/>
</a> </a>
<a target="_blank" href='https://gitee.com/wujiawei1207537021/wu-smart-agent-network'> <a target="_blank" href='https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network'>
<img src='https://img.shields.io/github/stars/wujiawei1207537021/wu-smart-agent-network?style=flat&logo=github' alt='GitHub star'/> <img src='https://img.shields.io/github/stars/wujiawei1207537021/wu-lazy-cloud-network?style=flat&logo=github' alt='GitHub star'/>
</a> </a>
<a target="_blank" href='https://gitee.com/wujiawei1207537021/wu-smart-agent-network'> <a target="_blank" href='https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network'>
<img src='https://img.shields.io/github/forks/wujiawei1207537021/wu-smart-agent-network?style=flat&logo=github' alt='GitHub star'/> <img src='https://img.shields.io/github/forks/wujiawei1207537021/wu-lazy-cloud-network?style=flat&logo=github' alt='GitHub star'/>
</a> </a>
</p> </p>
#### 项目介绍 #### 项目介绍
wu-smart-agent-network wu-lazy-cloud-network
是一款基于([wu-framework-parent](https://gitee.com/wujiawei1207537021/wu-framework-parent)孵化出的项目内部使用Lazy 是一款基于([wu-framework-parent](https://gitee.com/wujiawei1207537021/wu-framework-parent)孵化出的项目内部使用Lazy
ORM操作数据库主要功能是网络穿透对于没有公网IP的服务进行公网IP映射 ORM操作数据库主要功能是网络穿透对于没有公网IP的服务进行公网IP映射
使用环境JDK17 Spring Boot 3.0.2 使用环境JDK17 Spring Boot 3.0.2
#### 项目地址 #### 项目地址
[Gitee](https://gitee.com/wujiawei1207537021/wu-smart-agent-network) [Gitee](https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network)
[GitHub](https://github.com/wujiawei1207537021/wu-smart-agent-network) [GitHub](https://github.com/wujiawei1207537021/wu-lazy-cloud-network)
#### 架构图 #### 架构图
@ -249,12 +249,12 @@ public class NettyClientSocket {
| 模块 | 版本 | 描述 | | 模块 | 版本 | 描述 |
|-----------------------------------------------------------------------------------------------------------------------------------------|----------------------|------------------------------| |-----------------------------------------------------------------------------------------------------------------------------------------|----------------------|------------------------------|
| [wu-smart-agent-network-heartbeat-common](wu-smart-agent-network-heartbeat-common) | 1.2.6-JDK17-SNAPSHOT | 内网穿透公共模块(声明接口、枚举、常量、适配器、解析器) | | [wu-lazy-cloud-network-heartbeat-common](wu-lazy-cloud-network-heartbeat-common) | 1.2.6-JDK17-SNAPSHOT | 内网穿透公共模块(声明接口、枚举、常量、适配器、解析器) |
| [wu-smart-agent-network-heartbeat-client](wu-smart-agent-network-heartbeat-client) | 1.2.6-JDK17-SNAPSHOT | 客户端(支持二次开发) | | [wu-lazy-cloud-network-heartbeat-client](wu-lazy-cloud-network-heartbeat-client) | 1.2.6-JDK17-SNAPSHOT | 客户端(支持二次开发) |
| [wu-smart-agent-network-heartbeat-server](wu-smart-agent-network-heartbeat-server) | 1.2.6-JDK17-SNAPSHOT | 服务端(支持二次开发) | | [wu-lazy-cloud-network-heartbeat-server](wu-lazy-cloud-network-heartbeat-server) | 1.2.6-JDK17-SNAPSHOT | 服务端(支持二次开发) |
| [wu-smart-agent-network-ui](wu-smart-agent-network-heartbeat-server-ui) | 1.2.6-JDK17-SNAPSHOT | 服务端页面 | | [wu-lazy-cloud-network-ui](wu-lazy-cloud-network-heartbeat-server-ui) | 1.2.6-JDK17-SNAPSHOT | 服务端页面 |
| [wu-smart-agent-network-heartbeat-client-start](wu-smart-agent-network-heartbeat-sample/wu-smart-agent-network-heartbeat-client-sample) | 1.2.6-JDK17-SNAPSHOT | 客户端样例 | | [wu-lazy-cloud-network-heartbeat-client-start](wu-lazy-cloud-network-heartbeat-sample/wu-lazy-cloud-network-heartbeat-client-sample) | 1.2.6-JDK17-SNAPSHOT | 客户端样例 |
| [wu-smart-agent-network-heartbeat-server-start](wu-smart-agent-network-heartbeat-sample/wu-smart-agent-network-heartbeat-server-sample) | 1.2.6-JDK17-SNAPSHOT | 服务端样例 | | [wu-lazy-cloud-network-heartbeat-server-start](wu-lazy-cloud-network-heartbeat-sample/wu-lazy-cloud-network-heartbeat-server-sample) | 1.2.6-JDK17-SNAPSHOT | 服务端样例 |
### 使用技术 ### 使用技术
@ -277,7 +277,7 @@ public class NettyClientSocket {
docker启动 docker启动
docker run -d -it -p 18080:18080 --name wu-smart-agent-network-heartbeat-server registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-server:1.2.6-JDK17-SNAPSHOT docker run -d -it -p 18080:18080 --name wu-lazy-cloud-network-heartbeat-server registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-server:1.2.6-JDK17-SNAPSHOT
http://127.0.0.1:18080/swagger-ui/index.html http://127.0.0.1:18080/swagger-ui/index.html

View File

@ -11,7 +11,7 @@
<version>1.2.6-JDK17-SNAPSHOT</version> <version>1.2.6-JDK17-SNAPSHOT</version>
</parent> </parent>
<artifactId>wu-smart-agent-network</artifactId> <artifactId>wu-lazy-cloud-network</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>
<version>1.2.6-JDK17-SNAPSHOT</version> <version>1.2.6-JDK17-SNAPSHOT</version>
<description>云上云下</description> <description>云上云下</description>

View File

@ -20,15 +20,15 @@ docker push docker-registry.wujiawei.com/lazy/lazy-under-cloud-heartbeat-client:
#docker login --username=1207537021@qq.com registry.cn-hangzhou.aliyuncs.com #docker login --username=1207537021@qq.com registry.cn-hangzhou.aliyuncs.com
docker build -t registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-client:server-jdk17-master . docker build -t registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-client:server-jdk17-master .
docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-client:server-jdk17-master docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-client:server-jdk17-master
``` ```
### run ### run
```shell ```shell
docker run -d -it --name client -e spring.lazy.netty.inet-host=124.222.48.62 -e spring.lazy.netty.inet-port=30676 -e spring.lazy.netty.client-id=node1 registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-client:server-jdk17-master docker run -d -it --name client -e spring.lazy.netty.inet-host=124.222.48.62 -e spring.lazy.netty.inet-port=30676 -e spring.lazy.netty.client-id=node1 registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-client:server-jdk17-master
@ -47,7 +47,7 @@ mvn native:build
``` ```
```RUN ```RUN
docker run -d -it -p 18080:18080 --name wu-smart-agent-network-heartbeat-client registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-client:server-jdk17-master docker run -d -it -p 18080:18080 --name wu-lazy-cloud-network-heartbeat-client registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-client:server-jdk17-master
http://127.0.0.1:18080/swagger-ui/index.html http://127.0.0.1:18080/swagger-ui/index.html

View File

@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent> <parent>
<groupId>top.wu2020</groupId> <groupId>top.wu2020</groupId>
<artifactId>wu-smart-agent-network</artifactId> <artifactId>wu-lazy-cloud-network</artifactId>
<version>1.2.6-JDK17-SNAPSHOT</version> <version>1.2.6-JDK17-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>top.wu2020</groupId> <groupId>top.wu2020</groupId>
<artifactId>wu-smart-agent-network</artifactId> <artifactId>wu-lazy-cloud-network</artifactId>
<version>1.2.6-JDK17-SNAPSHOT</version> <version>1.2.6-JDK17-SNAPSHOT</version>
</parent> </parent>

View File

@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent> <parent>
<groupId>top.wu2020</groupId> <groupId>top.wu2020</groupId>
<artifactId>wu-smart-agent-network</artifactId> <artifactId>wu-lazy-cloud-network</artifactId>
<version>1.2.6-JDK17-SNAPSHOT</version> <version>1.2.6-JDK17-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View File

@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent> <parent>
<groupId>top.wu2020</groupId> <groupId>top.wu2020</groupId>
<artifactId>wu-smart-agent-network</artifactId> <artifactId>wu-lazy-cloud-network</artifactId>
<version>1.2.6-JDK17-SNAPSHOT</version> <version>1.2.6-JDK17-SNAPSHOT</version>
</parent> </parent>

View File

@ -4,14 +4,14 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>top.wu2020</groupId> <groupId>top.wu2020</groupId>
<artifactId>wu-smart-agent-network</artifactId> <artifactId>wu-lazy-cloud-network</artifactId>
<version>1.2.6-JDK17-SNAPSHOT</version> <version>1.2.6-JDK17-SNAPSHOT</version>
</parent> </parent>
<artifactId>wu-lazy-cloud-heartbeat-start</artifactId> <artifactId>wu-lazy-cloud-heartbeat-start</artifactId>
<name>wu-smart-agent-network-heartbeat-start</name> <name>wu-lazy-cloud-network-heartbeat-start</name>
<description>wu-smart-agent-network-heartbeat-start</description> <description>wu-lazy-cloud-network-heartbeat-start</description>
<packaging>pom</packaging> <packaging>pom</packaging>
<modules> <modules>

View File

@ -5,7 +5,7 @@ MAINTAINER wujiawei <1207537021@qq.com>
RUN echo "Asia/Shanghai" > /etc/timezone RUN echo "Asia/Shanghai" > /etc/timezone
COPY target/wu-smart-agent-network-heartbeat-client /native-app COPY target/wu-lazy-cloud-network-heartbeat-client /native-app
ENTRYPOINT ["/bin/sh" ,"-c", "exec ./native-app"] ENTRYPOINT ["/bin/sh" ,"-c", "exec ./native-app"]

View File

@ -9,9 +9,9 @@ mvn clean package -Pnative
```shell ```shell
mvn spring-boot:build-image -Pnative mvn spring-boot:build-image -Pnative
docker tag docker.io/library/wu-smart-agent-network-heartbeat-client-start:1.2.6-JDK17-SNAPSHOT registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-client-start:1.2.6-JDK17-NATIVE-SNAPSHOT docker tag docker.io/library/wu-lazy-cloud-network-heartbeat-client-start:1.2.6-JDK17-SNAPSHOT registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-client-start:1.2.6-JDK17-NATIVE-SNAPSHOT
docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-client-start:1.2.6-JDK17-NATIVE-SNAPSHOT docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-client-start:1.2.6-JDK17-NATIVE-SNAPSHOT
``` ```
@ -24,8 +24,8 @@ docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-hea
mvn clean install mvn clean install
docker build -t registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-client-start:1.2.6-JDK17-SNAPSHOT . docker build -t registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-client-start:1.2.6-JDK17-SNAPSHOT .
docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-client-start:1.2.6-JDK17-SNAPSHOT docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-client-start:1.2.6-JDK17-SNAPSHOT
``` ```
@ -33,7 +33,7 @@ docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-hea
### run ### run
```shell ```shell
docker run -d -it --privileged --name client -p 6004:6004 registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-client-start:1.2.6-JDK17-NATIVE-SNAPSHOT docker run -d -it --privileged --name client -p 6004:6004 registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-client-start:1.2.6-JDK17-NATIVE-SNAPSHOT
``` ```
@ -69,7 +69,7 @@ kubeadm join apiserver.demo:6443 --token 2wtcsg.0af26p9wzfgvyf5a --discovery
``` ```
```RUN ```RUN
docker run -d -it --name client registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-client-start:1.2.6-JDK17-SNAPSHOT docker run -d -it --name client registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-client-start:1.2.6-JDK17-SNAPSHOT
http://127.0.0.1:18080 http://127.0.0.1:18080

View File

@ -5,8 +5,8 @@ metadata:
annotations: {} annotations: {}
labels: labels:
k8s.kuboard.cn/layer: gateway k8s.kuboard.cn/layer: gateway
k8s.kuboard.cn/name: wu-smart-agent-network-heartbeat-client-start k8s.kuboard.cn/name: wu-lazy-cloud-network-heartbeat-client-start
name: wu-smart-agent-network-heartbeat-client-start name: wu-lazy-cloud-network-heartbeat-client-start
namespace: default namespace: default
spec: spec:
progressDeadlineSeconds: 600 progressDeadlineSeconds: 600
@ -15,7 +15,7 @@ spec:
selector: selector:
matchLabels: matchLabels:
k8s.kuboard.cn/layer: gateway k8s.kuboard.cn/layer: gateway
k8s.kuboard.cn/name: wu-smart-agent-network-heartbeat-client-start k8s.kuboard.cn/name: wu-lazy-cloud-network-heartbeat-client-start
strategy: strategy:
rollingUpdate: rollingUpdate:
maxSurge: 25% maxSurge: 25%
@ -25,18 +25,18 @@ spec:
metadata: metadata:
labels: labels:
k8s.kuboard.cn/layer: gateway k8s.kuboard.cn/layer: gateway
k8s.kuboard.cn/name: wu-smart-agent-network-heartbeat-client-start k8s.kuboard.cn/name: wu-lazy-cloud-network-heartbeat-client-start
spec: spec:
containers: containers:
- env: - env:
- name: spring.lazy.netty.client.inet-host - name: spring.lazy.netty.client.inet-host
value: wu-lazy-cloud-heartbeat-server.default value: wu-lazy-cloud-heartbeat-server.default
- name: spring.lazy.netty.client.client-id - name: spring.lazy.netty.client.client-id
value: wu-smart-agent-network-heartbeat-client-start value: wu-lazy-cloud-network-heartbeat-client-start
image: >- image: >-
registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-client-start:1.2.6-JDK17-NATIVE-SNAPSHOT registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-client-start:1.2.6-JDK17-NATIVE-SNAPSHOT
imagePullPolicy: Always imagePullPolicy: Always
name: wu-smart-agent-network-heartbeat-client-start name: wu-lazy-cloud-network-heartbeat-client-start
resources: {} resources: {}
securityContext: securityContext:
privileged: true privileged: true

View File

@ -4,10 +4,10 @@ spring:
client: client:
inet-host: 127.0.0.1 inet-host: 127.0.0.1
inet-port: 7001 inet-port: 7001
inet-path: wu-smart-agent-network-heartbeat-server inet-path: wu-lazy-cloud-network-heartbeat-server
# inet-host: 124.222.48.62 # 服务端地址 # inet-host: 124.222.48.62 # 服务端地址
# inet-port: 30676 #服务端端口 # inet-port: 30676 #服务端端口
# inet-path: wu-smart-agent-network-heartbeat-server # inet-path: wu-lazy-cloud-network-heartbeat-server
client-id: wujiawei # 客户端ID client-id: wujiawei # 客户端ID
# client-id: temp_id # 客户端ID # client-id: temp_id # 客户端ID
data: data:

View File

@ -11,9 +11,9 @@ mvn clean package -Pnative
```shell ```shell
mvn spring-boot:build-image -Pnative mvn spring-boot:build-image -Pnative
docker tag docker.io/library/wu-smart-agent-network-heartbeat-server-cluster-start:1.2.6-JDK17-SNAPSHOT registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-server-cluster-start:1.2.6-JDK17-NATIVE-SNAPSHOT docker tag docker.io/library/wu-lazy-cloud-network-heartbeat-server-cluster-start:1.2.6-JDK17-SNAPSHOT registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-server-cluster-start:1.2.6-JDK17-NATIVE-SNAPSHOT
docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-server-cluster-start:1.2.6-JDK17-NATIVE-SNAPSHOT docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-server-cluster-start:1.2.6-JDK17-NATIVE-SNAPSHOT
``` ```
@ -23,14 +23,14 @@ docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-hea
mvn clean install mvn clean install
docker build -t registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-server-cluster-start:1.2.6-JDK17-SNAPSHOT . docker build -t registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-server-cluster-start:1.2.6-JDK17-SNAPSHOT .
docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-server-cluster-start:1.2.6-JDK17-SNAPSHOT docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-server-cluster-start:1.2.6-JDK17-SNAPSHOT
``` ```
```RUN ```RUN
docker run -d -it -p 18080:18080 --name wu-smart-agent-network-heartbeat-server-cluster-start registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-server-cluster-start:1.2.6-JDK17-SNAPSHOT docker run -d -it -p 18080:18080 --name wu-lazy-cloud-network-heartbeat-server-cluster-start registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-server-cluster-start:1.2.6-JDK17-SNAPSHOT
http://127.0.0.1:18080/swagger-ui/index.html http://127.0.0.1:18080/swagger-ui/index.html

View File

@ -71,9 +71,9 @@ spec:
value: '7101' value: '7101'
envFrom: envFrom:
- configMapRef: - configMapRef:
name: wu-smart-agent-network-heartbeat-server-cluster-start-conf name: wu-lazy-cloud-network-heartbeat-server-cluster-start-conf
image: >- image: >-
registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-server-cluster-start:1.2.6-JDK17-NATIVE-SNAPSHOT registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-server-cluster-start:1.2.6-JDK17-NATIVE-SNAPSHOT
imagePullPolicy: Always imagePullPolicy: Always
name: network-server-cluster-start name: network-server-cluster-start
ports: ports:
@ -124,7 +124,7 @@ data:
spring.lazy.netty.server.node-host: '${HOSTNAME}.network-server-cluster-start.default.svc.cluster.local' spring.lazy.netty.server.node-host: '${HOSTNAME}.network-server-cluster-start.default.svc.cluster.local'
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: wu-smart-agent-network-heartbeat-server-cluster-start-conf name: wu-lazy-cloud-network-heartbeat-server-cluster-start-conf
namespace: default namespace: default
--- ---

View File

@ -52,9 +52,9 @@ spec:
value: '7101' value: '7101'
envFrom: envFrom:
- configMapRef: - configMapRef:
name: wu-smart-agent-network-heartbeat-server-cluster-start-conf name: wu-lazy-cloud-network-heartbeat-server-cluster-start-conf
image: >- image: >-
registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-server-cluster-start:1.2.6-JDK17-NATIVE-SNAPSHOT registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-server-cluster-start:1.2.6-JDK17-NATIVE-SNAPSHOT
imagePullPolicy: Always imagePullPolicy: Always
name: network-server-cluster-start name: network-server-cluster-start
ports: ports:
@ -105,7 +105,7 @@ data:
spring.lazy.netty.server.node-host: '${HOSTNAME}.network-server-cluster-start.default.svc.cluster.local' spring.lazy.netty.server.node-host: '${HOSTNAME}.network-server-cluster-start.default.svc.cluster.local'
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: wu-smart-agent-network-heartbeat-server-cluster-start-conf name: wu-lazy-cloud-network-heartbeat-server-cluster-start-conf
namespace: default namespace: default
--- ---

View File

@ -11,9 +11,9 @@ mvn clean package -Pnative
```shell ```shell
mvn spring-boot:build-image -Pnative mvn spring-boot:build-image -Pnative
docker tag docker.io/library/wu-smart-agent-network-heartbeat-server-start:1.2.6-JDK17-SNAPSHOT registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-server-start:1.2.6-JDK17-NATIVE-SNAPSHOT docker tag docker.io/library/wu-lazy-cloud-network-heartbeat-server-start:1.2.6-JDK17-SNAPSHOT registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-server-start:1.2.6-JDK17-NATIVE-SNAPSHOT
docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-server-start:1.2.6-JDK17-NATIVE-SNAPSHOT docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-server-start:1.2.6-JDK17-NATIVE-SNAPSHOT
``` ```
@ -23,14 +23,14 @@ docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-hea
mvn clean install mvn clean install
docker build -t registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-server-start:1.2.6-JDK17-SNAPSHOT . docker build -t registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-server-start:1.2.6-JDK17-SNAPSHOT .
docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-server-start:1.2.6-JDK17-SNAPSHOT docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-server-start:1.2.6-JDK17-SNAPSHOT
``` ```
```RUN ```RUN
docker run -d -it -p 18080:18080 --name wu-smart-agent-network-heartbeat-server-start registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-server-start:1.2.6-JDK17-SNAPSHOT docker run -d -it -p 18080:18080 --name wu-lazy-cloud-network-heartbeat-server-start registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-server-start:1.2.6-JDK17-SNAPSHOT
http://127.0.0.1:18080/swagger-ui/index.html http://127.0.0.1:18080/swagger-ui/index.html

View File

@ -41,7 +41,7 @@ spec:
- name: spring.datasource.driver-class-name - name: spring.datasource.driver-class-name
value: com.mysql.cj.jdbc.Driver value: com.mysql.cj.jdbc.Driver
image: >- image: >-
registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-heartbeat-server-start:1.2.6-JDK17-NATIVE-SNAPSHOT registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-heartbeat-server-start:1.2.6-JDK17-NATIVE-SNAPSHOT
imagePullPolicy: Always imagePullPolicy: Always
name: wu-lazy-cloud-heartbeat-server name: wu-lazy-cloud-heartbeat-server
resources: {} resources: {}
@ -61,8 +61,8 @@ metadata:
annotations: {} annotations: {}
labels: labels:
k8s.kuboard.cn/layer: gateway k8s.kuboard.cn/layer: gateway
k8s.kuboard.cn/name: wu-smart-agent-network-heartbeat-server k8s.kuboard.cn/name: wu-lazy-cloud-network-heartbeat-server
name: wu-smart-agent-network-heartbeat-server name: wu-lazy-cloud-network-heartbeat-server
namespace: default namespace: default
spec: spec:
ports: ports:
@ -83,7 +83,7 @@ spec:
targetPort: 6001 targetPort: 6001
selector: selector:
k8s.kuboard.cn/layer: gateway k8s.kuboard.cn/layer: gateway
k8s.kuboard.cn/name: wu-smart-agent-network-heartbeat-server k8s.kuboard.cn/name: wu-lazy-cloud-network-heartbeat-server
sessionAffinity: None sessionAffinity: None
type: NodePort type: NodePort

View File

@ -13,7 +13,7 @@ defineProps({
<h3> <h3>
You can see detail with project You can see detail with project
<a href="https://gitee.com/wujiawei1207537021/wu-framework-parent/tree/master/wu-database-parent" target="_blank" rel="noopener">Lazy ORM</a> + <a href="https://gitee.com/wujiawei1207537021/wu-framework-parent/tree/master/wu-database-parent" target="_blank" rel="noopener">Lazy ORM</a> +
<a href="https://gitee.com/wujiawei1207537021/wu-framework-parent/tree/master/wu-smart-integration/wu-smart-agent-network" target="_blank" rel="noopener">NetWork Local Client</a>. <a href="https://gitee.com/wujiawei1207537021/wu-framework-parent/tree/master/wu-smart-integration/wu-lazy-cloud-network" target="_blank" rel="noopener">NetWork Local Client</a>.
</h3> </h3>
</div> </div>
</template> </template>

View File

@ -9,7 +9,7 @@ import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
// https://vitejs.dev/config/ // https://vitejs.dev/config/
export default defineConfig({ export default defineConfig({
outputDir: '../wu-smart-agent-network-heartbeat-client/src/resources/network-local-client-ui/v1', // 构建时输出目录 outputDir: '../wu-lazy-cloud-network-heartbeat-client/src/resources/network-local-client-ui/v1', // 构建时输出目录
base: './', base: './',
plugins: [ plugins: [
vue(), vue(),

View File

@ -2,10 +2,10 @@
![logo](https://i.bmp.ovh/imgs/2021/08/f828888bb4064c64.png) ![logo](https://i.bmp.ovh/imgs/2021/08/f828888bb4064c64.png)
# wu-smart-agent-network # wu-lazy-cloud-network
**[<font color=#FF0000>✈ 国内加速链接</font>](https://gitee.com/asaasa/wu-smart-agent-network)** **[<font color=#FF0000>✈ 国内加速链接</font>](https://gitee.com/asaasa/wu-lazy-cloud-network)**
**[<font color=#FF0000>✈ 效果预览</font>](https://wu-smart-agent-network.vercel.app/)** **[<font color=#FF0000>✈ 效果预览</font>](https://wu-lazy-cloud-network.vercel.app/)**
**[<font color=#FF0000>✈ 效果预览(备用地址)</font>](http://asaasa.gitee.io/xujianhua)** **[<font color=#FF0000>✈ 效果预览(备用地址)</font>](http://asaasa.gitee.io/xujianhua)**
**走过路过的老铁,帮忙点个小 ⭐⭐⭐⭐⭐,🤝🤝🤝🤝🤝,🙏🙏🙏🙏🙏** **走过路过的老铁,帮忙点个小 ⭐⭐⭐⭐⭐,🤝🤝🤝🤝🤝,🙏🙏🙏🙏🙏**
@ -283,14 +283,14 @@ yarn run build
### 拷贝前端 ### 拷贝前端
```shell ```shell
echo "开始拷贝前端UI" echo "开始拷贝前端UI"
rm -rf ../wu-smart-agent-network-heartbeat-server/src/resources/static rm -rf ../wu-lazy-cloud-network-heartbeat-server/src/resources/static
cp -r ../wu-smart-agent-network-ui/dist/* ../wu-smart-agent-network-heartbeat-server/src/main/resources/static/ cp -r ../wu-lazy-cloud-network-ui/dist/* ../wu-lazy-cloud-network-heartbeat-server/src/main/resources/static/
``` ```
docker login --username=1207537021@qq.com registry.cn-hangzhou.aliyuncs.com docker login --username=1207537021@qq.com registry.cn-hangzhou.aliyuncs.com
```shell ```shell
docker build -t registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-ui:ui-master . docker build -t registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-ui:ui-master .
docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-ui:ui-master docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-network-ui:ui-master
``` ```

View File

@ -1,11 +1,11 @@
{ {
"name": "wu-smart-agent-network", "name": "wu-lazy-cloud-network",
"version": "0.1.0", "version": "0.1.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "wu-smart-agent-network", "name": "wu-lazy-cloud-network",
"version": "0.1.0", "version": "0.1.0",
"dependencies": { "dependencies": {
"@element-plus/icons-vue": "^2.1.0", "@element-plus/icons-vue": "^2.1.0",

View File

@ -1,5 +1,5 @@
{ {
"name": "wu-smart-agent-network", "name": "wu-lazy-cloud-network",
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"scripts": { "scripts": {

View File

@ -175,7 +175,7 @@
href="https://gitee.com/wujiawei1207537021/wu-framework-parent" href="https://gitee.com/wujiawei1207537021/wu-framework-parent"
target="_blank" target="_blank"
title="wu-framework-parent 是一款由Java语言开发的框架目标不写代码但是却能完成功能。 框架涵盖无赖ORM( wu-database-lazy-starter)、仿生组件 、easy框架系列【Easy-Excel、easy-listener、easy-upsert】 授权框架(wu-framework-authorization)、Web框架、平台操作组件、层组件抽象、 ACW模块" title="wu-framework-parent 是一款由Java语言开发的框架目标不写代码但是却能完成功能。 框架涵盖无赖ORM( wu-database-lazy-starter)、仿生组件 、easy框架系列【Easy-Excel、easy-listener、easy-upsert】 授权框架(wu-framework-authorization)、Web框架、平台操作组件、层组件抽象、 ACW模块"
>https://gitee.com/wujiawei1207537021/wu-framework-parent/tree/master/wu-smart-integration/wu-smart-agent-network</a >https://gitee.com/wujiawei1207537021/wu-framework-parent/tree/master/wu-smart-integration/wu-lazy-cloud-network</a
> >
</el-descriptions-item> </el-descriptions-item>
@ -189,7 +189,7 @@
</div> </div>
</template> </template>
<el-tag size="large" style="height: 80px" <el-tag size="large" style="height: 80px"
>wu-smart-agent-network >wu-lazy-cloud-network
<br /> <br />
是一款基于wu-framework-parent孵化出的项目内部使用Lazy 是一款基于wu-framework-parent孵化出的项目内部使用Lazy
ORM操作数据库 ORM操作数据库

View File

@ -11,7 +11,7 @@ module.exports = {
devServer: { devServer: {
port: "28080", // 请求地址的端口号在本项目是8080 port: "28080", // 请求地址的端口号在本项目是8080
proxy: { proxy: {
"/wu-smart-agent-network/": { "/wu-lazy-cloud-network/": {
// 'demo'是请求地址中以demo开头都适用这个 // 'demo'是请求地址中以demo开头都适用这个
// target: "http://47.92.27.215:520/", // 真实的服务器地址 // target: "http://47.92.27.215:520/", // 真实的服务器地址
target: "http://127.0.0.1:6001", // 真实的服务器地址 target: "http://127.0.0.1:6001", // 真实的服务器地址
@ -20,7 +20,7 @@ module.exports = {
ws: false, // 是否启用websockets ws: false, // 是否启用websockets
// 是否重写 // 是否重写
pathRewrite: { pathRewrite: {
"^/wu-smart-agent-network": "/", "^/wu-lazy-cloud-network": "/",
}, },
}, },
"/": { "/": {