Git Product home page Git Product logo

e-arbiter-config's Introduction

e-Arbiter - configuration

What it is?

It's a repository with yml config files for each Spring microservices.

Why it is used?

Because holding configuration in each module separately is confusing and harder to maintain. With this approach we have everything in one place.

Also, Spring Cloud server allows us to change properties in runtime. What does it mean? For example, if we have remote repo for prod app, we can update some values and after that, Spring will update his values, without recompiling! Great, heh?

How to use it?

Currently, application cannot run without this repo. Prod version probably will use remote repo. For development user can sometimes change something locally.

Instruction:

-Download this repository.

-From file env.env copy enviroments and add to your environment. (If you have problem on Windows, write message to Artur)

-Change E_ARB_ROOT_FOLDER env variable value. It should point to your main folder with three projects: e-arbiter, e-arbiter-utils, e-arbiter-config.

If you change something, COMMIT IT, BUT WITHOUT PUSH! Otherwise, yours changes won't be visible for Spring.

If you change something there and you want to add this to master version, create another branch, new pull request, and attach it to proper Trello's ticket. Sometimes changes will be needed!

Possibly problems

Sometimes IJ cannot see your env variables. Remember about adding it to your env and to IJ!! Otherwise, IJ can throw some errors and you will be forced to use console (it isn't wrong but debugging is harder...). Suggested plugin: envFile

ELK stack - configuration

Download ELK

Download and extract elasticsearch, kibana, logstash.

Setup ELK

In file env.env change the environments E_ARB_{option}_RUN where options is type of tool (ES - elasticsearch, KIB - kibana, LOG - logstash) to a directories u have just extract tools.

Results

The log charts can be seen via results. I recommend to setup kibana with columns Time, level, class, longmessage for better visibility. You can add columns from left side panel with label available fields. The columns can be removed by clicking crossroad icon near column names under the main chart.

e-arbiter-config's People

Contributors

arturczopek avatar konradonieszczuk avatar maciejmarczak avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.