LeviPorto / config-preoday

Config Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Config Preoday

Description

This Micro Service is a Config Server that provide configuration of any Spring Boot Application. Created thinking on Weatherman API. Is responsible to provide API-KEY, API-VER and API-FEED-TYPE to Weacherman API.

Motivation

Principal motivation is to externalize configuration about NASA API on Weatherman API, that you can modify in this project and you can have efect on Weatherman API. It was created thinking future propourses, also, like others Micro Services specific configurations

How to make it work

  • First, you need setup Java 8 Environment (JDK, JRE... )
  • After, open this project in any IDE (i recommend Intellij)
  • Now, you can run without problems :)

Architecture

These configurations represent all Weatherman API configuration

nasa-api.api-key: DEMO_KEY nasa-api.api-version: 1.0 nasa-api.api-feed-type: json

  1. Change api-key to put your api-key, gotten on NASA Web Site (Default: DEMO_KEY)
  2. Change api-version to choose your api version (Default: 1.0)
  3. Change api-feed-type to choose your feed data type, but now, only exist json (Default: JSON)

This Micro Service has communication with Eureka, that is registered to it

About

Config Server


Languages

Language:Java 100.0%