-
Notifications
You must be signed in to change notification settings - Fork 1
lsblakk/graphserver-webapp
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
For bug https://bugzilla.mozilla.org/show_bug.cgi?id=505803 A webapp for adding/updating entries to our graphserver databases (staging, production) It can be accessed at the root of the hosting url :5000 or also with API calls: GET /branches -- redirects to / and includes table view of branches in the db (adding ?format=json will provide all branches in json) /machines -- redirects to / and includes table view of machines in the db (adding ?format=json will provide all machines in json) POST /branches * accepts both 'branch_id' and 'branch_name' to update that branch_id in db if exists * accepts a unique 'branch_name' and adds that branch to the db /machines * accepts 'machine_id' and any of the fields for a machine and updates that machine with the field values * accepts the following to add a machine to the db: ** unique 'machine_name' (string) ** 'os_id', 'is_throttling', 'cpu_speed', 'is_active' (numeric)
About
To allow for automation of adding/removing data from graphserver-{production,staging}
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published