Examples of HealthCheckEndpoint


Examples of netflix.karyon.transport.http.health.HealthCheckEndpoint

    public SimpleRouter() {
        final HelloWorldEndpoint endpoint = new HelloWorldEndpoint();
        delegate = new SimpleUriRouter<ByteBuf, ByteBuf>();

        delegate.addUri("/healthcheck",
                        new HealthCheckEndpoint(new HealthCheck()))
                .addUri("/hello",
                        new RequestHandler<ByteBuf, ByteBuf>() {
                            @Override
                            public Observable<Void> handle(
                                    HttpServerRequest<ByteBuf> request,
View Full Code Here

Examples of netflix.karyon.transport.http.health.HealthCheckEndpoint

    public static void main(String[] args) {
        HealthCheck healthCheckHandler = new HealthCheck();
        Karyon.forRequestHandler(8888,
                                 new RxNettyHandler("/healthcheck",
                                                    new HealthCheckEndpoint(healthCheckHandler)),
                                 new KaryonBootstrapSuite(healthCheckHandler),
                                 new ArchaiusSuite("hello-netflix-oss"),
                                 // KaryonEurekaModule.asSuite(), /* Uncomment if you need eureka */
                                 KaryonWebAdminModule.asSuite(),
                                 ShutdownModule.asSuite(),
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.