Gamificated Chat
podman run -d -p 11222:11222 -e USER="admin" -e PASS="password" --net=host quay.io/infinispan/server:13.0# dev mode
./mvnw compile quarkus:devPOST /rest/v2/caches/{cacheName}The following "standard" formats are interchangeable:
application/x-java-object
application/octet-stream
application/x-www-form-urlencoded
text/plain
curl -v -u admin:password --digest -H 'Accept: application/json' -H 'Content-Type: application/json' -X POST http://localhost:11222/rest/v2/caches/character -d "@./conf/character.json"curl -u admin:password --digest -X GET http://localhost:11222/rest/v2/caches/character{
"distributed-cache": {
"mode": "SYNC",
"statistics": true,
"encoding": {
"key": {
"media-type": "application/x-protostream"
},
"value": {
"media-type": "application/x-protostream"
}
}
}
}
podman run -d -p 11222:11222 -e USER="admin" -e PASS="password" --net=host quay.io/infinispan/server:13.0
curl -v -u admin:password --digest -H 'Accept: application/json' -H 'Content-Type: application/json' -X POST http://localhost:11222/rest/v2/caches/character -d "@./conf/character.json"
./mvnw compile quarkus:dev./mvnw package -Pnative -Dquarkus.native.container-build=true -Dquarkus.native.container-runtime=podman
podman build . -t quay.io/sergio_canales_e/battle-chat-openshift:0.9.0
podman push --creds ADMIN:PASS quay.io/sergio_canales_e/battle-chat-openshift:0.9.0