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

Add local datastore to persist states of LocalScope network #466

Merged
merged 3 commits into from
Sep 22, 2015
Merged

Add local datastore to persist states of LocalScope network #466

merged 3 commits into from
Sep 22, 2015

Commits on Sep 21, 2015

  1. Update godep to support boltdb backend

    Signed-off-by: Chun Chen <ramichen@tencent.com>
    chenchun committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    91a8dc0 View commit details
    Browse the repository at this point in the history
  2. Add local datastore to persist states of LocalScope network

    Signed-off-by: Chun Chen <ramichen@tencent.com>
    chenchun committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    b35d173 View commit details
    Browse the repository at this point in the history
  3. Various refactor and fixes for the previous two commits including:

    1. Don't save localscope endpoints to localstore for now.
    2. Add common function updateToStore/deleteFromStore to store KVObjects.
    3. Merge `getNetworksFromGlobalStore` and `getNetworksFromLocalStore`
    4. Add `n.isGlobalScoped` before `n.watchEndpoints` in `addNetwork`
    5. Fix integration-tests
    6. Fix test failure in drivers/remote/driver_test.go
    7. Restore network to store if deleteNework failed
    chenchun committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    1edba85 View commit details
    Browse the repository at this point in the history