Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

MeltwaterArchive/ds-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements:
Local environment:

Python 2.7 virtualenv pip

To run locally:
  1. git clone to preferred directory
2. Mac OSX 10.11+ (El Capitan+) ONLY: fix for system openssl headers issue:
  1. download/install brew (http://brew.sh) if not installed already
  2. brew uninstall openssl; brew update
  3. brew install openssl
  4. brew link openssl --force
e. which openssl
  1. if /usr/bin/openssl , need to update PATH variable: export PATH="/usr/local/bin:$PATH"
  2. if /usr/local/bin/openssl , you're set
3. set up a local virtual environment:
a. pip install virtualenv
  1. if "bash: pip: command not found": brew install python
  1. virtualenv venv
  2. source venv/bin/activate
  1. install dependencies: pip install -r requirements.txt
  2. python application.py
  3. from browser, navigate to http://127.0.0.1:5000/
Note on elasticbeanstalk use:
  • application.py has just a single import which makes it a WSGI application. Otherwise eb complains "Target WSGI script '/opt/python/current/app/application.py' does not contain WSGI application 'application'"
  • make sure that Configuration is using something like "64bit Amazon Linux 2015.03 v1.4.3 running Python 2.7" (note Python version)

==== RELEASE NOTES ====

2015-12-03

  • load tokens separately from identities
  • implement account level pylon/get instead of by identity = MUCH faster load time
  • major restructuring of python, CSS, and javascript
  • better error response messages
  • now using Flask Blueprints for clearer endpoint management
  • don't allow identity api keys to log in
  • switch to DataTables for data display

2015-08-07

  • elastic beanstalk support
  • new PYLON recordings section for all identities
  • start/stop PYLON recordings from any identity
  • improved output in the case that there's no data in a section

2015-07-09:

  • renamed to DS Manager
  • new ACCOUNT Identities section: include new endpoints for Account identities
  • updated to be used with elasticbeanstalk
  • add DPU calculations
  • historics fixes incl. multiple push subscriptions
  • prettier style and formatting incl. section tables and raw output display
  • better README format

2015-01-27:

  • (nearly) everything is asynchronous. This minimizes unnecessary API usage, page loading is very fast, and it allows for quick-ish updates on the fly.
  • organization of streams (subscriptions + historics) is a bit different. Historics with push subscriptions are now grouped together for convenience, under 'Historics Streams'. 'Live Streams' are standard push subscriptions only
  • Multiple stream and Managed Source control: You can look at raw output/log files or stop/start/delete/resume/etc. however many subscriptions, historics, and/or Managed Sources you like with a minimal amount of clicks.
  • 'Live Stream', 'Usage', and 'Managed Sources' tables are sortable. This is handy to identify problem streams for customers with many, many streams. 'Historics Streams' is not 100% sortable. yet.
  • all raw output and logs are displayed for selected streams, exactly how they would be seen when running curl, and exportable as a text file
  • 'Live Stream', 'Historics Streams', 'Usage', and 'Managed Sources' can each be individually updated without refreshing the full page.
  • we are using session storage. You'll stay logged in as the last user whose credentials you've last used, unless you clear browser cookies or log out. This also means that you'll only be able to log in as one user per browser (or incognito) as it works currently

About

Web tool to monitor and manage PYLON recordings, Managed Sources, and streaming

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published