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 <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 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, getAuthenticatePath, getHealthcheckPath, getLivenesscheckPath, getLogoutPath, getOrganization, getReadinesscheckPath, getRouter, getUser, getUserLogin, healthcheck, isAuthorized, livenesscheck, path, pathId, pathToLocale, queryId, readBytes, readJson, readJson, readString, readinesscheck, success, successEmpty -
Methods inherited from class io.vertx.kotlin.coroutines.CoroutineVerticle
deploy, getCoroutineContext, getVertx, getVertx, init, start, stop, undeploy -
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()
-
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()
-
-
-
-