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

Feature: Add CLI params for authentication #12

Merged
merged 14 commits into from
Jul 19, 2017

Conversation

moorthi07
Copy link
Member

Issue #7 dpd start with mongodb authentication fixed
Issue #8 version no. in package.json fixed.
Issue #4 Keygen works as expected.

Copy link
Member

@NicolasRitouet NicolasRitouet left a comment

Choose a reason for hiding this comment

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

Looks good 👍
@andreialecu can you also review it?

package.json Outdated
@@ -1,6 +1,6 @@
{
"name": "deployd-cli",
"version": "2.0.0",
"version": "0.0.2",
Copy link
Member

Choose a reason for hiding this comment

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

Please, keep version 2.0.0

Copy link
Member Author

Choose a reason for hiding this comment

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

ok got it

lib/cli/start.js Outdated
password = auth[1];
setCredentials(username, password);
} else if (program.username || program.password) {
console.log(' program.password', program.password)
Copy link
Member

Choose a reason for hiding this comment

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

do not output the password in the logs

Copy link
Member Author

Choose a reason for hiding this comment

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

great catch. I'll remove this line, was for test

lib/cli/start.js Outdated
);


// Added by PV
Copy link
Member

Choose a reason for hiding this comment

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

what does that mean?

Copy link
Member Author

Choose a reason for hiding this comment

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

just note that where I made the change

added dpd.config to set dpd configurations to comply naming convention , that will replace app.dpd
.travis.yml Outdated
@@ -0,0 +1,3 @@
language: node_js
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok. Done.

.travis.yml Outdated
- "6"
- "5"
- "4"
- "0.12"
Copy link
Member

Choose a reason for hiding this comment

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

it needs a tab (you can validate your travis.yml here: http://lint.travis-ci.org/)

@NicolasRitouet NicolasRitouet changed the title Issues #7 dpd start with mongodb authentication fixed, #8 version no. #4 works Feature: Add authentication with CLI params Jul 19, 2017
@NicolasRitouet NicolasRitouet changed the title Feature: Add authentication with CLI params Feature: Add CLI params for authentication Jul 19, 2017
@NicolasRitouet NicolasRitouet merged commit 71287bd into deployd:master Jul 19, 2017
@NicolasRitouet
Copy link
Member

@moorthi07 Thanks a lot for your contribution 🎉

@moorthi07
Copy link
Member Author

Right back at you! thx.

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.

2 participants