Skip to content

Commit

Permalink
[type:refactor] refactor module
Browse files Browse the repository at this point in the history
  • Loading branch information
moremind committed Nov 13, 2023
1 parent 5681017 commit b9b637e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 16 deletions.
4 changes: 4 additions & 0 deletions shenyu-admin-listener/shenyu-admin-listener-etcd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
<artifactId>shenyu-admin-listener-etcd</artifactId>

<dependencies>
<dependency>
<artifactId>grpc-netty</artifactId>
<groupId>io.grpc</groupId>
</dependency>

<dependency>
<groupId>io.etcd</groupId>
Expand Down
6 changes: 0 additions & 6 deletions shenyu-admin-listener/shenyu-admin-listener-polaris/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,5 @@
<artifactId>spring-boot-starter-web</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.apache.shenyu</groupId>
<artifactId>shenyu-discovery-nacos</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</project>
12 changes: 4 additions & 8 deletions shenyu-admin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,6 @@
<artifactId>protostuff-runtime</artifactId>
</dependency>

<dependency>
<groupId>com.caucho</groupId>
<artifactId>hessian</artifactId>
</dependency>

<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-ui</artifactId>
Expand All @@ -224,7 +219,7 @@
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<scope>runtime</scope>
<scope>provided</scope>
</dependency>

<dependency>
Expand Down Expand Up @@ -280,6 +275,7 @@
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>

<!-- shenyu discovery start -->
<dependency>
<groupId>org.apache.shenyu</groupId>
<artifactId>shenyu-discovery-etcd</artifactId>
Expand Down Expand Up @@ -309,9 +305,9 @@
</exclusions>
<version>${project.version}</version>
</dependency>
<!-- shenyu discovery end -->

<!-- shenyu-admin-listener start-->

<!-- shenyu-admin-listener start -->
<dependency>
<groupId>org.apache.shenyu</groupId>
<artifactId>shenyu-admin-listener-apollo</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@
* limitations under the License.
*/

package org.apache.shenyu.admin.config;
package org.apache.shenyu.register.client.server.consul;

import com.ecwid.consul.v1.ConsulClient;
import org.apache.commons.lang3.StringUtils;
import org.apache.shenyu.common.exception.ShenyuException;
import org.apache.shenyu.register.common.config.ShenyuRegisterCenterConfig;
import org.apache.shenyu.register.client.server.consul.ShenyuConsulConfigWatch;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.context.annotation.Bean;
Expand Down

0 comments on commit b9b637e

Please sign in to comment.