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