Skip to content

bvilela/poc-spring-cloud-open-feign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POC Spring Cloud OpenFeign

Quality Status

build publish Quality Gate Status Coverage

Repository Statistics

Lines of Code GitHub repo size GitHub language count GitHub open issues GitHub open pull requests

Summary

This PoC (Proof of Concept) uses Spring Cloud OpenFeign to make a REST calls to an API and to explore Lib's functions.

Click here for view article in Medium.

Technologies

GitHub Action

  • Build and Test Java with Maven (branch master)
  • Analyze SonarCloud (branch master)
  • Publish on GitHub Packages (tag/release)

Public APIs used

Swagger DOC

http://localhost:8080/poc/swagger-ui/index.html#/

CURLs Examplos

  • GET Busca CEP:
curl --location --request GET 'localhost:8080/poc/busca-cep/01001000'
  • POST criar Post:
curl --location --request POST 'localhost:8080/poc/criar-post' \
--header 'Content-Type: application/json' \
--data-raw '{
    "title": "foo",
    "body": "bar",
    "userId": 1
}'

⬆ Voltar ao topo