搭建 Config 服务端

简介: 搭建 Config 服务端

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
    <artifactId>spring-cloud-demo2</artifactId>
    <groupId>net.biancheng.c</groupId>
    <version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.biancheng.c</groupId>
<artifactId>micro-service-cloud-config-center-3344</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>micro-service-cloud-config-center-3344</name>
<description>Demo project for Spring Boot</description>
<properties>
    <java.version>1.8</java.version>
</properties>

<dependencies>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-test</artifactId>
        <scope>test</scope>
    </dependency>
    <!--配置中心服务器依赖-->
    <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-config-server</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-web</artifactId>
    </dependency>

    <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
    </dependency>
</dependencies>

<build>
    <plugins>
        <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
        </plugin>
    </plugins>
</build>

目录
相关文章
|
1月前
|
微服务
SpringCloud-Config服务端微服务从自己的Gitee上获取配置内容配置读取规则
SpringCloud-Config服务端微服务从自己的Gitee上获取配置内容配置读取规则
17 0
|
7月前
|
JSON Java 数据格式
springboot服务端接口外网远程调试,并实现HTTP服务监听(二)
springboot服务端接口外网远程调试,并实现HTTP服务监听(二)
72 0
|
7月前
|
网络协议 Java 应用服务中间件
springboot服务端接口外网远程调试,并实现HTTP服务监听(一)
springboot服务端接口外网远程调试,并实现HTTP服务监听(一)
79 0
|
7月前
|
JSON 网络协议 Java
springboot服务端接口外网远程调试,并实现HTTP服务监听
springboot服务端接口外网远程调试,并实现HTTP服务监听
82 0
|
9月前
|
前端开发 API
14-mock-server之moco环境搭建
14-mock-server之moco环境搭建
|
移动开发 Java C++
服务端推送技术 Server-sent Events springBoot代码示例
服务端推送技术 Server-sent Events springBoot代码示例
597 0
服务端推送技术 Server-sent Events springBoot代码示例
|
存储 Java 开发工具
SpringCloud--Config Server配置中心学习总结
使用分布式微服务开发和部署项目,其中的一个优势就是:使用分布式配置协调服务,达到统一配置存储和使用。
160 0
SpringCloud--Config Server配置中心学习总结
|
运维 监控 Java
SpringCloud Config服务端的配置|学习笔记
快速学习 SpringCloud Config 服务端的配置
127 0
SpringCloud Config服务端的配置|学习笔记
|
前端开发 Java 开发工具
SpringCloud Config 客户端配置与测试|学习笔记
快速学习 SpringCloud Config 客户端配置与测试
293 0
SpringCloud Config 客户端配置与测试|学习笔记