Package ai.tock.nlp.admin
Class AdminVerticle
-
- All Implemented Interfaces:
-
io.vertx.core.Deployable,io.vertx.core.Verticle,kotlinx.coroutines.CoroutineScope
public class AdminVerticle extends WebVerticle
-
-
Field Summary
Fields Modifier and Type Field Description private final KLoggerloggerprivate final StringbasePathprivate final StringrootPathprivate final Routerrouterprivate final StringauthenticatePathprivate final StringlogoutPathprivate final StringhealthcheckPathprivate final StringreadinesscheckPathprivate final StringlivenesscheckPathprivate final Stringorganizationprivate final TockUseruserprivate final StringuserLoginprivate final CoroutineContextcoroutineContextprivate final Vertxvertx
-
Constructor Summary
Constructors Constructor Description AdminVerticle()
-
Method Summary
Modifier and Type Method Description KLoggergetLogger()StringgetBasePath()StringgetRootPath()final RoutergetRouter()StringgetAuthenticatePath()StringgetLogoutPath()StringgetHealthcheckPath()StringgetReadinesscheckPath()StringgetLivenesscheckPath()final StringgetOrganization(RoutingContext $self)final TockUsergetUser(RoutingContext $self)final StringgetUserLogin(RoutingContext $self)CoroutineContextgetCoroutineContext()final <T extends Any> RequestLoggerlogger(String actionType, Function1<RoutingContext, Object> dataProvider, Function2<RoutingContext, T, Id<ApplicationDefinition>> applicationIdProvider)final RequestLoggersimpleLogger(String actionType, Function1<RoutingContext, Object> dataProvider, Function2<RoutingContext, Object, Id<ApplicationDefinition>> applicationIdProvider)UnitconfigureServices()final UnitconfigureStaticHandling()Unitconfigure()Function1<RoutingContext, Unit>defaultHealthcheck()Function1<RoutingContext, Unit>detailedHealthcheck()-
Methods inherited from class io.vertx.kotlin.coroutines.CoroutineVerticle
deploy, getVertx, getVertx, init, start, stop, undeploy -
Methods inherited from class ai.tock.shared.vertx.WebVerticle
addAuth, blocking, blocking, blockingDelete, blockingDelete, blockingDeleteEmptyResponse, blockingJsonDelete, blockingJsonGet, blockingJsonGet, blockingJsonPost, blockingJsonPost, blockingJsonPut, blockingWithBodyJson, corsHandler, corsHandler, defaultErrorHandler, defaultRole, defaultRoles, endJson, endJson, firstQueryParam, healthcheck, isAuthorized, livenesscheck, path, pathId, pathToLocale, queryId, readBytes, readJson, readJson, readString, readinesscheck, success, successEmpty -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getLogger
KLogger getLogger()
-
getBasePath
String getBasePath()
-
getRootPath
String getRootPath()
-
getRouter
final Router getRouter()
-
getAuthenticatePath
String getAuthenticatePath()
-
getLogoutPath
String getLogoutPath()
-
getHealthcheckPath
String getHealthcheckPath()
-
getReadinesscheckPath
String getReadinesscheckPath()
-
getLivenesscheckPath
String getLivenesscheckPath()
-
getOrganization
final String getOrganization(RoutingContext $self)
-
getUser
final TockUser getUser(RoutingContext $self)
-
getUserLogin
final String getUserLogin(RoutingContext $self)
-
getCoroutineContext
CoroutineContext getCoroutineContext()
-
logger
final <T extends Any> RequestLogger logger(String actionType, Function1<RoutingContext, Object> dataProvider, Function2<RoutingContext, T, Id<ApplicationDefinition>> applicationIdProvider)
-
simpleLogger
final RequestLogger simpleLogger(String actionType, Function1<RoutingContext, Object> dataProvider, Function2<RoutingContext, Object, Id<ApplicationDefinition>> applicationIdProvider)
-
configureServices
Unit configureServices()
-
configureStaticHandling
final Unit configureStaticHandling()
-
defaultHealthcheck
Function1<RoutingContext, Unit> defaultHealthcheck()
-
detailedHealthcheck
Function1<RoutingContext, Unit> detailedHealthcheck()
-
-
-
-