Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SHS-NG M4.0: Initial UI hook up. #6

Closed
wants to merge 1 commit into from
Closed

SHS-NG M4.0: Initial UI hook up. #6

wants to merge 1 commit into from

Commits on May 30, 2017

  1. SHS-NG M4.0: Initial UI hook up.

    This change adds some building blocks for hooking up the new data store
    to the UI. This is achieved by returning a new SparkUI implementation when
    using the new KVStoreProvider; this new UI does not currently contain any
    data for the old UI / API endpoints; that will be implemented in M4.
    
    The interaction between the UI and the underlying store was isolated
    in a new AppStateStore class. Code in later patches will call into this
    class to retrieve data to populate the UI and API.
    
    Some new indexed fields had to be added to the stored types so that the
    code could efficiently process the API requests.
    
    On the history server side, some changes were made in how the UI is used.
    Because there's state kept on disk, the code needs to be more careful about
    closing those resources when the UIs are unloaded; and because of that some
    locking needs to exist to make sure it's OK to move files around. The app
    cache was also simplified a bit; it just checks a flag in the UI instance
    to check whether it should be used, and tries to re-load it when the FS
    listing code invalidates a loaded UI.
    Marcelo Vanzin committed May 30, 2017
    Configuration menu
    Copy the full SHA
    ebf6fef View commit details
    Browse the repository at this point in the history