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

Adds Vault support. #73

Merged
merged 5 commits into from Apr 11, 2017
Merged

Adds Vault support. #73

merged 5 commits into from Apr 11, 2017

Conversation

lordofthejars
Copy link
Member

No description provided.

Copy link
Member

@bartoszmajsak bartoszmajsak left a comment

Choose a reason for hiding this comment

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

LGTM except of few minor things. Plus overall discussion about the maps, but that's next step :)

private Vault vault;

public Secrets(String host, int port, String token) throws VaultException {
this.vaultConfig = new VaultConfig(String.format("http://%s:%s", host, port), token);
Copy link
Member

Choose a reason for hiding this comment

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

Second placeholder for in the format should be %d I believe.

Copy link
Member Author

Choose a reason for hiding this comment

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

It is not necessary, you can do %d or %s and calls the toString method.

Copy link
Member

Choose a reason for hiding this comment

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

I know, but just for correctness of what you really expect.


}


Copy link
Member

Choose a reason for hiding this comment

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

I think we can save on empty lines here :)

@lordofthejars lordofthejars merged commit 1d260fd into arquillian:2.0.0 Apr 11, 2017
@lordofthejars lordofthejars deleted the vault_support branch April 11, 2017 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants