Interface ISessionsTransfer
@Path("/sessions_transfer")
public interface ISessionsTransfer
Copies the live sessions of an installation to its clone, so that users stay
connected across the promotion of the clone.
-
Method Summary
Modifier and TypeMethodDescriptionnet.bluemind.core.api.Streamdump()The sessions are detached from Keycloak: the clone can't refresh them nor log them out through Keycloak, its realms don't share any key with this installation.restore(net.bluemind.core.api.Stream dump) Only allowed while this installation is a clone that was not promoted yet.
-
Method Details
-
dump
@GET @Path("_dump") @Produces("application/gzip") net.bluemind.core.api.Stream dump()The sessions are detached from Keycloak: the clone can't refresh them nor log them out through Keycloak, its realms don't share any key with this installation.- Returns:
- a gzipped stream of json objects, one per session, for
restore(Stream)
-
restore
Only allowed while this installation is a clone that was not promoted yet. Sessions already known here, or from a domain unknown here, are left aside.
-