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

Configuration API Controller #632

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FranciscoCanas
Copy link
Member

Implementation of the Configuration API as described here:
https://docs.google.com/document/d/1efjdlFTFlYLX0XOYs1hIjBC6rxLRXBjMjiqUdPBHqSc/

Completed:

  • Profiles
  • General Configuration
  • Recording Configuration
  • Plugin Categories
  • View and Patch Plugin Instance Config
  • JSON schemas are provided with view requests.

Note:
Freeseer's PluginManager has no support for listing available instances of some given plugin, and doesn't keep track of existing instances. The PluginManager will require some expansion, partly as described in #416, in order to fully support selecting specific plugin instances through this api.

@dideler dideler added this to the 2014 Fall - UCOSP milestone Oct 19, 2014
@dideler
Copy link
Member

dideler commented Oct 19, 2014

I left some comments on the gdoc.

FranciscoCanas added a commit to FranciscoCanas/freeseer that referenced this pull request Nov 16, 2014
Methods for deleting, creating, and listing
profiles. Also modifies get_profile by adding
an extra arg to specify whether a non-
existing profile should be auto-created.

Adds unit tests to test_profile.

Methods added:
- create
- list_profiles
- delete

Related to Freeseer#632
@FranciscoCanas FranciscoCanas changed the title WIP Configuration API Controller Configuration API Controller Nov 19, 2014
FranciscoCanas added a commit to FranciscoCanas/freeseer that referenced this pull request Nov 20, 2014
Config schema methods generate a json schemas based on
the config instance's options. Option schema methods
generate schemas based on the type of Option, its
default values, and whether its required or not.

Also adds schema unit tests for Config and Options,
and adds test_float unit test file.

Needed for Freeseer#632
@FranciscoCanas FranciscoCanas force-pushed the configuration-api branch 2 times, most recently from 2a31784 to fe443ce Compare November 20, 2014 21:33
@mtomwing
Copy link
Member

I suggest you move your code into a submodule folder instead of prefixing files with config<foobar>.py.

Adds endpoints for:
- User profiles
- General and Recording configuration
- Recording Plugins

Helper methods and unit tests for all implemented endpoints.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants