Skip to content

SAAS-175 Auth API#553

Merged
AlekSi merged 12 commits intoPMM-2.0from
SAAS-175-auth-api
Jul 28, 2020
Merged

SAAS-175 Auth API#553
AlekSi merged 12 commits intoPMM-2.0from
SAAS-175-auth-api

Conversation

@artemgavrilov
Copy link
Copy Markdown
Contributor

@artemgavrilov artemgavrilov commented Jul 13, 2020

@artemgavrilov artemgavrilov marked this pull request as ready for review July 15, 2020 12:25
@AlekSi
Copy link
Copy Markdown
Contributor

AlekSi commented Jul 15, 2020

image

I really hope CI will catch that…

@AlekSi
Copy link
Copy Markdown
Contributor

AlekSi commented Jul 15, 2020

And yes, CI fails. Run make init gen

@artemgavrilov artemgavrilov self-assigned this Jul 15, 2020
@artemgavrilov
Copy link
Copy Markdown
Contributor Author

@AlekSi sorry, fixed.

Copy link
Copy Markdown
Contributor

@AlekSi AlekSi left a comment

Choose a reason for hiding this comment

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

We need to add SaaS user email to Settings message

// SignUp creates user Percona profile.
rpc SignUp(SignUpRequest) returns (SignUpResponse) {
option (google.api.http) = {
post: "/v1/Auth/SignUp"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Let me think about that URL…

@AlekSi
Copy link
Copy Markdown
Contributor

AlekSi commented Jul 20, 2020

We need to add SaaS user email to Settings message

I will do that

@artemgavrilov
Copy link
Copy Markdown
Contributor Author

Ok

@AlekSi AlekSi self-requested a review July 20, 2020 10:51
Copy link
Copy Markdown
Contributor

@AlekSi AlekSi left a comment

Choose a reason for hiding this comment

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

@artemgavrilov PTAL at recent commits

}
];
// New Percona Platform user's password.
string password = 2;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The presence of that field should be validated in code. In the future, we will relax that requirement. Removing a validator would be a breaking change from prototool perspective.

}
];
// Existing Percona Platform user's password.
string password = 2;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The presence of that field should be validated in code. In the future, we will relax that requirement. Removing a validator would be a breaking change from prototool perspective.

post: "/v1/Platform/SignIn"
body: "*"
};
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changed both URLs and method names

}

http {
upstream managed-grpc {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Where it was moved?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

See the added comment on top of the file

@AlekSi AlekSi assigned AlekSi and unassigned artemgavrilov Jul 27, 2020
@artemgavrilov artemgavrilov changed the title SAAS-175 Auth API SAAS-175 SAAS-174 Auth API Jul 27, 2020
@artemgavrilov artemgavrilov changed the title SAAS-175 SAAS-174 Auth API SAAS-175 Auth API Jul 28, 2020
@AlekSi AlekSi merged commit c538a89 into PMM-2.0 Jul 28, 2020
@AlekSi AlekSi deleted the SAAS-175-auth-api branch July 28, 2020 16:08
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.

3 participants