Skip to content

goodGid/Spring-Boot-2.4.2-Feign-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Feign_Demo_Project

See

Goal

  • We can use the feign client.

  • And you can easily use this project

    because basic things in the structure of the project are already prepared.

Feature

Version

  • Java : 11

  • Spring Boot : 2.4.2

  • Feign : 2020.0.1

  • Build Tool : Gradle

Dependency

build.gradle

ext {
    /**
     * Spring Boot and springCloudVersion must be compatible.
     * 2.4.x == 2020.0.x
     * ref : https://spring.io/projects/spring-cloud
     */
    // Feign
    set('springCloudVersion', '2020.0.1')
}

dependencyManagement {
    imports {
        mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
    }
}

dependencies {
    // Feign
    implementation 'org.springframework.cloud:spring-cloud-starter-openfeign'
    ...
}

Comment

  • If you want to test profile environment

    use this option

-Dspring.profiles.active={profile}
  • I recommend you.

    See how the properties of config/custom/url.yml are used and worked

About

We can use the feign client !

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages