Giter Site home page Giter Site logo

dennismcwherter / fili Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yahoo/fili

0.0 2.0 0.0 1.27 MB

Easily make RESTful web services for time series reporting with Big Data analytics engines like Druid and Hive.

License: Apache License 2.0

Java 54.09% Groovy 45.81% Shell 0.09% Python 0.01%

fili's Introduction

Fili Web Service Travis Download

Repository for the Fili web service.

Monitoring and Operations

There is a list of Key Performance Indicators (KPIs) for the web service. It doesn't go into detail about what each of the KPIs mean, but it gives a rough overview of why they matter.

Useful Links

How to configure properties locally

Configuration is resolved in the following order

  1. Environment variables
  2. Java properties
  3. userConfig.properties (By convention this should only be used for a controlling a specific non-standard environment, such as a development box)
  4. testApplicationConfig.properties (By convention this should only be used for test runner overrides)
  5. applicationConfig.properties (Every application should provide one of these)
  6. Additional moduleConfig.properties found on the class path.

The .gitignore file includes a rule to ignore userConfig.properties this by default to help prevent checking it in accidentally.

How do I enable Redis?

To enable Redis on local machines:

  • set the test__dimension_backend property to redis
  • set the test__key_value_store_tests property to redis

in src/test/resources/userConfig.properties or in an environment variable.

Miscellaneous Information

Maven doesn't run on my Mac. Help!

Maven picks up the wrong version of Java. If you run mvn --version you'll see that it probably says that the Java version isn't 1.8 but is 1.7, or some even earlier version.

To remedy this, you need to make sure you have the JAVA_HOME environment variable exported. To export this variable, put the following line in your ~/.bash_profile file:

export JAVA_HOME=`/usr/libexec/java_home -v 1.8`

Additionally, to work with yahoo.bintray.com/maven, you need to copy the settings.xml file into `~/.m2/

The easiest way to run tests on a Mac is to use in memory dimension backend and key value store:

mvn -Dtest__dimension_backend=memory -Dtest__key_value_store_tests=memory clean test

I want to contribute to Fili. Are there any code style guidelines I should follow?

For the moment, we have distilled the most important code style conventions with respect to Fili's code as IntelliJ settings.

If you are using IntelliJ, you may import these code style settings by importing: Fili-Project.xml

They will appear as a new Scheme named Bard-Project under your Editor โ†’ Code Style section.

Alternatively, you might check the xml file that is included in the jar and map its settings to your development environment.

We have also included a large amount of checkstyle rules, that should catch 98% of the code style guidelines. The Google Java style guide is very close to our style.

fili's People

Contributors

archolewa avatar cdeszaq avatar dayamr avatar garyluoex avatar michael-mclawhorn avatar

Watchers

 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.