ModelReplicationServer
class ModelReplicationServer(repositoriesManager: IRepositoriesManager, modelClient: LocalModelClient, inMemoryModels: InMemoryModels)
Implements the endpoints used by the 'model-client', but compared to KeyValueLikeModelServer also understands what client sends. This allows more validations and more responsibilities on the server side.
Constructors
Link copied to clipboard
constructor(repositoriesManager: IRepositoriesManager, modelClient: LocalModelClient, inMemoryModels: InMemoryModels)
Functions
Link copied to clipboard
Link copied to clipboard
open suspend fun PipelineContext<Unit, ApplicationCall>.deleteRepositoryBranch(repository: String, branch: String)
Link copied to clipboard
Link copied to clipboard
open suspend fun PipelineContext<Unit, ApplicationCall>.getRepositoryBranchDelta(repository: String, branch: String, lastKnown: String?)
Link copied to clipboard
Link copied to clipboard
open suspend fun PipelineContext<Unit, ApplicationCall>.getRepositoryBranchHash(repository: String, branch: String)
Link copied to clipboard
open suspend fun PipelineContext<Unit, ApplicationCall>.getRepositoryBranchV1(repository: String, branch: String, lastKnown: String?)
Link copied to clipboard
open suspend fun PipelineContext<Unit, ApplicationCall>.getRepositoryVersionHash(versionHash: String, repository: String, lastKnown: String?)
Link copied to clipboard
open suspend fun PipelineContext<Unit, ApplicationCall>.getVersionHash(versionHash: String, lastKnown: String?)
Link copied to clipboard
open suspend fun PipelineContext<Unit, ApplicationCall>.initializeRepository(repository: String, useRoleIds: Boolean?, legacyGlobalStorage: Boolean?)
Link copied to clipboard
open suspend fun PipelineContext<Unit, ApplicationCall>.pollRepositoryBranch(repository: String, branch: String, lastKnown: String?)
Link copied to clipboard
Link copied to clipboard
open suspend fun PipelineContext<Unit, ApplicationCall>.postRepositoryBranch(repository: String, branch: String)
Link copied to clipboard
open suspend fun PipelineContext<Unit, ApplicationCall>.postRepositoryBranchQuery(repository: String, branch: String)
Link copied to clipboard
open suspend fun PipelineContext<Unit, ApplicationCall>.postRepositoryObjectsGetAll(repository: String)
Link copied to clipboard
open suspend fun PipelineContext<Unit, ApplicationCall>.postRepositoryVersionHashQuery(versionHash: String, repository: String)
Link copied to clipboard