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

Changing the allocator API to gRPC #1314

Merged
merged 2 commits into from
Feb 10, 2020
Merged

Conversation

pooneh-m
Copy link
Contributor

@pooneh-m pooneh-m commented Feb 3, 2020

Changing the allocator API from REST to gRPC.
The API is still in alpha version; so breaking changes are OK.
#597

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 203bb724-c6ff-47ef-a3b7-912e90514fd7

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: ceee219e-d26d-49a4-ad1b-292f0f3afb63

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/1314/head:pr_1314 && git checkout pr_1314
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.4.0-fe1c693

Copy link
Member

@markmandel markmandel left a comment

Choose a reason for hiding this comment

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

Overall, looks good - just some general comments 👍

@@ -54,7 +58,7 @@ import (
)

var (
logger = runtime.NewLoggerWithSource("main")
logger = runtime.NewLoggerWithSource("allocator-service")
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 this should stay as "main" so as to be inline with all our other main packages.

The package is there, so it's identifiable.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I see. So the source is the source file. That's replacing the stack trace? :) I'll follow the guideline then.

cmd/allocator/main.go Show resolved Hide resolved
cmd/allocator/main.go Show resolved Hide resolved
go func() {
// The certs are set on the config so passing empty as the cert path
err := srv.ListenAndServeTLS("", "")
err := grpcServer.Serve(listener)
Copy link
Member

Choose a reason for hiding this comment

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

Not for this PR, but eventually, should we do a REST interface as well via grpc-gateway?

The annotations are there in the proto file 😄

Copy link
Contributor Author

@pooneh-m pooneh-m Feb 5, 2020

Choose a reason for hiding this comment

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

Let's support REST, only if there is an ask.

@markmandel markmandel added area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc kind/feature New features for Agones labels Feb 3, 2020
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 0cf84da6-e1c2-4b0d-9101-1f458e5afa3d

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/1314/head:pr_1314 && git checkout pr_1314
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.4.0-49eca7d

@roberthbailey roberthbailey removed their request for review February 7, 2020 19:33
@pooneh-m
Copy link
Contributor Author

Ping! :)

Copy link
Member

@markmandel markmandel 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! Nice work!

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: markmandel, pooneh-m

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [markmandel,pooneh-m]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-robot
Copy link

New changes are detected. LGTM label has been removed.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 7a2c5234-393a-4ec3-bf8a-fcc61e985bfe

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: aad9e295-bd1b-4da6-804e-2d5e99b332bf

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/1314/head:pr_1314 && git checkout pr_1314
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.4.0-c4c9de8

@pooneh-m pooneh-m merged commit 8da5d31 into googleforgames:master Feb 10, 2020
@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 5f7bb5fd-6ca1-4bce-8ea0-930c0c7a94b8

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@markmandel markmandel added this to the 1.4.0 milestone Feb 26, 2020
ilkercelikyilmaz pushed a commit to ilkercelikyilmaz/agones that referenced this pull request Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc kind/breaking Breaking change kind/feature New features for Agones size/XL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants