Skip to content
This repository has been archived by the owner on Mar 27, 2019. It is now read-only.

API rewrite + 0.6.0 compatibility #46

Merged
merged 20 commits into from
Feb 1, 2017
Merged

API rewrite + 0.6.0 compatibility #46

merged 20 commits into from
Feb 1, 2017

Conversation

djenriquez
Copy link
Owner

  • rewrote all backend calls to use new passthrough API
  • Added backwards compatibility for /sys/mounts in version 0.6.0 which affected displaying generic backends
  • Initial implementation of token management will be included in this PR

@alexunwin @Lucretius @msessa-cotd I’d like to release 0.2.0 after this PR is merged, PTAL.

Matteo Sessa and others added 16 commits January 24, 2017 17:42
Utilizing native Vault API—express server now only acts as a
passthrough to bypass CORs for login methods.
callVaultApi has some assumptions that are not valid during login,
specifically the presence of the vault_addr and vault_token variables
in localstorage. These two variables are not yet available from the
login screen.
- Currently does not handle case where secret does not exist, errors
thrown all over. Need to put in some kind of 404 page or error message
when trying to navigate to a nonexistent secret
@msessa
Copy link
Collaborator

msessa commented Feb 1, 2017

Looks good mate.

Working on the last bits of token management, I'm almost 1:1 feature parity with the vault API.

Can we have a devel branch where we all commit into and merge development branches before they are ready for master primetime ?

@djenriquez
Copy link
Owner Author

I was actually thinking about that over the weekend @msessa-cotd, though after some thought, the idea started to lose purpose for me. I say this because users should be using versioned images in their deployments. If they don't, they'll be using latest, which would represent our current development branch. If users decide that they're ok with latest, I would assume they're ok with using an unstable version.

Feature branch --> local development
Master branch --> merged unstable version
Git Tags --> production-ready tested released versions

The only benefit I would see a dev branch providing is adding an additional layer of protection for users, but in that case they should be using versioned images anyways. Also, we will probably see a bunch of duplicate PRs into master for every fix we do to the dev branch.

Copy link
Collaborator

@alexunwin alexunwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@msessa
Copy link
Collaborator

msessa commented Feb 1, 2017

Makes sense @djenriquez. I was worried the project direction was to try to keep master stable but your comment clarifies that.

Copy link
Collaborator

@Lucretius Lucretius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@djenriquez djenriquez merged commit 479a34f into master Feb 1, 2017
@djenriquez djenriquez deleted the api-rewrite branch February 1, 2017 07:10
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.

5 participants