Skip to content

microcmpt/spring-boot-api-regcovery-dashboard-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-boot-api-regcovery-dashboard-starter

Build Status License

Introduction

用于和spring boot结合自动配置,开启服务注册中心web控制台,可以查看服务注册中心服务信息详细或者删除新增修改服务操作。

Quick Start

step1:引入spring-boot-api-regcovery-dashboard包
maven:

<dependency>
  <groupId>com.github.microcmpt</groupId>
  <artifactId>spring-boot-api-regcovery-dashboard-starter</artifactId>
  <version>1.0.1</version>
</dependency>

gradle:

compile 'com.github.microcmpt:spring-boot-api-regcovery-dashboard-starter:1.0.0'

step2:开启注册中心web控制台,在启动类上加@EnableRegcoveryDashboard

@SpringBootApplication
@EnableRpc4jServer
@EnableRegcoveryDashboard
public class Rpc4jServerSampleApplication {
	public static void main(String[] args) {
		SpringApplication.run(Rpc4jServerSampleApplication.class, args);
	}
}

step3:访问http://localhost:8080/regcovery-ui.html