Skip to content

Commit 34dbe75

Browse files
committed
feat: add http engine support
Signed-off-by: moxiaoying <1159230165@qq.com>
1 parent 619aaa7 commit 34dbe75

File tree

8 files changed

+119
-71
lines changed

8 files changed

+119
-71
lines changed

pom.xml

Lines changed: 4 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
<packaging>pom</packaging>
1111

1212
<modules>
13+
<module>pulsar-admin-bom</module>
14+
<module>pulsar-admin-parent-dependencies</module>
1315
<module>pulsar-admin</module>
1416
<module>pulsar-admin-api</module>
1517
<module>pulsar-admin-common</module>
@@ -22,22 +24,11 @@
2224
<maven.compiler.target>8</maven.compiler.target>
2325
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2426
<src.dir>src/main/java</src.dir>
25-
<!-- dependency -->
26-
<annotations.version>13.0</annotations.version>
27-
<awaitility.version>4.2.2</awaitility.version>
28-
<embedded-pulsar.version>0.0.5</embedded-pulsar.version>
29-
<http-facade.version>0.4.0</http-facade.version>
30-
<jackson.version>2.17.2</jackson.version>
31-
<junit.version>5.11.0</junit.version>
32-
<log4j.version>2.20.0</log4j.version>
33-
<lombok.version>1.18.34</lombok.version>
34-
<puppycrawl.version>10.18.0</puppycrawl.version>
35-
<reactor-netty.version>1.1.22</reactor-netty.version>
36-
<spring.version>6.1.12</spring.version>
37-
<spring-boot.version>3.2.9</spring-boot.version>
3827
<!-- plugin -->
3928
<lombok-maven-plugin.version>1.18.20.0</lombok-maven-plugin.version>
29+
<lombok.version>1.18.34</lombok.version>
4030
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
31+
<puppycrawl.version>10.18.0</puppycrawl.version>
4132
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
4233
<maven-checkstyle-plugin.version>3.5.0</maven-checkstyle-plugin.version>
4334
<maven-enforcer-plugin.version>3.5.0</maven-enforcer-plugin.version>
@@ -53,59 +44,6 @@
5344
<spotless-maven-plugin.version>2.43.0</spotless-maven-plugin.version>
5445
</properties>
5546

56-
<dependencyManagement>
57-
<dependencies>
58-
<dependency>
59-
<groupId>com.fasterxml.jackson</groupId>
60-
<artifactId>jackson-bom</artifactId>
61-
<version>${jackson.version}</version>
62-
<type>pom</type>
63-
<scope>import</scope>
64-
</dependency>
65-
</dependencies>
66-
</dependencyManagement>
67-
68-
<dependencies>
69-
<dependency>
70-
<groupId>org.projectlombok</groupId>
71-
<artifactId>lombok</artifactId>
72-
<version>${lombok.version}</version>
73-
</dependency>
74-
<dependency>
75-
<groupId>org.jetbrains</groupId>
76-
<artifactId>annotations</artifactId>
77-
<version>${annotations.version}</version>
78-
</dependency>
79-
<dependency>
80-
<groupId>com.fasterxml.jackson.core</groupId>
81-
<artifactId>jackson-databind</artifactId>
82-
</dependency>
83-
<dependency>
84-
<groupId>org.awaitility</groupId>
85-
<artifactId>awaitility</artifactId>
86-
<version>${awaitility.version}</version>
87-
<scope>test</scope>
88-
</dependency>
89-
<dependency>
90-
<groupId>org.junit.jupiter</groupId>
91-
<artifactId>junit-jupiter-engine</artifactId>
92-
<version>${junit.version}</version>
93-
<scope>test</scope>
94-
</dependency>
95-
<dependency>
96-
<groupId>org.apache.logging.log4j</groupId>
97-
<artifactId>log4j-slf4j-impl</artifactId>
98-
<version>${log4j.version}</version>
99-
<scope>test</scope>
100-
</dependency>
101-
<dependency>
102-
<groupId>io.github.embedded-middleware</groupId>
103-
<artifactId>embedded-pulsar-core</artifactId>
104-
<version>${embedded-pulsar.version}</version>
105-
<scope>test</scope>
106-
</dependency>
107-
</dependencies>
108-
10947
<build>
11048
<sourceDirectory>${src.dir}</sourceDirectory>
11149
<plugins>

pulsar-admin-api/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
<modelVersion>4.0.0</modelVersion>
66
<parent>
77
<groupId>io.github.protocol-laboratory</groupId>
8-
<artifactId>pulsar-admin-parent</artifactId>
8+
<artifactId>pulsar-admin-parent-dependencies</artifactId>
99
<version>0.2.0</version>
10+
<relativePath>../pulsar-admin-parent-dependencies</relativePath>
1011
</parent>
1112

1213
<artifactId>pulsar-admin-api</artifactId>

pulsar-admin-bom/pom.xml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<parent>
8+
<groupId>io.github.protocol-laboratory</groupId>
9+
<artifactId>pulsar-admin-parent</artifactId>
10+
<version>0.2.0</version>
11+
</parent>
12+
13+
<artifactId>pulsar-admin-bom</artifactId>
14+
<packaging>pom</packaging>
15+
<version>0.2.0</version>
16+
17+
<properties>
18+
<annotations.version>13.0</annotations.version>
19+
<awaitility.version>4.2.2</awaitility.version>
20+
<embedded-pulsar.version>0.0.5</embedded-pulsar.version>
21+
<http-facade.version>0.4.0</http-facade.version>
22+
<jackson.version>2.17.2</jackson.version>
23+
<junit.version>5.11.0</junit.version>
24+
<log4j.version>2.20.0</log4j.version>
25+
<reactor-netty.version>1.1.22</reactor-netty.version>
26+
<spring.version>6.1.12</spring.version>
27+
<spring-boot.version>3.2.9</spring-boot.version>
28+
</properties>
29+
30+
<dependencyManagement>
31+
<dependencies>
32+
<dependency>
33+
<groupId>com.fasterxml.jackson</groupId>
34+
<artifactId>jackson-bom</artifactId>
35+
<version>${jackson.version}</version>
36+
<type>pom</type>
37+
<scope>import</scope>
38+
</dependency>
39+
</dependencies>
40+
</dependencyManagement>
41+
</project>

pulsar-admin-common/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
<modelVersion>4.0.0</modelVersion>
66
<parent>
77
<groupId>io.github.protocol-laboratory</groupId>
8-
<artifactId>pulsar-admin-parent</artifactId>
8+
<artifactId>pulsar-admin-parent-dependencies</artifactId>
99
<version>0.2.0</version>
10+
<relativePath>../pulsar-admin-parent-dependencies</relativePath>
1011
</parent>
1112

1213
<artifactId>pulsar-admin-common</artifactId>
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<parent>
8+
<groupId>io.github.protocol-laboratory</groupId>
9+
<artifactId>pulsar-admin-bom</artifactId>
10+
<version>0.2.0</version>
11+
<relativePath>../pulsar-admin-bom</relativePath>
12+
</parent>
13+
14+
<artifactId>pulsar-admin-parent-dependencies</artifactId>
15+
<packaging>pom</packaging>
16+
<version>0.2.0</version>
17+
18+
<dependencies>
19+
<dependency>
20+
<groupId>org.projectlombok</groupId>
21+
<artifactId>lombok</artifactId>
22+
<version>${lombok.version}</version>
23+
</dependency>
24+
<dependency>
25+
<groupId>org.jetbrains</groupId>
26+
<artifactId>annotations</artifactId>
27+
<version>${annotations.version}</version>
28+
</dependency>
29+
<dependency>
30+
<groupId>com.fasterxml.jackson.core</groupId>
31+
<artifactId>jackson-databind</artifactId>
32+
</dependency>
33+
<dependency>
34+
<groupId>org.awaitility</groupId>
35+
<artifactId>awaitility</artifactId>
36+
<version>${awaitility.version}</version>
37+
<scope>test</scope>
38+
</dependency>
39+
<dependency>
40+
<groupId>org.junit.jupiter</groupId>
41+
<artifactId>junit-jupiter-engine</artifactId>
42+
<version>${junit.version}</version>
43+
<scope>test</scope>
44+
</dependency>
45+
<dependency>
46+
<groupId>org.junit.jupiter</groupId>
47+
<artifactId>junit-jupiter-params</artifactId>
48+
<version>${junit.version}</version>
49+
<scope>test</scope>
50+
</dependency>
51+
<dependency>
52+
<groupId>org.apache.logging.log4j</groupId>
53+
<artifactId>log4j-slf4j-impl</artifactId>
54+
<version>${log4j.version}</version>
55+
<scope>test</scope>
56+
</dependency>
57+
<dependency>
58+
<groupId>io.github.embedded-middleware</groupId>
59+
<artifactId>embedded-pulsar-core</artifactId>
60+
<version>${embedded-pulsar.version}</version>
61+
<scope>test</scope>
62+
</dependency>
63+
</dependencies>
64+
</project>

pulsar-admin-reactive/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
<modelVersion>4.0.0</modelVersion>
66
<parent>
77
<groupId>io.github.protocol-laboratory</groupId>
8-
<artifactId>pulsar-admin-parent</artifactId>
8+
<artifactId>pulsar-admin-parent-dependencies</artifactId>
99
<version>0.2.0</version>
10+
<relativePath>../pulsar-admin-parent-dependencies</relativePath>
1011
</parent>
1112

1213
<artifactId>pulsar-admin-reactive</artifactId>

pulsar-admin/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
<modelVersion>4.0.0</modelVersion>
66
<parent>
77
<groupId>io.github.protocol-laboratory</groupId>
8-
<artifactId>pulsar-admin-parent</artifactId>
8+
<artifactId>pulsar-admin-parent-dependencies</artifactId>
99
<version>0.2.0</version>
10+
<relativePath>../pulsar-admin-parent-dependencies</relativePath>
1011
</parent>
1112

1213
<artifactId>pulsar-admin</artifactId>

spring/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
<modelVersion>4.0.0</modelVersion>
66
<parent>
77
<groupId>io.github.protocol-laboratory</groupId>
8-
<artifactId>pulsar-admin-parent</artifactId>
8+
<artifactId>pulsar-admin-parent-dependencies</artifactId>
99
<version>0.2.0</version>
10+
<relativePath>../pulsar-admin-parent-dependencies</relativePath>
1011
</parent>
1112

1213
<artifactId>pulsar-spring-parent</artifactId>

0 commit comments

Comments
 (0)