Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
middleware-automatic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shenjunjie
middleware-automatic
Commits
cf88f756
Commit
cf88f756
authored
Apr 07, 2023
by
shentao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release' into 'master'
Release See merge request
!2
parents
082cc899
1db93e8f
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
86 additions
and
8 deletions
+86
-8
README.md
+78
-0
middleware-automatic-center-server/pom.xml
+1
-1
middleware-automatic-center-server/src/main/resources/application-prod.properties
+0
-0
middleware-automatic-center-server/src/main/resources/application.properties
+3
-3
middleware-automatic-center-son/pom.xml
+1
-1
middleware-automatic-center-son/src/main/resources/application-prod.properties
+0
-0
middleware-automatic-center-son/src/main/resources/application.properties
+3
-3
No files found.
README.md
0 → 100644
View file @
cf88f756
# 自动化中间件服务
## 背景
因原有自动化中间件自动标注功能单台机器有计算瓶颈,现将自动标注功能拆分,采用sever-son模式提供自动标注服务。
## 项目文档
### 服务依赖
有两种方式连接服务端。
1.
导入自动装配依赖
maven导入
```
xml
<dependency>
<groupId>
com.zhiwei
</groupId>
<artifactId>
middleware-automatic-center-autoconfigure
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
```
配置文件
```
properties
auto.matic.center.client.consumer.group
=
zhiwei-automatic
auto.matic.center.client.registry.address
=
zookeeper://192.168.0.11:2181?backup=192.168.0.30:2181,192.168.0.35:2181
auto.matic.center.client.application.name
=
zhiwei-auth-maic-web-local
```
项目启动将会自动装配到spring
2.
导入client依赖
maven导入
```xml
<dependency>
<groupId>com.zhiwei</groupId>
<artifactId>middleware-automatic-center</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
```
手动实例化
```java
new AutoMaticClient(AutoMaticClientFactory.createInstance(AutoMaticService.class, "zhiwei-auth-maic-web-local", "zookeeper://192.168.0.11:2181?backup=192.168.0.30:2181,192.168.0.35:2181",
"zhiwei-automatic"));
```
## 项目运行的服务器及目录及其他信息
> 项目位置: 暂无
> **服务器地址**:
> 内网地址:
> 外网地址:
>
> **端口号**:7778
> **服务数据库地址**:
>
> Mongo: 202.107.192.94:17150/qbjc(外)192.168.0.150:27017/qbjc(内)
>
> Redis: 115.236.59.91:7373(外)192.168.0.39:7373(内) 4号库
>
> Zookeeper: 未使用
> **依赖服务**:无
\ No newline at end of file
middleware-automatic-center-server/pom.xml
View file @
cf88f756
...
@@ -207,7 +207,7 @@
...
@@ -207,7 +207,7 @@
</dependencies>
</dependencies>
<build>
<build>
<finalName>
middleware-automatic-server
</finalName>
<finalName>
middleware-automatic-
center-
server
</finalName>
<plugins>
<plugins>
<plugin>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
...
...
middleware-automatic-center-server/src/main/resources/application-pro.properties
→
middleware-automatic-center-server/src/main/resources/application-pro
d
.properties
View file @
cf88f756
File moved
middleware-automatic-center-server/src/main/resources/application.properties
View file @
cf88f756
#
spring.profiles.active=prod
spring.profiles.active
=
prod
#spring.profiles.active=dev
#spring.profiles.active=dev
spring.profiles.active
=
local
#
spring.profiles.active
=
local
\ No newline at end of file
\ No newline at end of file
middleware-automatic-center-son/pom.xml
View file @
cf88f756
...
@@ -258,7 +258,7 @@
...
@@ -258,7 +258,7 @@
</dependencies>
</dependencies>
<build>
<build>
<finalName>
middleware-automatic-son
</finalName>
<finalName>
middleware-automatic-
center-
son
</finalName>
<plugins>
<plugins>
<plugin>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
...
...
middleware-automatic-center-son/src/main/resources/application-pro.properties
→
middleware-automatic-center-son/src/main/resources/application-pro
d
.properties
View file @
cf88f756
File moved
middleware-automatic-center-son/src/main/resources/application.properties
View file @
cf88f756
#
spring.profiles.active=prod
spring.profiles.active
=
prod
#spring.profiles.active=dev
#spring.profiles.active=dev
spring.profiles.active
=
local
#
spring.profiles.active
=
local
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment