-
Notifications
You must be signed in to change notification settings - Fork 826
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
Add Node.js SDK and example - closes #538 #581
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here (e.g. What to do if you already signed the CLAIndividual signers
Corporate signers
|
I signed it! |
CLAs look good, thanks! |
Build Succeeded 👏 Build Id: cef37619-7c5e-4c29-a216-9befbe3935e3 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:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good (I assume it works 😄) would like to see it integrated into our build
tooling though.
Regarding it working, it works against the local dev server |
Added some notes on build tooling - first step would be generation -- then probably adding the test suite to the We will also want to add some docs 😄 to the website as well 📜 But this looks like a good first start! |
This looks good I'll help you get that into our Makefile soon. |
Build Succeeded 👏 Build Id: 1280cdb3-446e-4146-be80-c8090e46aa24 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:
|
Just touching base - I'm guessing the things that are outstanding are (a) documentation and (b) integration with our build system? |
Build Succeeded 👏 Build Id: 838427a7-5832-4894-b174-e64875fe7e28 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:
|
Build Succeeded 👏 Build Id: 8e1d8686-c622-42f8-a29c-005458209c89 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:
|
Getting closer now :) I've added some documentation and also had a go at updating |
Build Succeeded 👏 Build Id: 5a6128e5-ec31-454a-a5bc-85ec7e3ad816 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:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I only found one thing to add - and that's so we can automate the tests.
Build Failed 😱 Build Id: 393aae42-c65c-41c0-9050-33c426517dbf To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Succeeded 👏 Build Id: d2015911-74b4-4980-9575-1d9a1edf7387 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:
|
This looks great to me! @Kuqd anything you wanted to touch on? (Since I know you were looking at this closely). Otherwise, I say this is good to merge. |
@steven-supersolid - this will need to be squashed into a single commit please. But otherwise, I think we are good to merge this! |
32d01d5
to
d19a1e4
Compare
Build Succeeded 👏 Build Id: 860e59be-bb1d-4430-8fe1-828f2c7c1ccb 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:
|
d19a1e4
to
887b8d6
Compare
Build Succeeded 👏 Build Id: b160c943-4829-4215-ba2a-f3b6b2eec9d1 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:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚒
Awesome!
Build Failed 😱 Build Id: 40af02c3-d584-4dd0-a660-406f718e9a25 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
let result = await agonesSDK.getGameServer(); | ||
``` | ||
|
||
To get [updates on the backing GameServer]({{< relref "_index.md#watchgameserverfunctiongameserver" >}}) as they happen, call `watchGameServer(callback)`. The callback will be called with a parameter matching the result of `getGameServer()`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To get [updates on the backing GameServer]({{< relref "_index.md#watchgameserverfunctiongameserver" >}}) as they happen, call `watchGameServer(callback)`. The callback will be called with a parameter matching the result of `getGameServer()`. | |
To get [updates on the backing GameServer]({{< relref "_index.md#watchgameserver-function-gameserver" >}}) as they happen, call `watchGameServer(callback)`. The callback will be called with a parameter matching the result of `getGameServer()`. |
That will fix the test failure, since the anchor is now inline with master.
07ed557
to
8dd6e59
Compare
Build Succeeded 👏 Build Id: 494afb75-d54a-4949-8f7c-d0681fad4cba 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:
|
This includes
The example project was tested using local SDK server
Site documentation has not been added yet