Skip to content

SAAS-175 Auth API - #553

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

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

Conversation

@artemgavrilov

@artemgavrilov artemgavrilov commented Jul 13, 2020

Copy link
Copy Markdown
Contributor

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

AlekSi commented Jul 15, 2020

Copy link
Copy Markdown
Contributor

image

I really hope CI will catch that…

Comment thread api/serverpb/server.proto Outdated
@AlekSi

AlekSi commented Jul 15, 2020

Copy link
Copy Markdown
Contributor

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.

@AlekSi AlekSi left a comment

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.

We need to add SaaS user email to Settings message

Comment thread api/serverpb/server.proto Outdated
// 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

AlekSi commented Jul 20, 2020

Copy link
Copy Markdown
Contributor

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

@AlekSi AlekSi left a comment

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.

@artemgavrilov PTAL at recent commits

Comment thread api/serverpb/server.proto
}
];
// 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.

Comment thread api/serverpb/server.proto
}
];
// 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.

Comment thread api/serverpb/server.proto
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

Comment thread api/nginx/nginx.conf
}

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