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

CLOUDP-70048: mongocli atlas security ldap verify status #438

Merged
merged 6 commits into from
Sep 11, 2020

Conversation

andreaangiolillo
Copy link
Collaborator

@andreaangiolillo andreaangiolillo commented Sep 11, 2020

Proposed changes

Jira ticket: CLOUDP-70048

Checklist

  • I have signed the MongoDB CLA
  • I have added tests that prove my fix is effective or that my feature works
  • I have added any necessary documentation (if appropriate)
  • I have run make fmt and formatted my code

Further comments

./bin/mongocli atlas security ldap verify status 5f5b257f7476ce5785229ce4
REQUEST ID                 PROJECT ID                 STATUS
5f5b257f7476ce5785229ce4   5e4e593f70dfbf1010295836   FAILED

./bin/mongocli atlas security ldap verify status 5f5b257f7476ce5785229ce4 -o json
{
  "requestId": "5f5b257f7476ce5785229ce4",
  "groupId": "5e4e593f70dfbf1010295836",
  "request": {
    "hostname": "2.tcp.ngrok.io",
    "port": 19657,
    "bindUsername": "cn=admin,dc=example,dc=org"
  },
  "status": "FAILED",
  "validations": [
    {
      "status": "OK",
      "validationType": "SERVER_SPECIFIED"
    },
    {
      "status": "FAIL",
      "validationType": "CONNECT"
    }
  ],
  "links": [
    {
      "rel": "self",
      "href": "https://cloud-dev.mongodb.com/api/atlas/v1.0/groups/5e4e593f70dfbf1010295836/userSecurity/ldap/verify/5f5b257f7476ce5785229ce4"
    }
  ]
}

@andreaangiolillo andreaangiolillo changed the title CLOUDP-70048: mongocli atlas security ldap verify status CLOUDP-70048: mongocli atlas security ldap status Sep 11, 2020
@andreaangiolillo
Copy link
Collaborator Author

@gssbzn tagging you here so you can review this PR once you're back.

@andreaangiolillo andreaangiolillo changed the title CLOUDP-70048: mongocli atlas security ldap status CLOUDP-70048: mongocli atlas security ldap verify status Sep 11, 2020
Copy link
Collaborator

@colm-quinn colm-quinn left a comment

Choose a reason for hiding this comment

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

LGTM, however it looks like you've broken the tests with parameter changes.

EDIT: NM, you fixed it while I was reviewing :D

@andreaangiolillo
Copy link
Collaborator Author

Thanks for the review!! 🚀

Regarding your question that I don’t see anymore:

Those usage parameters have been added yesterday here #437, so nobody is using them. In addition this change was requested by @gssbzn #437 (comment)

@andreaangiolillo andreaangiolillo merged commit 3a2dd3f into master Sep 11, 2020
@andreaangiolillo andreaangiolillo deleted the CLOUDP-70048 branch September 11, 2020 07:53
@colm-quinn
Copy link
Collaborator

Thanks for the review!! 🚀

Regarding your question that I don’t see anymore:

Those usage parameters have been added yesterday here #437, so nobody is using them. In addition this change was requested by @gssbzn #437 (comment)

Yup, I had figured out the parameters myself going back over the blame on the file, then deleted the comment :) Thanks for the detail

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