https://github.com/thomasvitale/devoxxuk-question-1
https://github.com/thomasvitale/devoxxuk-question-1
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thomasvitale/devoxxuk-question-1
- Owner: ThomasVitale
- License: apache-2.0
- Archived: true
- Created: 2022-05-08T11:24:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-10T11:13:44.000Z (over 3 years ago)
- Last Synced: 2025-02-07T08:49:13.996Z (8 months ago)
- Language: Go
- Size: 18.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Devoxx UK - Question 1
This is question 1 of a game intended to demonstrate serverless and event-driven features on Kubernetes, using Knative and CloudEvents.
* For more information on the game, visit this [page](https://github.com/salaboy/from-monolith-to-k8s/tree/main/game).
* For instructions on deploying the entire system, visit this [page](https://github.com/ThomasVitale/eventing-game).Question 1 is a Go project relying on the CloudEvents GO SDK. The project has been initialized using
the Knative [func](https://github.com/knative-sandbox/kn-plugin-func) plugin.## Usage
```shell
$ http player="jon-snow" sessionId="game-blahblah" optionA=true optionB=false optionC=false optionD=false remainingTime=13HTTP/1.1 200 OK
Content-Length: 98
Content-Type: application/json
accept-encoding: gzip, deflate
connection: keep-alive
user-agent: HTTPie/3.1.0{
"player": "jon-snow"
"level": "devoxxuk-question-1",
"levelScore": 18,
"sessionId": "game-blahblah",
"gameTime": "2022-04-19T11:40:46.04108"
}
```