Skip to content
Eclipse Virgo by Example: Game of Life
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
client
commands
game-api
game-engine
gradle/wrapper
jenova-j2v8
jenova
runtime-only
server
.gitignore
Jenkinsfile
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

Important urls:

[http://localhost:8080/gol/springtime](Spring basic configuration check)

[http://localhost:8080/gol/ping](WebSocket ping endpoint) <Can "Upgrade" only to "WebSocket">

[http://localhost:8080/gol/stock](Spring stock examples endpoint)

[http://localhost:8080/gol/ws/info](WebSocket information)

::::json
{"entropy":2113121810,"origins":["*:*"],"cookie_needed":true,"websocket":true}

[http://localhost:8080/gol/board](Game of Life board)

Build game-of-life

Dockerize the example

::::sh
$ ./gradlew build :app:dockerize

Run the dockerized example

::::sh
$ docker run --rm -it -p 8080:8080 -p 2501:2501 --hostname gol --name gol game-of-life/app

Access the OSGi console of the running container with

::::ssh
$ telnet localhost 2501
OSGi>
You can’t perform that action at this time.