mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2025-06-06 13:27:55 +08:00
[add] wu-smart-agent-xx--->wu-lazy-cloud-xx
This commit is contained in:
parent
3eb54b4dda
commit
228c480463
@ -4,9 +4,9 @@
|
||||
|
||||
| 模块 | 所属层级 | 描述 | 端口 |
|
||||
|------------------------------------------------------------------------------------|------|------------------------|----------------------------------------------------------------|
|
||||
| [wu-smart-agent-network-heartbeat-common](wu-smart-agent-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-smart-agent-network-heartbeat-client](wu-smart-agent-network-heartbeat-client) | 启动模块 | 内网穿透客户端 | 6004 |
|
||||
| [wu-lazy-cloud-network-heartbeat-common](wu-lazy-cloud-network-heartbeat-common) | 基础模块 | 基于Netty数据解码、编码、通道处理器声明 | 无 |
|
||||
| [wu-lazy-cloud-network-heartbeat-server](wu-lazy-cloud-network-heartbeat-server) | 启动模块 | 内网穿透服务端 | http端口:6001、tcp端口:7001 (默认tcp端口=http端口+1000 如:6001+1000=7001) |
|
||||
| [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-smart-agent-network-heartbeat-client](wu-smart-agent-network-heartbeat-client) | 内网穿透+心跳客户端 | ✖️ | ☑️ |
|
||||
| [wu-lazy-cloud-network-heartbeat-server](wu-lazy-cloud-network-heartbeat-server) | 内网穿透+心跳服务端 | ☑️ | ☑️ |
|
||||
| [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-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-smart-agent-network-heartbeat-client](wu-smart-agent-network-heartbeat-client) | 内网穿透+心跳客户端 | ✖️ | ☑️ |
|
||||
| [wu-lazy-cloud-network-heartbeat-server](wu-lazy-cloud-network-heartbeat-server) | 内网穿透+心跳服务端 | ✖️ | ✖️ |
|
||||
| [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-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-smart-agent-network-heartbeat-client](wu-smart-agent-network-heartbeat-client) | 内网穿透+心跳客户端 | ☑️ | ☑️ |
|
||||
| [wu-lazy-cloud-network-heartbeat-server](wu-lazy-cloud-network-heartbeat-server) | 内网穿透+心跳服务端 | ✖️ | ✖️ |
|
||||
| [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-central-gateway](wu-lazy-cloud-central-gateway) | 云上暂存网关 | ✖️ | ✖️ |
|
||||
| [wu-lazy-cloud-central-gateway](wu-lazy-cloud-central-gateway) | 云下暂存网关 | ✖️ | ☑️ |
|
||||
|
40
README.md
40
README.md
@ -1,9 +1,9 @@
|
||||
<p align="center">
|
||||
<a target="_blank" href="https://search.maven.org/search?q=wu-smart-agent-network%20wu-smart-agent-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" />
|
||||
<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-lazy-cloud-network?server=https%3A%2F%2Foss.sonatype.org&style=flat&logo=log" alt="Maven" />
|
||||
</a>
|
||||
<a target="_blank" href="https://search.maven.org/search?q=wu-smart-agent-network%20wu-smart-agent-network">
|
||||
<img src="https://img.shields.io/maven-central/v/top.wu2020/wu-smart-agent-network" alt="Maven" />
|
||||
<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-lazy-cloud-network" alt="Maven" />
|
||||
</a>
|
||||
<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" />
|
||||
@ -17,30 +17,30 @@
|
||||
<br />
|
||||
<img src="https://img.shields.io/badge/SpringBoot-v3.x-blue">
|
||||
<br />
|
||||
<a target="_blank" href='https://gitee.com/wujiawei1207537021/wu-smart-agent-network'>
|
||||
<img src='https://gitee.com/wujiawei1207537021/wu-smart-agent-network/badge/star.svg' alt='Gitee star'/>
|
||||
<a target="_blank" href='https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network'>
|
||||
<img src='https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network/badge/star.svg' alt='Gitee star'/>
|
||||
</a>
|
||||
<a target="_blank" href='https://gitee.com/wujiawei1207537021/wu-smart-agent-network'>
|
||||
<img src='https://img.shields.io/github/stars/wujiawei1207537021/wu-smart-agent-network?style=flat&logo=github' alt='GitHub star'/>
|
||||
<a target="_blank" href='https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network'>
|
||||
<img src='https://img.shields.io/github/stars/wujiawei1207537021/wu-lazy-cloud-network?style=flat&logo=github' alt='GitHub star'/>
|
||||
</a>
|
||||
<a target="_blank" href='https://gitee.com/wujiawei1207537021/wu-smart-agent-network'>
|
||||
<img src='https://img.shields.io/github/forks/wujiawei1207537021/wu-smart-agent-network?style=flat&logo=github' alt='GitHub star'/>
|
||||
<a target="_blank" href='https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network'>
|
||||
<img src='https://img.shields.io/github/forks/wujiawei1207537021/wu-lazy-cloud-network?style=flat&logo=github' alt='GitHub star'/>
|
||||
</a>
|
||||
|
||||
</p>
|
||||
|
||||
#### 项目介绍
|
||||
|
||||
wu-smart-agent-network
|
||||
wu-lazy-cloud-network
|
||||
是一款基于([wu-framework-parent](https://gitee.com/wujiawei1207537021/wu-framework-parent))孵化出的项目,内部使用Lazy
|
||||
ORM操作数据库,主要功能是网络穿透,对于没有公网IP的服务进行公网IP映射
|
||||
使用环境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-smart-agent-network-heartbeat-client](wu-smart-agent-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-smart-agent-network-ui](wu-smart-agent-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-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-common](wu-lazy-cloud-network-heartbeat-common) | 1.2.6-JDK17-SNAPSHOT | 内网穿透公共模块(声明接口、枚举、常量、适配器、解析器) |
|
||||
| [wu-lazy-cloud-network-heartbeat-client](wu-lazy-cloud-network-heartbeat-client) | 1.2.6-JDK17-SNAPSHOT | 客户端(支持二次开发) |
|
||||
| [wu-lazy-cloud-network-heartbeat-server](wu-lazy-cloud-network-heartbeat-server) | 1.2.6-JDK17-SNAPSHOT | 服务端(支持二次开发) |
|
||||
| [wu-lazy-cloud-network-ui](wu-lazy-cloud-network-heartbeat-server-ui) | 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-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 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
|
||||
|
||||
|
2
pom.xml
2
pom.xml
@ -11,7 +11,7 @@
|
||||
<version>1.2.6-JDK17-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>wu-smart-agent-network</artifactId>
|
||||
<artifactId>wu-lazy-cloud-network</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<version>1.2.6-JDK17-SNAPSHOT</version>
|
||||
<description>云上云下</description>
|
||||
|
@ -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 build -t 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-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-lazy-cloud-network-heartbeat-client:server-jdk17-master
|
||||
|
||||
```
|
||||
|
||||
### run
|
||||
|
||||
```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
|
||||
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
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>top.wu2020</groupId>
|
||||
<artifactId>wu-smart-agent-network</artifactId>
|
||||
<artifactId>wu-lazy-cloud-network</artifactId>
|
||||
<version>1.2.6-JDK17-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
File diff suppressed because one or more lines are too long
@ -5,7 +5,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>top.wu2020</groupId>
|
||||
<artifactId>wu-smart-agent-network</artifactId>
|
||||
<artifactId>wu-lazy-cloud-network</artifactId>
|
||||
<version>1.2.6-JDK17-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>top.wu2020</groupId>
|
||||
<artifactId>wu-smart-agent-network</artifactId>
|
||||
<artifactId>wu-lazy-cloud-network</artifactId>
|
||||
<version>1.2.6-JDK17-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
@ -4,7 +4,7 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>top.wu2020</groupId>
|
||||
<artifactId>wu-smart-agent-network</artifactId>
|
||||
<artifactId>wu-lazy-cloud-network</artifactId>
|
||||
<version>1.2.6-JDK17-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
|
@ -4,14 +4,14 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>top.wu2020</groupId>
|
||||
<artifactId>wu-smart-agent-network</artifactId>
|
||||
<artifactId>wu-lazy-cloud-network</artifactId>
|
||||
<version>1.2.6-JDK17-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>wu-lazy-cloud-heartbeat-start</artifactId>
|
||||
|
||||
<name>wu-smart-agent-network-heartbeat-start</name>
|
||||
<description>wu-smart-agent-network-heartbeat-start</description>
|
||||
<name>wu-lazy-cloud-network-heartbeat-start</name>
|
||||
<description>wu-lazy-cloud-network-heartbeat-start</description>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<modules>
|
||||
|
@ -5,7 +5,7 @@ MAINTAINER wujiawei <1207537021@qq.com>
|
||||
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"]
|
||||
|
||||
|
@ -9,9 +9,9 @@ mvn clean package -Pnative
|
||||
```shell
|
||||
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
|
||||
|
||||
docker build -t 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-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-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
|
||||
```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
|
||||
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
|
||||
|
||||
|
@ -5,8 +5,8 @@ metadata:
|
||||
annotations: {}
|
||||
labels:
|
||||
k8s.kuboard.cn/layer: gateway
|
||||
k8s.kuboard.cn/name: wu-smart-agent-network-heartbeat-client-start
|
||||
name: wu-smart-agent-network-heartbeat-client-start
|
||||
k8s.kuboard.cn/name: wu-lazy-cloud-network-heartbeat-client-start
|
||||
name: wu-lazy-cloud-network-heartbeat-client-start
|
||||
namespace: default
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
@ -15,7 +15,7 @@ spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
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:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
@ -25,18 +25,18 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
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:
|
||||
containers:
|
||||
- env:
|
||||
- name: spring.lazy.netty.client.inet-host
|
||||
value: wu-lazy-cloud-heartbeat-server.default
|
||||
- name: spring.lazy.netty.client.client-id
|
||||
value: wu-smart-agent-network-heartbeat-client-start
|
||||
value: wu-lazy-cloud-network-heartbeat-client-start
|
||||
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
|
||||
name: wu-smart-agent-network-heartbeat-client-start
|
||||
name: wu-lazy-cloud-network-heartbeat-client-start
|
||||
resources: {}
|
||||
securityContext:
|
||||
privileged: true
|
||||
|
@ -4,10 +4,10 @@ spring:
|
||||
client:
|
||||
inet-host: 127.0.0.1
|
||||
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-port: 30676 #服务端端口
|
||||
# inet-path: wu-smart-agent-network-heartbeat-server
|
||||
# inet-path: wu-lazy-cloud-network-heartbeat-server
|
||||
client-id: wujiawei # 客户端ID
|
||||
# client-id: temp_id # 客户端ID
|
||||
data:
|
||||
|
@ -11,9 +11,9 @@ mvn clean package -Pnative
|
||||
```shell
|
||||
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
|
||||
|
||||
docker build -t 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-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-lazy-cloud-network-heartbeat-server-cluster-start:1.2.6-JDK17-SNAPSHOT
|
||||
|
||||
```
|
||||
|
||||
|
||||
```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
|
||||
|
||||
|
@ -71,9 +71,9 @@ spec:
|
||||
value: '7101'
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: wu-smart-agent-network-heartbeat-server-cluster-start-conf
|
||||
name: wu-lazy-cloud-network-heartbeat-server-cluster-start-conf
|
||||
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
|
||||
name: network-server-cluster-start
|
||||
ports:
|
||||
@ -124,7 +124,7 @@ data:
|
||||
spring.lazy.netty.server.node-host: '${HOSTNAME}.network-server-cluster-start.default.svc.cluster.local'
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: wu-smart-agent-network-heartbeat-server-cluster-start-conf
|
||||
name: wu-lazy-cloud-network-heartbeat-server-cluster-start-conf
|
||||
namespace: default
|
||||
|
||||
---
|
||||
|
@ -52,9 +52,9 @@ spec:
|
||||
value: '7101'
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: wu-smart-agent-network-heartbeat-server-cluster-start-conf
|
||||
name: wu-lazy-cloud-network-heartbeat-server-cluster-start-conf
|
||||
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
|
||||
name: network-server-cluster-start
|
||||
ports:
|
||||
@ -105,7 +105,7 @@ data:
|
||||
spring.lazy.netty.server.node-host: '${HOSTNAME}.network-server-cluster-start.default.svc.cluster.local'
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: wu-smart-agent-network-heartbeat-server-cluster-start-conf
|
||||
name: wu-lazy-cloud-network-heartbeat-server-cluster-start-conf
|
||||
namespace: default
|
||||
|
||||
---
|
||||
|
@ -11,9 +11,9 @@ mvn clean package -Pnative
|
||||
```shell
|
||||
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
|
||||
|
||||
docker build -t 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-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-lazy-cloud-network-heartbeat-server-start:1.2.6-JDK17-SNAPSHOT
|
||||
|
||||
```
|
||||
|
||||
|
||||
```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
|
||||
|
||||
|
@ -41,7 +41,7 @@ spec:
|
||||
- name: spring.datasource.driver-class-name
|
||||
value: com.mysql.cj.jdbc.Driver
|
||||
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
|
||||
name: wu-lazy-cloud-heartbeat-server
|
||||
resources: {}
|
||||
@ -61,8 +61,8 @@ metadata:
|
||||
annotations: {}
|
||||
labels:
|
||||
k8s.kuboard.cn/layer: gateway
|
||||
k8s.kuboard.cn/name: wu-smart-agent-network-heartbeat-server
|
||||
name: wu-smart-agent-network-heartbeat-server
|
||||
k8s.kuboard.cn/name: wu-lazy-cloud-network-heartbeat-server
|
||||
name: wu-lazy-cloud-network-heartbeat-server
|
||||
namespace: default
|
||||
spec:
|
||||
ports:
|
||||
@ -83,7 +83,7 @@ spec:
|
||||
targetPort: 6001
|
||||
selector:
|
||||
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
|
||||
type: NodePort
|
||||
|
||||
|
@ -13,7 +13,7 @@ defineProps({
|
||||
<h3>
|
||||
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-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>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -9,7 +9,7 @@ import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
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: './',
|
||||
plugins: [
|
||||
vue(),
|
||||
|
@ -2,10 +2,10 @@
|
||||
|
||||

|
||||
|
||||
# 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://wu-smart-agent-network.vercel.app/)**
|
||||
**[<font color=#FF0000>✈ 国内加速链接</font>](https://gitee.com/asaasa/wu-lazy-cloud-network)**
|
||||
**[<font color=#FF0000>✈ 效果预览</font>](https://wu-lazy-cloud-network.vercel.app/)**
|
||||
**[<font color=#FF0000>✈ 效果预览(备用地址)</font>](http://asaasa.gitee.io/xujianhua)**
|
||||
**走过路过的老铁,帮忙点个小 ⭐⭐⭐⭐⭐,🤝🤝🤝🤝🤝,🙏🙏🙏🙏🙏**
|
||||
|
||||
@ -283,14 +283,14 @@ yarn run build
|
||||
### 拷贝前端
|
||||
```shell
|
||||
echo "开始拷贝前端UI"
|
||||
rm -rf ../wu-smart-agent-network-heartbeat-server/src/resources/static
|
||||
cp -r ../wu-smart-agent-network-ui/dist/* ../wu-smart-agent-network-heartbeat-server/src/main/resources/static/
|
||||
rm -rf ../wu-lazy-cloud-network-heartbeat-server/src/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
|
||||
```shell
|
||||
docker build -t registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-smart-agent-network-ui:ui-master .
|
||||
docker push 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-lazy-cloud-network-ui:ui-master
|
||||
|
||||
```
|
||||
|
@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "wu-smart-agent-network",
|
||||
"name": "wu-lazy-cloud-network",
|
||||
"version": "0.1.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "wu-smart-agent-network",
|
||||
"name": "wu-lazy-cloud-network",
|
||||
"version": "0.1.0",
|
||||
"dependencies": {
|
||||
"@element-plus/icons-vue": "^2.1.0",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "wu-smart-agent-network",
|
||||
"name": "wu-lazy-cloud-network",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
@ -175,7 +175,7 @@
|
||||
href="https://gitee.com/wujiawei1207537021/wu-framework-parent"
|
||||
target="_blank"
|
||||
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>
|
||||
|
||||
@ -189,7 +189,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<el-tag size="large" style="height: 80px"
|
||||
>wu-smart-agent-network
|
||||
>wu-lazy-cloud-network
|
||||
<br />
|
||||
是一款基于(wu-framework-parent)孵化出的项目,内部使用Lazy
|
||||
ORM操作数据库,
|
||||
|
@ -11,7 +11,7 @@ module.exports = {
|
||||
devServer: {
|
||||
port: "28080", // 请求地址的端口号,在本项目是8080
|
||||
proxy: {
|
||||
"/wu-smart-agent-network/": {
|
||||
"/wu-lazy-cloud-network/": {
|
||||
// 'demo'是请求地址中,以demo开头都适用这个
|
||||
// target: "http://47.92.27.215:520/", // 真实的服务器地址
|
||||
target: "http://127.0.0.1:6001", // 真实的服务器地址
|
||||
@ -20,7 +20,7 @@ module.exports = {
|
||||
ws: false, // 是否启用websockets
|
||||
// 是否重写
|
||||
pathRewrite: {
|
||||
"^/wu-smart-agent-network": "/",
|
||||
"^/wu-lazy-cloud-network": "/",
|
||||
},
|
||||
},
|
||||
"/": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user