Browse Source

Initialize project page

pull/150/head
Ryan Baxter 7 years ago
parent
commit
ed9ae8a7e1
  1. 14
      _config.yml
  2. 16
      _includes/build.gradle
  3. 17
      _includes/pom.xml
  4. 76
      index.html

14
_config.yml

@ -16,24 +16,24 @@ gems: @@ -16,24 +16,24 @@ gems:
### The following properties will change on a project-by-project basis
# Context path in the remote website (usually /<project>), will be prepended to absolute URLs for static resources
baseurl: /gh-pages
baseurl: /spring-cloud-openfeign
# Name of the project for display in places like page titles
name: Spring Framework
name: Spring Cloud OpenFeign
# ID of the project in the metadata API at spring.io (if this is not a
# valid project ID the javascript widgets in the home page will not work)
project: spring-framework
project: spring-cloud-openfeign
# Project github URL
github_repo_url: http://github.com/spring-projects/spring-framework
github_repo_url: http://github.com/spring-cloud/spring-cloud-openfeign
# Project forum URL
forum: http://forum.spring.io/forum/spring-projects/container
forum: http://stackoverflow.com/questions/tagged/spring-cloud
# If you want to include a custom pom.xml or gradle template set these value to true and add _include files
custom_pom_template: false
custom_gradle_template: false
custom_pom_template: true
custom_gradle_template: true
### The following properties are constant for most projects

16
_includes/build.gradle

@ -0,0 +1,16 @@ @@ -0,0 +1,16 @@
buildscript {
dependencies {
classpath "io.spring.gradle:dependency-management-plugin:1.0.3.RELEASE"
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom '{@= groupId @}:spring-cloud-openfeign:{@= version @}'
}
}
dependencies {
compile '{@= groupId @}:spring-cloud-starter-openfeign'
}

17
_includes/pom.xml

@ -0,0 +1,17 @@ @@ -0,0 +1,17 @@
<dependencyManagement>
<dependencies>
<dependency>
<groupId>{@= groupId @}</groupId>
<artifactId>spring-cloud-openfeign</artifactId>
<version>{@= version @}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>{@= groupId @}</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
</dependency>
</dependencies>

76
index.html

@ -0,0 +1,76 @@ @@ -0,0 +1,76 @@
---
# The name of your project
title: Spring Cloud OpenFeign
badges:
# Customize your project's badges. Delete any entries that do not apply.
custom:
- name: Source (GitHub)
url: https://github.com/spring-cloud/spring-cloud-openfeign
icon: github
- name: StackOverflow
url: http://stackoverflow.com/questions/tagged/spring-cloud
icon: stackoverflow
---
<!DOCTYPE HTML>
<html lang="en-US">
<!-- Specify the parent of this project (or delete if none) to influence the rendering of the breadcrumb -->
{% capture parent_link %}
[Spring Cloud]({{ site.projects_site_url }}/spring-cloud)
{% endcapture %}
{% capture billboard_description %}
**PROJECT DESCRIPTION** Corpus callosum,
This project provides [OpenFeign](https://github.com/OpenFeign/feign) integrations for Spring Boot apps through autoconfiguration and binding to the Spring Environment and other Spring programming model idioms.
{% endcapture %}
{% capture main_content %}
## Features
* Declarative REST Client: Feign creates a dynamic implementation of an interface decorated with JAX-RS or Spring MVC annotations
<span id="quick-start"></span>
## Quick Start
{% include download_widget.md %}
```java
@SpringBootApplication
@EnableFeignClients
public class WebApplication {
public static void main(String[] args) {
SpringApplication.run(WebApplication.class, args);
}
@FeignClient("name")
static interface NameService {
@RequestMapping("/")
public String getName();
}
```
{% endcapture %}
{% capture related_resources %}
### Sample Projects
* [Feign Using Eureka](https://github.com/spring-cloud-samples/feign-eureka)
{% endcapture %}
{% include project_page.html %}
</html>
Loading…
Cancel
Save