正在显示
6 个修改的文件
包含
0 行增加
和
114 行删除
| @@ -30,7 +30,6 @@ | @@ -30,7 +30,6 @@ | ||
| 30 | <module>cim-server</module> | 30 | <module>cim-server</module> |
| 31 | <module>cim-client</module> | 31 | <module>cim-client</module> |
| 32 | <module>cim-common</module> | 32 | <module>cim-common</module> |
| 33 | - <module>springboot-admin</module> | ||
| 34 | <module>cim-zk</module> | 33 | <module>cim-zk</module> |
| 35 | <module>cim-forward-route</module> | 34 | <module>cim-forward-route</module> |
| 36 | </modules> | 35 | </modules> |
springboot-admin/README.md
已删除
100644 → 0
springboot-admin/pom.xml
已删除
100644 → 0
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| 3 | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
| 4 | - <modelVersion>4.0.0</modelVersion> | ||
| 5 | - | ||
| 6 | - <parent> | ||
| 7 | - <groupId>com.crossoverjie.netty</groupId> | ||
| 8 | - <artifactId>cim</artifactId> | ||
| 9 | - <version>1.0.0-SNAPSHOT</version> | ||
| 10 | - </parent> | ||
| 11 | - | ||
| 12 | - <artifactId>springboot-admin</artifactId> | ||
| 13 | - <packaging>jar</packaging> | ||
| 14 | - | ||
| 15 | - <name>admin</name> | ||
| 16 | - <description>springBoot admin</description> | ||
| 17 | - | ||
| 18 | - | ||
| 19 | - <properties> | ||
| 20 | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
| 21 | - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | ||
| 22 | - <java.version>1.8</java.version> | ||
| 23 | - <logback.version>1.2.3</logback.version> | ||
| 24 | - </properties> | ||
| 25 | - | ||
| 26 | - <dependencies> | ||
| 27 | - <dependency> | ||
| 28 | - <groupId>org.springframework.boot</groupId> | ||
| 29 | - <artifactId>spring-boot-starter</artifactId> | ||
| 30 | - </dependency> | ||
| 31 | - | ||
| 32 | - <dependency> | ||
| 33 | - <groupId>org.springframework.boot</groupId> | ||
| 34 | - <artifactId>spring-boot-starter-test</artifactId> | ||
| 35 | - <scope>test</scope> | ||
| 36 | - </dependency> | ||
| 37 | - | ||
| 38 | - <dependency> | ||
| 39 | - <groupId>org.springframework.boot</groupId> | ||
| 40 | - <artifactId>spring-boot-starter-mail</artifactId> | ||
| 41 | - </dependency> | ||
| 42 | - | ||
| 43 | - <dependency> | ||
| 44 | - <groupId>de.codecentric</groupId> | ||
| 45 | - <artifactId>spring-boot-admin-starter-server</artifactId> | ||
| 46 | - <version>1.5.7</version> | ||
| 47 | - </dependency> | ||
| 48 | - | ||
| 49 | - <dependency> | ||
| 50 | - <groupId>ch.qos.logback</groupId> | ||
| 51 | - <artifactId>logback-classic</artifactId> | ||
| 52 | - </dependency> | ||
| 53 | - | ||
| 54 | - <dependency> | ||
| 55 | - <groupId>de.codecentric</groupId> | ||
| 56 | - <artifactId>spring-boot-admin-server-ui</artifactId> | ||
| 57 | - <version>1.5.6</version> | ||
| 58 | - </dependency> | ||
| 59 | - </dependencies> | ||
| 60 | - | ||
| 61 | - <build> | ||
| 62 | - <plugins> | ||
| 63 | - <plugin> | ||
| 64 | - <groupId>org.springframework.boot</groupId> | ||
| 65 | - <artifactId>spring-boot-maven-plugin</artifactId> | ||
| 66 | - </plugin> | ||
| 67 | - </plugins> | ||
| 68 | - </build> | ||
| 69 | - | ||
| 70 | - | ||
| 71 | -</project> |
| 1 | -package com.ai.obc.springboot.admin; | ||
| 2 | - | ||
| 3 | -import de.codecentric.boot.admin.config.EnableAdminServer; | ||
| 4 | -import org.springframework.boot.SpringApplication; | ||
| 5 | -import org.springframework.boot.autoconfigure.EnableAutoConfiguration; | ||
| 6 | -import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
| 7 | -import org.springframework.context.annotation.Configuration; | ||
| 8 | - | ||
| 9 | -@SpringBootApplication | ||
| 10 | -@Configuration | ||
| 11 | -@EnableAutoConfiguration | ||
| 12 | -@EnableAdminServer | ||
| 13 | -public class AdminApplication { | ||
| 14 | - | ||
| 15 | - public static void main(String[] args) { | ||
| 16 | - SpringApplication.run(AdminApplication.class, args); | ||
| 17 | - } | ||
| 18 | -} |
springboot-admin/src/test/java/com/ai/obc/springboot/admin/AdminApplicationTests.java
已删除
100644 → 0
| 1 | -package com.ai.obc.springboot.admin; | ||
| 2 | - | ||
| 3 | -import org.junit.Test; | ||
| 4 | -import org.junit.runner.RunWith; | ||
| 5 | -import org.springframework.boot.test.context.SpringBootTest; | ||
| 6 | -import org.springframework.test.context.junit4.SpringRunner; | ||
| 7 | - | ||
| 8 | -@RunWith(SpringRunner.class) | ||
| 9 | -@SpringBootTest | ||
| 10 | -public class AdminApplicationTests { | ||
| 11 | - | ||
| 12 | - @Test | ||
| 13 | - public void contextLoads() { | ||
| 14 | - } | ||
| 15 | - | ||
| 16 | -} |
-
请 注册 或 登录 后发表评论