Thanks to visit codestin.com
Credit goes to github.com

Skip to content

churnresearch/api

 
 

Repository files navigation

Get Kimball Features API

codecov

Running

As a client

Features is available through a Swagger-defined API.

A Swagger 2.0 spec is available at the path/api-docs/swagger.json.

When developing locally you should use the public UI: http://a9a25f850863945aeb2e4da40402e9a6-29786484.us-east-1.elb.amazonaws.com/api-docs

When deployed in cluster a FEATURES_SWAGGER environment variable will be available to your app that will point to the JSON.

In cluster these URLs are: master-branch: http://master-features.getkimball.svc/api-docs/swagger.json PR branch: http://features.getkimball.svc/api-docs/swagger.json

Use nix!

Running app

make deps app shell
make live-js

Configuration

Environment variables

  • ADDITIONAL_NAMESPACES - A comma separated list of namespaces to sync feature config to. This should include any namespaces where you intend to run sidecars
  • FEATURES_MODE - Which mode to start the application in
    • api (default) - Fully feature API server, storing state in configmaps
    • sidecar - Read only API meant to be deployed as a sidecar. Features features from /features/data volume in Kubernetes.

Releasing

git checkout master
git pull
TAG=$(date +"%Y.%m.%d")
git tag ${TAG}
git push origin ${TAG}

License

All rights reserved. Copyright Get Kimball Inc. 2020

About

Self-hosted prediction API and event analytics.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Erlang 90.6%
  • Svelte 5.0%
  • Python 1.4%
  • Shell 0.8%
  • Makefile 0.7%
  • JavaScript 0.6%
  • Other 0.9%