Saturday, September 12, 2015

Microservices with NetflixOSS: Karyon and Services part 3

0 lượt xem comment 0 comments

This is the next post on the services of bulding a microservice with the netflix stack . If you did not read the previous posts i recommend you do:

* NetflixOSS The DevOps Stack for Microservices - https://y4my.blogspot.com/2015/09/netflixoss-devops-stack-for.html
* Microservices with NetflixOSS: Karyon, Ribbon and Eureka part 1 - https://y4my.blogspot.com/2015/09/microservices-with-netflixoss-karyon.html
* Microservices with NetflixOSS: Building and Running Eureka part 2 - https://y4my.blogspot.com/2015/09/microservices-with-netflixoss-building.html



It`s time to build a simple REST service using Karyon. Karyon will self-register as an Eureka client and we will do this using java annotations. To do this task we will create 8 classes. Lets see what are  the responsibility of each class.

The Classes 

* AuthenticationService -> Just a contract to perform authentication on the services.
* AuthenticationServiceImpl -> Authentication implementation it just check for a header and if not present dont let the call pass tought the service.
* AuthInterceptor -> Karyon Interceptor to glue the authentication implementation with the server requests
* HealthcheckResource -> Is the implementation of the Health Checker - Eureka call is to know if the service still up and running fine - if it fails eureka will unregistered the instance.
* LoggingInterceptor -> Another interceptor just to log whats going on.
* KaryonJerseyServerApp -> Where you configure your microservice.
* MainRunner -> A simple class to run the application.
* WeatherResource -> REST contract and implementation of a Weather Service - The actual Service :-)

WeatherResource 

As you can see is very straight forward - i`m just calling open weather api with your location. This call is blocking and could hang to fix this problem we should use Ribbon and Hystrix witch will be covered in future posts.

@Singleton
@Path("/weather")
public class WeatherResource {
private static final Logger logger = LoggerFactory.getLogger(WeatherResource.class);
@GET
@Path("now/{location}")
@Produces(MediaType.APPLICATION_JSON)
public Response sum(@PathParam("location") String location) {
try {
ClientConfig cc = new DefaultClientConfig();
cc.getProperties().put(ClientConfig.PROPERTY_FOLLOW_REDIRECTS, true);
Client c = Client.create(cc);
WebResource r = c.resource("http://api.openweathermap.org/data/2.5/weather?q=" + location);
r.accept(MediaType.APPLICATION_JSON_TYPE).get(String.class);
ClientResponse cr = r.get(ClientResponse.class);
String entity = cr.getEntity(String.class);
JSONObject response = new JSONObject();
response.put("weather", entity);
return Response.ok(response.toString()).build();
} catch (JSONException e) {
logger.error("Error creating json response.", e);
return Response.status(Response.Status.INTERNAL_SERVER_ERROR).build();
}
}
}


KaryonJerseyServerApp (App Configs)

@ArchaiusBootstrap
@KaryonBootstrap(name = "weather-service", healthcheck = HealthcheckResource.class)
@Modules(include = {
ShutdownModule.class,
KaryonWebAdminModule.class,
KaryonServoModule.class,
KaryonJerseyModuleImpl.class,
KaryonEurekaModule.class
})
public interface KaryonJerseyServerApp {
class KaryonJerseyModuleImpl extends KaryonJerseyModule {
@Override
protected void configureServer() {
bind(AuthenticationService.class).to(AuthenticationServiceImpl.class);
interceptorSupport().forUri("/*").intercept(LoggingInterceptor.class);
interceptorSupport().forUri("/weather").interceptIn(AuthInterceptor.class);
server().port(6002).threadPoolSize(400);
}
}
}


Here is wehere you configure everything. We use annotations todo the job. @ArchaiusBootstrap bootup archaius for us, @KaryonBootstrap we provie the name of the service(this will be used to register into eureka) and what is the heath checker class.

There are other modules like: KaryonEurekaModule to make the app register into eureka automatically and KaryonServoModule to have metrics and KaryonWebAdminModule to have a web admin module exposed.

We need add some property files to configure the APP and make IT able to find eureka - so lets start with the REST config first.

weather-service.properties
com.sun.jersey.config.property.packages=com.github.diegopacheco.sandbox.java.netflix.pocs.karyon.eureka.client.rest


Now we need add some configs so Karyon can find eureka.

eureka-client.properties
eureka.region=default
eureka.name=weather-service
eureka.vipAddress=localhost
eureka.port=6002
eureka.preferSameZone=true
eureka.shouldUseDns=false
eureka.us-east-1.availabilityZones=default
eureka.serviceUrl.default=http://localhost:8080/eureka/v2/
#
# Because i`m not running on Amazon
#
eureka.validateInstanceId=false
Them you can run the app running the main runner class. You will see some logging like this.

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/Users/diego/.m2/repository/ch/qos/logback/logback-classic/1.0.13/logback-classic-1.0.13.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/diego/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-log4j12/1.7.12/485f77901840cf4e8bf852f2abb9b723eb8ec29/slf4j-log4j12-1.7.12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/diego/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-jdk14/1.7.12/aec22f0b809be5a94afb4a7fe3a239c0c0eee013/slf4j-jdk14-1.7.12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
Using main class: com.github.diegopacheco.sandbox.java.netflix.pocs.karyon.eureka.client.server.KaryonJerseyServerApp
15:23:59.307 [main] INFO c.n.g.guice.LifecycleInjector - Found bootstrap annotation netflix.karyon.archaius.ArchaiusBootstrap
15:23:59.315 [main] INFO c.n.g.guice.LifecycleInjector - Adding BootstrapModule class netflix.karyon.archaius.ArchaiusBootstrapModule
15:23:59.318 [main] INFO c.n.g.guice.LifecycleInjector - Found bootstrap annotation netflix.karyon.KaryonBootstrap
15:23:59.319 [main] INFO c.n.g.guice.LifecycleInjector - Adding BootstrapModule class netflix.karyon.KaryonBootstrapModule
15:23:59.319 [main] INFO c.n.g.guice.LifecycleInjector - Found bootstrap annotation com.netflix.governator.annotations.Modules
15:23:59.323 [main] INFO c.n.g.guice.LifecycleInjector - Adding BootstrapModule class com.netflix.governator.guice.bootstrap.ModulesBootstrap
15:23:59.471 [main] DEBUG c.n.g.lifecycle.ClasspathScanner - Starting classpath scanning...
15:23:59.471 [main] WARN c.n.g.lifecycle.ClasspathScanner - No base packages specified - no classpath scanning will be done
15:23:59.471 [main] DEBUG c.n.g.lifecycle.ClasspathScanner - Classpath scanning done
15:23:59.503 [main] WARN c.n.c.sources.URLConfigurationSource - No URLs will be polled as dynamic configuration sources.
15:23:59.503 [main] INFO c.n.c.sources.URLConfigurationSource - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
15:23:59.540 [main] INFO c.n.config.DynamicPropertyFactory - DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@67d48005
15:23:59.727 [main] INFO n.k.archaius.DefaultPropertiesLoader - Loading application properties with app id: weather-service and environment: dev
log4j:WARN No appenders could be found for logger (com.netflix.config.util.OverridingPropertiesConfiguration).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
15:23:59.749 [main] INFO c.n.config.util.ConfigurationUtils - Loaded properties file file:/D:/diego/github/diego.pacheco/netflixoss-pocs/karyon-server-eureka-client/bin/weather-service.properties
15:23:59.763 [main] INFO org.hibernate.validator.util.Version - Hibernate Validator 4.1.0.Final
15:23:59.768 [main] DEBUG o.h.v.e.r.DefaultTraversableResolver - Cannot find javax.persistence.PersistenceUtil on classpath. All properties will per default be traversable.
15:23:59.772 [main] DEBUG o.h.v.xml.ValidationXmlParser - No META-INF/validation.xml found. Using annotation based configuration only
15:23:59.790 [main] INFO c.n.g.guice.ModuleListBuilder - Getting instance of : netflix.karyon.ShutdownModule
15:23:59.791 [main] INFO c.n.g.guice.ModuleListBuilder - Adding module 'netflix.karyon.ShutdownModule
15:23:59.791 [main] INFO c.n.g.guice.ModuleListBuilder - Getting instance of : netflix.adminresources.resources.KaryonWebAdminModule
15:23:59.791 [main] INFO c.n.g.guice.ModuleListBuilder - Adding module 'netflix.adminresources.resources.KaryonWebAdminModule
15:23:59.791 [main] INFO c.n.g.guice.ModuleListBuilder - Getting instance of : netflix.karyon.servo.KaryonServoModule
15:23:59.791 [main] INFO c.n.g.guice.ModuleListBuilder - Adding module 'netflix.karyon.servo.KaryonServoModule
15:23:59.791 [main] INFO c.n.g.guice.ModuleListBuilder - Getting instance of : com.github.diegopacheco.sandbox.java.netflix.pocs.karyon.eureka.client.server.KaryonJerseyServerApp$KaryonJerseyModuleImpl
15:23:59.796 [main] INFO c.n.g.guice.ModuleListBuilder - Adding module 'com.github.diegopacheco.sandbox.java.netflix.pocs.karyon.eureka.client.server.KaryonJerseyServerApp$KaryonJerseyModuleImpl
15:23:59.796 [main] INFO c.n.g.guice.ModuleListBuilder - Getting instance of : netflix.karyon.eureka.KaryonEurekaModule
15:23:59.797 [main] INFO c.n.g.guice.ModuleListBuilder - Adding module 'netflix.karyon.eureka.KaryonEurekaModule
15:23:59.812 [main] DEBUG i.n.u.i.l.InternalLoggerFactory - Using SLF4J as the default logging framework
15:23:59.813 [main] DEBUG i.n.c.MultithreadEventLoopGroup - -Dio.netty.eventLoopThreads: 16
15:23:59.821 [main] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.Buffer.address: available
15:23:59.821 [main] DEBUG i.n.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available
15:23:59.821 [main] DEBUG i.n.util.internal.PlatformDependent0 - sun.misc.Unsafe.copyMemory: available
15:23:59.821 [main] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.Bits.unaligned: true
15:23:59.822 [main] DEBUG i.n.util.internal.PlatformDependent - Platform: Windows
15:23:59.822 [main] DEBUG i.n.util.internal.PlatformDependent - Java version: 8
15:23:59.822 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noUnsafe: false
15:23:59.822 [main] DEBUG i.n.util.internal.PlatformDependent - sun.misc.Unsafe: available
15:23:59.822 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noJavassist: false
15:23:59.823 [main] DEBUG i.n.util.internal.PlatformDependent - Javassist: unavailable
15:23:59.823 [main] DEBUG i.n.util.internal.PlatformDependent - You don't have Javassist in your class path or you don't have enough permission to load dynamically generated classes. Please check the configuration for better performance.
15:23:59.823 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.tmpdir: C:\Users\diego\AppData\Local\Temp (java.io.tmpdir)
15:23:59.823 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.bitMode: 64 (sun.arch.data.model)
15:23:59.823 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noPreferDirect: false
15:23:59.837 [main] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.noKeySetOptimization: false
15:23:59.837 [main] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.selectorAutoRebuildThreshold: 512
15:23:59.926 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numHeapArenas: 8
15:23:59.926 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numDirectArenas: 8
15:23:59.926 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.pageSize: 8192
15:23:59.926 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxOrder: 11
15:23:59.926 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.chunkSize: 16777216
15:23:59.926 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.tinyCacheSize: 512
15:23:59.926 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.smallCacheSize: 256
15:23:59.926 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.normalCacheSize: 64
15:23:59.926 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxCachedBufferCapacity: 32768
15:23:59.926 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.cacheTrimInterval: 8192
15:24:00.135 [main] DEBUG c.n.g.lifecycle.LifecycleManager - Starting netflix.karyon.jersey.blocking.JerseyBasedRouter
15:24:00.138 [main] DEBUG c.n.g.lifecycle.LifecycleManager - start()
Sep 12, 2015 3:24:00 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFORMAÇÕES: Initiating Jersey application, version 'Jersey: 1.18.1 02/19/2014 03:28 AM'
15:24:00.201 [main] INFO n.k.j.b.PropertiesBasedResourceConfig - Packages to scan by jersey [com.github.diegopacheco.sandbox.java.netflix.pocs.karyon.eureka.client.rest]
Sep 12, 2015 3:24:00 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFORMAÇÕES: Root resource classes found:
class com.github.diegopacheco.sandbox.java.netflix.pocs.karyon.eureka.client.rest.WeatherResource
Sep 12, 2015 3:24:00 PM com.sun.jersey.api.core.ScanningResourceConfig init
INFORMAÇÕES: No provider classes found.
15:24:00.812 [main] INFO n.k.j.blocking.JerseyBasedRouter - Started Jersey based request router.
15:24:01.003 [main] DEBUG i.n.util.internal.ThreadLocalRandom - -Dio.netty.initialSeedUniquifier: 0x01bda99e2a1c8220 (took 8 ms)
15:24:01.019 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.allocator.type: unpooled
15:24:01.019 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.threadLocalDirectBufferSize: 65536
15:24:01.554 [main] DEBUG io.netty.util.NetUtil - Loopback interface: lo (Software Loopback Interface 1, 127.0.0.1)
15:24:01.554 [main] DEBUG io.netty.util.NetUtil - \proc\sys\net\core\somaxconn: 200 (non-existent)
15:24:01.560 [main] INFO i.r.netty.server.AbstractServer - Rx server started at port: 6002
15:24:01.560 [main] INFO n.k.t.http.HttpRxServerProvider - Starting server karyonJerseyModule on port 6002...
15:24:01.561 [main] DEBUG c.n.g.lifecycle.LifecycleManager - Starting netflix.karyon.transport.http.HttpRxServerProvider
15:24:01.567 [main] DEBUG c.n.g.lifecycle.LifecycleManager - Starting netflix.karyon.ShutdownModule$ShutdownServer
15:24:01.567 [main] DEBUG c.n.g.lifecycle.LifecycleManager - start()
15:24:01.573 [main] INFO i.r.netty.server.AbstractServer - Rx server started at port: 7002
15:24:01.576 [main] DEBUG c.n.g.lifecycle.LifecycleManager - Starting netflix.adminresources.AdminResourcesContainer
15:24:01.576 [main] DEBUG c.n.g.lifecycle.LifecycleManager - init()
15:24:01.577 [main] DEBUG c.n.g.lifecycle.ClasspathScanner - Starting classpath scanning...
15:24:01.577 [main] INFO c.n.g.lifecycle.ClasspathScanner - Scanning packages : [netflix] for annotations [interface netflix.adminresources.AdminPage]
15:24:01.611 [main] DEBUG c.n.g.lifecycle.ClasspathScanner - Classpath scanning done
15:24:01.637 [main] INFO org.mortbay.log - Logging to Logger[org.mortbay.log] via org.mortbay.log.Slf4jLog
15:24:01.637 [main] DEBUG org.mortbay.log - Container Server@22101c80 + SocketConnector@0.0.0.0:8077 as connector
15:24:01.656 [main] DEBUG org.mortbay.log - filterNameMap={netflix.adminresources.RedirectFilter=netflix.adminresources.RedirectFilter}
15:24:01.657 [main] DEBUG org.mortbay.log - pathFilters=[(F=netflix.adminresources.RedirectFilter,[/*],[],0)]
15:24:01.657 [main] DEBUG org.mortbay.log - servletFilterMap=null
15:24:01.657 [main] DEBUG org.mortbay.log - servletPathMap=null
15:24:01.657 [main] DEBUG org.mortbay.log - servletNameMap=null
15:24:01.670 [main] DEBUG org.mortbay.log - filterNameMap={netflix.adminresources.RedirectFilter=netflix.adminresources.RedirectFilter}
15:24:01.670 [main] DEBUG org.mortbay.log - pathFilters=[(F=netflix.adminresources.RedirectFilter,[/*],[],0)]
15:24:01.670 [main] DEBUG org.mortbay.log - servletFilterMap=null
15:24:01.670 [main] DEBUG org.mortbay.log - servletPathMap={/*=org.mortbay.jetty.servlet.DefaultServlet-1730182538}
15:24:01.670 [main] DEBUG org.mortbay.log - servletNameMap={org.mortbay.jetty.servlet.DefaultServlet-1730182538=org.mortbay.jetty.servlet.DefaultServlet-1730182538}
15:24:01.678 [main] DEBUG org.mortbay.log - filterNameMap={netflix.adminresources.LoggingFilter-70978270=netflix.adminresources.LoggingFilter-70978270}
15:24:01.678 [main] DEBUG org.mortbay.log - pathFilters=[(F=netflix.adminresources.LoggingFilter-70978270,[/*],[],0)]
15:24:01.678 [main] DEBUG org.mortbay.log - servletFilterMap=null
15:24:01.678 [main] DEBUG org.mortbay.log - servletPathMap=null
15:24:01.678 [main] DEBUG org.mortbay.log - servletNameMap=null
15:24:01.679 [main] DEBUG org.mortbay.log - filterNameMap={netflix.adminresources.LoggingFilter-70978270=netflix.adminresources.LoggingFilter-70978270, netflix.adminresources.RedirectFilter=netflix.adminresources.RedirectFilter}
15:24:01.679 [main] DEBUG org.mortbay.log - pathFilters=[(F=netflix.adminresources.LoggingFilter-70978270,[/*],[],0), (F=netflix.adminresources.RedirectFilter,[/*],[],0)]
15:24:01.679 [main] DEBUG org.mortbay.log - servletFilterMap=null
15:24:01.679 [main] DEBUG org.mortbay.log - servletPathMap=null
15:24:01.679 [main] DEBUG org.mortbay.log - servletNameMap=null
15:24:01.679 [main] DEBUG org.mortbay.log - filterNameMap={netflix.adminresources.LoggingFilter-70978270=netflix.adminresources.LoggingFilter-70978270, netflix.adminresources.AdminResourcesFilter=netflix.adminresources.AdminResourcesFilter, netflix.adminresources.RedirectFilter=netflix.adminresources.RedirectFilter}
15:24:01.679 [main] DEBUG org.mortbay.log - pathFilters=[(F=netflix.adminresources.LoggingFilter-70978270,[/*],[],0), (F=netflix.adminresources.RedirectFilter,[/*],[],0), (F=netflix.adminresources.AdminResourcesFilter,[/*],[],0)]
15:24:01.679 [main] DEBUG org.mortbay.log - servletFilterMap=null
15:24:01.679 [main] DEBUG org.mortbay.log - servletPathMap=null
15:24:01.679 [main] DEBUG org.mortbay.log - servletNameMap=null
15:24:01.679 [main] DEBUG org.mortbay.log - filterNameMap={netflix.adminresources.LoggingFilter-70978270=netflix.adminresources.LoggingFilter-70978270, netflix.adminresources.AdminResourcesFilter=netflix.adminresources.AdminResourcesFilter, netflix.adminresources.RedirectFilter=netflix.adminresources.RedirectFilter}
15:24:01.679 [main] DEBUG org.mortbay.log - pathFilters=[(F=netflix.adminresources.LoggingFilter-70978270,[/*],[],0), (F=netflix.adminresources.RedirectFilter,[/*],[],0), (F=netflix.adminresources.AdminResourcesFilter,[/*],[],0)]
15:24:01.679 [main] DEBUG org.mortbay.log - servletFilterMap=null
15:24:01.679 [main] DEBUG org.mortbay.log - servletPathMap={/*=org.mortbay.jetty.servlet.DefaultServlet-1402333753}
15:24:01.679 [main] DEBUG org.mortbay.log - servletNameMap={org.mortbay.jetty.servlet.DefaultServlet-1402333753=org.mortbay.jetty.servlet.DefaultServlet-1402333753}
15:24:01.680 [main] DEBUG org.mortbay.log - filterNameMap={netflix.adminresources.RedirectFilter=netflix.adminresources.RedirectFilter}
15:24:01.680 [main] DEBUG org.mortbay.log - pathFilters=[(F=netflix.adminresources.RedirectFilter,[/*],[],0)]
15:24:01.680 [main] DEBUG org.mortbay.log - servletFilterMap=null
15:24:01.680 [main] DEBUG org.mortbay.log - servletPathMap=null
15:24:01.680 [main] DEBUG org.mortbay.log - servletNameMap=null
15:24:01.680 [main] DEBUG org.mortbay.log - filterNameMap={netflix.adminresources.AdminResourcesFilter=netflix.adminresources.AdminResourcesFilter, netflix.adminresources.RedirectFilter=netflix.adminresources.RedirectFilter}
15:24:01.680 [main] DEBUG org.mortbay.log - pathFilters=[(F=netflix.adminresources.RedirectFilter,[/*],[],0), (F=netflix.adminresources.AdminResourcesFilter,[/*],[],0)]
15:24:01.680 [main] DEBUG org.mortbay.log - servletFilterMap=null
15:24:01.680 [main] DEBUG org.mortbay.log - servletPathMap=null
15:24:01.680 [main] DEBUG org.mortbay.log - servletNameMap=null
15:24:01.680 [main] DEBUG org.mortbay.log - filterNameMap={netflix.adminresources.AdminResourcesFilter=netflix.adminresources.AdminResourcesFilter, netflix.adminresources.RedirectFilter=netflix.adminresources.RedirectFilter}
15:24:01.680 [main] DEBUG org.mortbay.log - pathFilters=[(F=netflix.adminresources.RedirectFilter,[/*],[],0), (F=netflix.adminresources.AdminResourcesFilter,[/*],[],0)]
15:24:01.680 [main] DEBUG org.mortbay.log - servletFilterMap=null
15:24:01.681 [main] DEBUG org.mortbay.log - servletPathMap={/*=org.mortbay.jetty.servlet.DefaultServlet-353891891}
15:24:01.681 [main] DEBUG org.mortbay.log - servletNameMap={org.mortbay.jetty.servlet.DefaultServlet-353891891=org.mortbay.jetty.servlet.DefaultServlet-353891891}
15:24:01.683 [main] DEBUG org.mortbay.log - Container Server@22101c80 + org.mortbay.thread.QueuedThreadPool@a0a9fa5 as threadpool
15:24:01.684 [main] DEBUG org.mortbay.log - Container Server@22101c80 + HandlerCollection@3fbfa96 as handler
15:24:01.684 [main] DEBUG org.mortbay.log - Container ServletHandler@6569dded + netflix.adminresources.LoggingFilter-70978270 as filter
15:24:01.684 [main] DEBUG org.mortbay.log - Container ServletHandler@6569dded + netflix.adminresources.RedirectFilter as filter
15:24:01.684 [main] DEBUG org.mortbay.log - Container ServletHandler@6569dded + netflix.adminresources.AdminResourcesFilter as filter
15:24:01.684 [main] DEBUG org.mortbay.log - Container ServletHandler@6569dded + (F=netflix.adminresources.LoggingFilter-70978270,[/*],[],0) as filterMapping
15:24:01.684 [main] DEBUG org.mortbay.log - Container ServletHandler@6569dded + (F=netflix.adminresources.RedirectFilter,[/*],[],0) as filterMapping
15:24:01.684 [main] DEBUG org.mortbay.log - Container ServletHandler@6569dded + (F=netflix.adminresources.AdminResourcesFilter,[/*],[],0) as filterMapping
15:24:01.684 [main] DEBUG org.mortbay.log - Container ServletHandler@6569dded + org.mortbay.jetty.servlet.DefaultServlet-1402333753 as servlet
15:24:01.685 [main] DEBUG org.mortbay.log - Container ServletHandler@6569dded + (S=org.mortbay.jetty.servlet.DefaultServlet-1402333753,[/*]) as servletMapping
15:24:01.685 [main] DEBUG org.mortbay.log - Container SessionHandler@466d49f0 + ServletHandler@6569dded as handler
15:24:01.685 [main] DEBUG org.mortbay.log - Container SessionHandler@466d49f0 + org.mortbay.jetty.servlet.HashSessionManager@710d7aff as sessionManager
15:24:01.685 [main] DEBUG org.mortbay.log - Container org.mortbay.jetty.servlet.Context@2d7e1102{/admin,null} + SessionHandler@466d49f0 as handler
15:24:01.685 [main] DEBUG org.mortbay.log - Container ServletHandler@65327f5 + netflix.adminresources.RedirectFilter as filter
15:24:01.685 [main] DEBUG org.mortbay.log - Container ServletHandler@65327f5 + netflix.adminresources.AdminResourcesFilter as filter
15:24:01.685 [main] DEBUG org.mortbay.log - Container ServletHandler@65327f5 + (F=netflix.adminresources.RedirectFilter,[/*],[],0) as filterMapping
15:24:01.685 [main] DEBUG org.mortbay.log - Container ServletHandler@65327f5 + (F=netflix.adminresources.AdminResourcesFilter,[/*],[],0) as filterMapping
15:24:01.685 [main] DEBUG org.mortbay.log - Container ServletHandler@65327f5 + org.mortbay.jetty.servlet.DefaultServlet-353891891 as servlet
15:24:01.685 [main] DEBUG org.mortbay.log - Container ServletHandler@65327f5 + (S=org.mortbay.jetty.servlet.DefaultServlet-353891891,[/*]) as servletMapping
15:24:01.685 [main] DEBUG org.mortbay.log - Container org.mortbay.jetty.servlet.Context@2adddc06{/webadmin,null} + ServletHandler@65327f5 as handler
15:24:01.685 [main] DEBUG org.mortbay.log - Container ServletHandler@301d8120 + netflix.adminresources.RedirectFilter as filter
15:24:01.685 [main] DEBUG org.mortbay.log - Container ServletHandler@301d8120 + (F=netflix.adminresources.RedirectFilter,[/*],[],0) as filterMapping
15:24:01.685 [main] DEBUG org.mortbay.log - Container ServletHandler@301d8120 + org.mortbay.jetty.servlet.DefaultServlet-1730182538 as servlet
15:24:01.685 [main] DEBUG org.mortbay.log - Container ServletHandler@301d8120 + (S=org.mortbay.jetty.servlet.DefaultServlet-1730182538,[/*]) as servletMapping
15:24:01.685 [main] DEBUG org.mortbay.log - Container org.mortbay.jetty.servlet.Context@6d367020{/,null} + ServletHandler@301d8120 as handler
15:24:01.685 [main] DEBUG org.mortbay.log - Container HandlerCollection@3fbfa96 + org.mortbay.jetty.servlet.Context@2d7e1102{/admin,null} as handler
15:24:01.685 [main] DEBUG org.mortbay.log - Container HandlerCollection@3fbfa96 + org.mortbay.jetty.servlet.Context@2adddc06{/webadmin,null} as handler
15:24:01.685 [main] DEBUG org.mortbay.log - Container HandlerCollection@3fbfa96 + org.mortbay.jetty.servlet.Context@6d367020{/,null} as handler
15:24:01.685 [main] INFO org.mortbay.log - jetty-6.1.26
15:24:01.695 [main] DEBUG org.mortbay.log - started org.mortbay.thread.QueuedThreadPool@a0a9fa5
15:24:01.707 [main] DEBUG org.mortbay.log - Container org.mortbay.jetty.servlet.Context@2d7e1102{/admin,null} + ErrorHandler@63e5e5b4 as errorHandler
15:24:01.708 [main] DEBUG org.mortbay.log - Container Server@22101c80 + org.mortbay.jetty.servlet.HashSessionIdManager@1280851e as sessionIdManager
15:24:01.709 [main] DEBUG org.mortbay.log - Init SecureRandom.
15:24:01.709 [main] DEBUG org.mortbay.log - started org.mortbay.jetty.servlet.HashSessionIdManager@1280851e
15:24:01.710 [main] DEBUG org.mortbay.log - started org.mortbay.jetty.servlet.HashSessionManager@710d7aff
15:24:01.710 [main] DEBUG org.mortbay.log - filterNameMap={netflix.adminresources.LoggingFilter-70978270=netflix.adminresources.LoggingFilter-70978270, netflix.adminresources.AdminResourcesFilter=netflix.adminresources.AdminResourcesFilter, netflix.adminresources.RedirectFilter=netflix.adminresources.RedirectFilter}
15:24:01.710 [main] DEBUG org.mortbay.log - pathFilters=[(F=netflix.adminresources.LoggingFilter-70978270,[/*],[],0), (F=netflix.adminresources.RedirectFilter,[/*],[],0), (F=netflix.adminresources.AdminResourcesFilter,[/*],[],0)]
15:24:01.710 [main] DEBUG org.mortbay.log - servletFilterMap=null
15:24:01.710 [main] DEBUG org.mortbay.log - servletPathMap={/*=org.mortbay.jetty.servlet.DefaultServlet-1402333753}
15:24:01.710 [main] DEBUG org.mortbay.log - servletNameMap={org.mortbay.jetty.servlet.DefaultServlet-1402333753=org.mortbay.jetty.servlet.DefaultServlet-1402333753}
15:24:01.710 [main] DEBUG org.mortbay.log - starting ServletHandler@6569dded
15:24:01.710 [main] DEBUG org.mortbay.log - started ServletHandler@6569dded
15:24:01.710 [main] DEBUG org.mortbay.log - starting SessionHandler@466d49f0
15:24:01.710 [main] DEBUG org.mortbay.log - started SessionHandler@466d49f0
15:24:01.710 [main] DEBUG org.mortbay.log - starting org.mortbay.jetty.servlet.Context@2d7e1102{/admin,null}
15:24:01.710 [main] DEBUG org.mortbay.log - starting ErrorHandler@63e5e5b4
15:24:01.710 [main] DEBUG org.mortbay.log - started ErrorHandler@63e5e5b4
15:24:01.711 [main] DEBUG org.mortbay.log - started netflix.adminresources.LoggingFilter-70978270
15:24:01.711 [main] DEBUG org.mortbay.log - started netflix.adminresources.RedirectFilter
Sep 12, 2015 3:24:01 PM com.sun.jersey.api.core.PackagesResourceConfig init
INFORMAÇÕES: Scanning for root resource and provider classes in the packages:
netflix.admin
netflix.adminresources.pages
com.netflix.explorers.resources
Sep 12, 2015 3:24:01 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFORMAÇÕES: Root resource classes found:
class com.netflix.explorers.resources.EmbeddedContentResource
class netflix.adminresources.pages.AdminPageResource
class com.netflix.explorers.resources.ExplorerAdminResource
class com.netflix.explorers.resources.MinifiedContentResource
Sep 12, 2015 3:24:01 PM com.sun.jersey.api.core.ScanningResourceConfig init
INFORMAÇÕES: No provider classes found.
Sep 12, 2015 3:24:01 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFORMAÇÕES: Initiating Jersey application, version 'Jersey: 1.18.1 02/19/2014 03:28 AM'
Sep 12, 2015 3:24:01 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFORMAÇÕES: Binding netflix.admin.AdminFreemarkerTemplateProvider to GuiceInstantiatedComponentProvider
15:24:01.867 [main] DEBUG c.n.g.lifecycle.LifecycleManager - Starting netflix.admin.AdminExplorerManager
15:24:01.867 [main] DEBUG c.n.g.lifecycle.LifecycleManager - initialize()
15:24:01.873 [main] INFO c.n.explorers.AbstractExplorerModule - Initialize baseserver
15:24:01.880 [main] INFO c.n.explorers.AbstractExplorerModule - AbstractExplorerModule [name=baseserver, title=Admin Resources, description=Admin web resources, layoutName=bootstrap, isSecure=false, rootMenu=null, rolesAllowed=[]]
15:24:02.022 [main] DEBUG c.n.g.lifecycle.LifecycleManager - Starting netflix.admin.AdminFreemarkerTemplateProvider
15:24:02.022 [main] DEBUG c.n.g.lifecycle.LifecycleManager - commonConstruct()
Sep 12, 2015 3:24:02 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFORMAÇÕES: Binding netflix.adminresources.pages.AdminPageResource to GuiceInjectedComponentProvider
Sep 12, 2015 3:24:02 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFORMAÇÕES: Binding com.netflix.explorers.resources.ExplorerAdminResource to GuiceInjectedComponentProvider
Sep 12, 2015 3:24:02 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFORMAÇÕES: Binding com.netflix.explorers.resources.MinifiedContentResource to GuiceInjectedComponentProvider
15:24:02.321 [main] DEBUG org.mortbay.log - started netflix.adminresources.AdminResourcesFilter
15:24:02.326 [main] DEBUG org.mortbay.log - Checking Resource aliases
15:24:02.328 [main] DEBUG org.mortbay.log - started org.mortbay.jetty.servlet.DefaultServlet$NIOResourceCache@70331432
15:24:02.328 [main] DEBUG org.mortbay.log - resource base = null
15:24:02.328 [main] DEBUG org.mortbay.log - started org.mortbay.jetty.servlet.DefaultServlet-1402333753
15:24:02.328 [main] DEBUG org.mortbay.log - started org.mortbay.jetty.servlet.Context@2d7e1102{/admin,null}
15:24:02.328 [main] DEBUG org.mortbay.log - Container org.mortbay.jetty.servlet.Context@2adddc06{/webadmin,null} + ErrorHandler@3bbf9027 as errorHandler
15:24:02.329 [main] DEBUG org.mortbay.log - filterNameMap={netflix.adminresources.AdminResourcesFilter=netflix.adminresources.AdminResourcesFilter, netflix.adminresources.RedirectFilter=netflix.adminresources.RedirectFilter}
15:24:02.329 [main] DEBUG org.mortbay.log - pathFilters=[(F=netflix.adminresources.RedirectFilter,[/*],[],0), (F=netflix.adminresources.AdminResourcesFilter,[/*],[],0)]
15:24:02.329 [main] DEBUG org.mortbay.log - servletFilterMap=null
15:24:02.329 [main] DEBUG org.mortbay.log - servletPathMap={/*=org.mortbay.jetty.servlet.DefaultServlet-353891891}
15:24:02.329 [main] DEBUG org.mortbay.log - servletNameMap={org.mortbay.jetty.servlet.DefaultServlet-353891891=org.mortbay.jetty.servlet.DefaultServlet-353891891}
15:24:02.329 [main] DEBUG org.mortbay.log - starting ServletHandler@65327f5
15:24:02.329 [main] DEBUG org.mortbay.log - started ServletHandler@65327f5
15:24:02.329 [main] DEBUG org.mortbay.log - starting org.mortbay.jetty.servlet.Context@2adddc06{/webadmin,null}
15:24:02.329 [main] DEBUG org.mortbay.log - starting ErrorHandler@3bbf9027
15:24:02.329 [main] DEBUG org.mortbay.log - started ErrorHandler@3bbf9027
15:24:02.329 [main] DEBUG org.mortbay.log - started netflix.adminresources.RedirectFilter
Sep 12, 2015 3:24:02 PM com.sun.jersey.api.core.PackagesResourceConfig init
INFORMAÇÕES: Scanning for root resource and provider classes in the packages:
netflix.adminresources
com.netflix.explorers.resources
com.netflix.explorers.providers
Sep 12, 2015 3:24:02 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFORMAÇÕES: Root resource classes found:
class com.netflix.explorers.resources.EmbeddedContentResource
class netflix.adminresources.pages.AdminPageResource
class com.netflix.explorers.resources.ExplorerAdminResource
class netflix.adminresources.resources.EnvironmentResource
class netflix.adminresources.resources.JarsInfoResource
class netflix.adminresources.resources.PropertiesResource
class netflix.adminresources.resources.jmx.JMXResource
class netflix.adminresources.resources.AllPropsResource
class com.netflix.explorers.resources.MinifiedContentResource
Sep 12, 2015 3:24:02 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFORMAÇÕES: Provider classes found:
class com.netflix.explorers.providers.JsonMessageBodyWriter
class com.netflix.explorers.providers.JsonMessageBodyReader
class com.netflix.explorers.providers.FreemarkerTemplateProvider
class com.netflix.explorers.providers.WebApplicationExceptionMapper
Sep 12, 2015 3:24:02 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFORMAÇÕES: Initiating Jersey application, version 'Jersey: 1.18.1 02/19/2014 03:28 AM'
15:24:02.450 [main] INFO c.n.e.p.WebApplicationExceptionMapper - GenericExceptionMapper Created
Sep 12, 2015 3:24:02 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFORMAÇÕES: Binding netflix.admin.AdminFreemarkerTemplateProvider to GuiceInstantiatedComponentProvider
15:24:02.505 [main] DEBUG c.n.g.lifecycle.LifecycleManager - Starting netflix.admin.AdminFreemarkerTemplateProvider
15:24:02.506 [main] DEBUG c.n.g.lifecycle.LifecycleManager - commonConstruct()
Sep 12, 2015 3:24:02 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFORMAÇÕES: Binding netflix.adminresources.resources.PropertiesResource to GuiceInjectedComponentProvider
Sep 12, 2015 3:24:02 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFORMAÇÕES: Binding netflix.adminresources.pages.AdminPageResource to GuiceInjectedComponentProvider
Sep 12, 2015 3:24:02 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFORMAÇÕES: Binding com.netflix.explorers.resources.ExplorerAdminResource to GuiceInjectedComponentProvider
Sep 12, 2015 3:24:02 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFORMAÇÕES: Binding com.netflix.explorers.resources.MinifiedContentResource to GuiceInjectedComponentProvider
15:24:02.611 [main] DEBUG org.mortbay.log - started netflix.adminresources.AdminResourcesFilter
15:24:02.611 [main] DEBUG org.mortbay.log - started org.mortbay.jetty.servlet.DefaultServlet$NIOResourceCache@7a2b1eb4
15:24:02.611 [main] DEBUG org.mortbay.log - resource base = null
15:24:02.611 [main] DEBUG org.mortbay.log - started org.mortbay.jetty.servlet.DefaultServlet-353891891
15:24:02.611 [main] DEBUG org.mortbay.log - started org.mortbay.jetty.servlet.Context@2adddc06{/webadmin,null}
15:24:02.611 [main] DEBUG org.mortbay.log - Container org.mortbay.jetty.servlet.Context@6d367020{/,null} + ErrorHandler@702c436b as errorHandler
15:24:02.611 [main] DEBUG org.mortbay.log - filterNameMap={netflix.adminresources.RedirectFilter=netflix.adminresources.RedirectFilter}
15:24:02.611 [main] DEBUG org.mortbay.log - pathFilters=[(F=netflix.adminresources.RedirectFilter,[/*],[],0)]
15:24:02.611 [main] DEBUG org.mortbay.log - servletFilterMap=null
15:24:02.611 [main] DEBUG org.mortbay.log - servletPathMap={/*=org.mortbay.jetty.servlet.DefaultServlet-1730182538}
15:24:02.611 [main] DEBUG org.mortbay.log - servletNameMap={org.mortbay.jetty.servlet.DefaultServlet-1730182538=org.mortbay.jetty.servlet.DefaultServlet-1730182538}
15:24:02.612 [main] DEBUG org.mortbay.log - starting ServletHandler@301d8120
15:24:02.612 [main] DEBUG org.mortbay.log - started ServletHandler@301d8120
15:24:02.612 [main] DEBUG org.mortbay.log - starting org.mortbay.jetty.servlet.Context@6d367020{/,null}
15:24:02.612 [main] DEBUG org.mortbay.log - starting ErrorHandler@702c436b
15:24:02.612 [main] DEBUG org.mortbay.log - started ErrorHandler@702c436b
15:24:02.612 [main] DEBUG org.mortbay.log - started netflix.adminresources.RedirectFilter
15:24:02.612 [main] DEBUG org.mortbay.log - started org.mortbay.jetty.servlet.DefaultServlet$NIOResourceCache@5833f5cd
15:24:02.612 [main] DEBUG org.mortbay.log - resource base = null
15:24:02.612 [main] DEBUG org.mortbay.log - started org.mortbay.jetty.servlet.DefaultServlet-1730182538
15:24:02.612 [main] DEBUG org.mortbay.log - started org.mortbay.jetty.servlet.Context@6d367020{/,null}
15:24:02.612 [main] DEBUG org.mortbay.log - starting HandlerCollection@3fbfa96
15:24:02.612 [main] DEBUG org.mortbay.log - started HandlerCollection@3fbfa96
15:24:02.612 [main] DEBUG org.mortbay.log - starting Server@22101c80
15:24:02.614 [main] INFO org.mortbay.log - Started SocketConnector@0.0.0.0:8077
15:24:02.614 [main] DEBUG org.mortbay.log - started SocketConnector@0.0.0.0:8077
15:24:02.614 [main] DEBUG org.mortbay.log - started Server@22101c80
15:24:02.628 [main] INFO c.n.config.util.ConfigurationUtils - Loaded properties file file:/D:/diego/github/diego.pacheco/netflixoss-pocs/karyon-server-eureka-client/bin/eureka-client.properties
15:24:05.866 [main] INFO c.n.appinfo.CloudInstanceConfig - Datacenter is: Amazon
15:24:05.871 [main] INFO c.n.a.p.EurekaConfigBasedInstanceInfoProvider - Setting initial instance status as: STARTING
15:24:05.877 [main] WARN c.n.config.util.ConfigurationUtils - file:/D:/diego/github/diego.pacheco/netflixoss-pocs/karyon-server-eureka-client/bin/eureka-client.properties is already loaded
15:24:05.890 [main] DEBUG c.netflix.discovery.DiscoveryClient - The availability zone for the given region default are [defaultZone]
15:24:06.640 [main] INFO c.netflix.discovery.DiscoveryClient - Disable delta property : false
15:24:06.641 [main] INFO c.netflix.discovery.DiscoveryClient - Single vip registry refresh property : null
15:24:06.641 [main] INFO c.netflix.discovery.DiscoveryClient - Force full registry fetch : false
15:24:06.641 [main] INFO c.netflix.discovery.DiscoveryClient - Application is null : false
15:24:06.641 [main] INFO c.netflix.discovery.DiscoveryClient - Registered Applications size is zero : true
15:24:06.641 [main] INFO c.netflix.discovery.DiscoveryClient - Application version is -1: true
15:24:06.641 [main] DEBUG c.netflix.discovery.DiscoveryClient - Discovery Client talking to the server http://localhost:8080/eureka/v2/
15:24:06.724 [main] DEBUG c.netflix.discovery.DiscoveryClient - Finished a call to service url http://localhost:8080/eureka/v2/ and url path apps/ with status code 200.
15:24:06.724 [main] INFO c.netflix.discovery.DiscoveryClient - Getting all instance registry info from the eureka server
15:24:06.826 [main] INFO c.netflix.discovery.DiscoveryClient - The response status is 200
15:24:06.826 [main] DEBUG c.netflix.discovery.DiscoveryClient - The total number of all instances in the client now is 1
15:24:06.826 [main] DEBUG c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1 - refresh status: 200
15:24:06.828 [main] INFO c.netflix.discovery.DiscoveryClient - Starting heartbeat executor: renew interval is: 30
15:24:06.833 [main] DEBUG c.n.g.lifecycle.LifecycleManager - Starting com.netflix.discovery.DiscoveryClient
15:24:36.829 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Discovery Client talking to the server http://localhost:8080/eureka/v2/
15:24:36.830 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Discovery Client talking to the server http://localhost:8080/eureka/v2/
15:24:36.835 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Finished a call to service url http://localhost:8080/eureka/v2/ and url path apps/delta with status code 200.
15:24:36.836 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - The total number of instances fetched by the delta processor : 0
15:24:36.837 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - The total number of all instances in the client now is 1
15:24:36.837 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1 - refresh status: 200
15:24:36.837 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Completed cache refresh task for discovery. All Apps hash code is Local region apps hashcode: UP_1_, is fetching remote regions? false
15:24:36.840 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Finished a call to service url http://localhost:8080/eureka/v2/ and url path apps/WEATHER-SERVICE/192.168.33.1 with status code 404.
15:24:36.841 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1 - Heartbeat status: 404
15:24:36.841 [pool-3-thread-1] INFO c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1 - Re-registering apps/WEATHER-SERVICE
15:24:36.841 [pool-3-thread-1] INFO c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1: registering service...
15:24:36.841 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Discovery Client talking to the server http://localhost:8080/eureka/v2/
15:24:36.864 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Finished a call to service url http://localhost:8080/eureka/v2/ and url path apps/WEATHER-SERVICE with status code 204.
15:24:36.864 [pool-3-thread-1] INFO c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1 - registration status: 204
15:24:50.033 [DiscoveryClient-2] INFO c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1 - retransmit instance info with status UP
15:24:50.033 [DiscoveryClient-2] INFO c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1: registering service...
15:24:50.033 [DiscoveryClient-2] DEBUG c.netflix.discovery.DiscoveryClient - Discovery Client talking to the server http://localhost:8080/eureka/v2/
15:24:50.041 [DiscoveryClient-2] DEBUG c.netflix.discovery.DiscoveryClient - Finished a call to service url http://localhost:8080/eureka/v2/ and url path apps/WEATHER-SERVICE with status code 204.
15:24:50.041 [DiscoveryClient-2] INFO c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1 - registration status: 204
15:25:06.839 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Discovery Client talking to the server http://localhost:8080/eureka/v2/
15:25:06.842 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Finished a call to service url http://localhost:8080/eureka/v2/ and url path apps/delta with status code 200.
15:25:06.844 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Added instance 192.168.33.1 to the existing apps in region null
15:25:06.844 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - The total number of instances fetched by the delta processor : 1
15:25:06.845 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - The total number of all instances in the client now is 2
15:25:06.845 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1 - refresh status: 200
15:25:06.845 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Completed cache refresh task for discovery. All Apps hash code is Local region apps hashcode: UP_2_, is fetching remote regions? false
15:25:06.865 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Discovery Client talking to the server http://localhost:8080/eureka/v2/
15:25:06.870 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Finished a call to service url http://localhost:8080/eureka/v2/ and url path apps/WEATHER-SERVICE/192.168.33.1 with status code 404.
15:25:06.870 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1 - Heartbeat status: 404
15:25:06.870 [pool-3-thread-1] INFO c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1 - Re-registering apps/WEATHER-SERVICE
15:25:06.870 [pool-3-thread-1] INFO c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1: registering service...
15:25:06.870 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Discovery Client talking to the server http://localhost:8080/eureka/v2/
15:25:06.875 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Finished a call to service url http://localhost:8080/eureka/v2/ and url path apps/WEATHER-SERVICE with status code 204.
15:25:06.876 [pool-3-thread-1] INFO c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1 - registration status: 204
15:25:36.845 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Discovery Client talking to the server http://localhost:8080/eureka/v2/
15:25:36.848 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Finished a call to service url http://localhost:8080/eureka/v2/ and url path apps/delta with status code 200.
15:25:36.850 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Added instance 192.168.33.1 to the existing apps in region null
15:25:36.850 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - The total number of instances fetched by the delta processor : 1
15:25:36.850 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - The total number of all instances in the client now is 2
15:25:36.850 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1 - refresh status: 200
15:25:36.850 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Completed cache refresh task for discovery. All Apps hash code is Local region apps hashcode: UP_2_, is fetching remote regions? false
15:25:36.877 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Discovery Client talking to the server http://localhost:8080/eureka/v2/
15:25:36.881 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Finished a call to service url http://localhost:8080/eureka/v2/ and url path apps/WEATHER-SERVICE/192.168.33.1 with status code 200.
15:25:36.881 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1 - Heartbeat status: 200
15:26:06.851 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Discovery Client talking to the server http://localhost:8080/eureka/v2/
15:26:06.855 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Finished a call to service url http://localhost:8080/eureka/v2/ and url path apps/delta with status code 200.
15:26:06.857 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Added instance 192.168.33.1 to the existing apps in region null
15:26:06.857 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - The total number of instances fetched by the delta processor : 1
15:26:06.857 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - The total number of all instances in the client now is 2
15:26:06.857 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1 - refresh status: 200
15:26:06.857 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Completed cache refresh task for discovery. All Apps hash code is Local region apps hashcode: UP_2_, is fetching remote regions? false
15:26:06.882 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Discovery Client talking to the server http://localhost:8080/eureka/v2/
15:26:06.886 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Finished a call to service url http://localhost:8080/eureka/v2/ and url path apps/WEATHER-SERVICE/192.168.33.1 with status code 200.
15:26:06.887 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1 - Heartbeat status: 200
15:26:36.857 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Discovery Client talking to the server http://localhost:8080/eureka/v2/
15:26:36.861 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Finished a call to service url http://localhost:8080/eureka/v2/ and url path apps/delta with status code 200.
15:26:36.863 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Added instance 192.168.33.1 to the existing apps in region null
15:26:36.863 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - The total number of instances fetched by the delta processor : 1
15:26:36.863 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - The total number of all instances in the client now is 2
15:26:36.863 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1 - refresh status: 200
15:26:36.863 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Completed cache refresh task for discovery. All Apps hash code is Local region apps hashcode: UP_2_, is fetching remote regions? false
15:26:36.887 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Discovery Client talking to the server http://localhost:8080/eureka/v2/
15:26:36.893 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Finished a call to service url http://localhost:8080/eureka/v2/ and url path apps/WEATHER-SERVICE/192.168.33.1 with status code 200.
15:26:36.893 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1 - Heartbeat status: 200
15:27:06.865 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Discovery Client talking to the server http://localhost:8080/eureka/v2/
15:27:06.868 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Finished a call to service url http://localhost:8080/eureka/v2/ and url path apps/delta with status code 200.
15:27:06.870 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Added instance 192.168.33.1 to the existing apps in region null
15:27:06.870 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - The total number of instances fetched by the delta processor : 1
15:27:06.870 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - The total number of all instances in the client now is 2
15:27:06.870 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1 - refresh status: 200
15:27:06.870 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Completed cache refresh task for discovery. All Apps hash code is Local region apps hashcode: UP_2_, is fetching remote regions? false
15:27:06.894 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Discovery Client talking to the server http://localhost:8080/eureka/v2/
15:27:06.898 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Finished a call to service url http://localhost:8080/eureka/v2/ and url path apps/WEATHER-SERVICE/192.168.33.1 with status code 200.
15:27:06.898 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1 - Heartbeat status: 200
15:27:13.955 [rxnetty-nio-eventloop-3-1] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetectionLevel: simple
15:27:13.979 [rxnetty-nio-eventloop-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7792cf2b, /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:63890 => /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:6002] ACTIVE
15:27:14.000 [rxnetty-nio-eventloop-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7792cf2b, /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:63890 => /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:6002] USER_EVENT: io.reactivex.netty.channel.NewRxConnectionEvent@12152713
15:27:14.014 [rxnetty-nio-eventloop-3-1] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.maxCapacity.default: 262144
15:27:14.023 [rxnetty-nio-eventloop-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7792cf2b, /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:63890 => /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:6002] RECEIVED(435B)
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 47 45 54 20 2f 53 74 61 74 75 73 20 48 54 54 50 |GET /Status HTTP|
|00000010| 2f 31 2e 31 0d 0a 48 6f 73 74 3a 20 34 77 69 6e |/1.1..Host: 4win|
|00000020| 64 73 3a 36 30 30 32 0d 0a 43 6f 6e 6e 65 63 74 |ds:6002..Connect|
|00000030| 69 6f 6e 3a 20 6b 65 65 70 2d 61 6c 69 76 65 0d |ion: keep-alive.|
|00000040| 0a 41 63 63 65 70 74 3a 20 74 65 78 74 2f 68 74 |.Accept: text/ht|
|00000050| 6d 6c 2c 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 |ml,application/x|
|00000060| 68 74 6d 6c 2b 78 6d 6c 2c 61 70 70 6c 69 63 61 |html+xml,applica|
|00000070| 74 69 6f 6e 2f 78 6d 6c 3b 71 3d 30 2e 39 2c 69 |tion/xml;q=0.9,i|
|00000080| 6d 61 67 65 2f 77 65 62 70 2c 2a 2f 2a 3b 71 3d |mage/webp,*/*;q=|
|00000090| 30 2e 38 0d 0a 55 70 67 72 61 64 65 2d 49 6e 73 |0.8..Upgrade-Ins|
|000000a0| 65 63 75 72 65 2d 52 65 71 75 65 73 74 73 3a 20 |ecure-Requests: |
|000000b0| 31 0d 0a 55 73 65 72 2d 41 67 65 6e 74 3a 20 4d |1..User-Agent: M|
|000000c0| 6f 7a 69 6c 6c 61 2f 35 2e 30 20 28 57 69 6e 64 |ozilla/5.0 (Wind|
|000000d0| 6f 77 73 20 4e 54 20 36 2e 33 3b 20 57 4f 57 36 |ows NT 6.3; WOW6|
|000000e0| 34 29 20 41 70 70 6c 65 57 65 62 4b 69 74 2f 35 |4) AppleWebKit/5|
|000000f0| 33 37 2e 33 36 20 28 4b 48 54 4d 4c 2c 20 6c 69 |37.36 (KHTML, li|
|00000100| 6b 65 20 47 65 63 6b 6f 29 20 43 68 72 6f 6d 65 |ke Gecko) Chrome|
|00000110| 2f 34 35 2e 30 2e 32 34 35 34 2e 38 35 20 53 61 |/45.0.2454.85 Sa|
|00000120| 66 61 72 69 2f 35 33 37 2e 33 36 0d 0a 52 65 66 |fari/537.36..Ref|
|00000130| 65 72 65 72 3a 20 68 74 74 70 3a 2f 2f 6c 6f 63 |erer: http://loc|
|00000140| 61 6c 68 6f 73 74 3a 38 30 38 30 2f 65 75 72 65 |alhost:8080/eure|
|00000150| 6b 61 2f 0d 0a 41 63 63 65 70 74 2d 45 6e 63 6f |ka/..Accept-Enco|
|00000160| 64 69 6e 67 3a 20 67 7a 69 70 2c 20 64 65 66 6c |ding: gzip, defl|
|00000170| 61 74 65 2c 20 73 64 63 68 0d 0a 41 63 63 65 70 |ate, sdch..Accep|
|00000180| 74 2d 4c 61 6e 67 75 61 67 65 3a 20 70 74 2d 42 |t-Language: pt-B|
|00000190| 52 2c 70 74 3b 71 3d 30 2e 38 2c 65 6e 2d 55 53 |R,pt;q=0.8,en-US|
|000001a0| 3b 71 3d 30 2e 36 2c 65 6e 3b 71 3d 30 2e 34 0d |;q=0.6,en;q=0.4.|
|000001b0| 0a 0d 0a |... |
+--------+-------------------------------------------------+----------------+
15:27:14.053 [rx-request-processor-5-1] DEBUG n.k.t.h.ServletStyleUriConstraintKey - Prefix match result for servlet style uri constraint for uri path /Status/ and constraint / : true
15:27:14.053 [rx-request-processor-5-1] INFO c.g.d.s.j.n.p.k.e.c.s.LoggingInterceptor - Logging interceptor with id 1 invoked for direction IN.
15:27:14.054 [rx-request-processor-5-1] DEBUG n.k.t.h.ServletStyleUriConstraintKey - Exact match result for servlet style uri constraint for uri path /Status/ and constraint /weather : false
15:27:14.054 [rx-request-processor-5-1] DEBUG n.k.t.h.ServletStyleUriConstraintKey - Exact match result for servlet style uri constraint for uri path /Status/ and constraint /weather/ : false
15:27:14.073 [rx-request-processor-5-1] DEBUG n.k.t.util.HttpContentInputStream - Processing complete
15:27:14.075 [rxnetty-nio-eventloop-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7792cf2b, /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:63890 => /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:6002] FLUSH
15:27:14.084 [rxnetty-nio-eventloop-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7792cf2b, /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:63890 => /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:6002] WRITE(54B)
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 48 54 54 50 2f 31 2e 31 20 34 30 34 20 4e 6f 74 |HTTP/1.1 404 Not|
|00000010| 20 46 6f 75 6e 64 0d 0a 54 72 61 6e 73 66 65 72 | Found..Transfer|
|00000020| 2d 45 6e 63 6f 64 69 6e 67 3a 20 63 68 75 6e 6b |-Encoding: chunk|
|00000030| 65 64 0d 0a 0d 0a |ed.... |
+--------+-------------------------------------------------+----------------+
15:27:14.084 [RxCachedThreadScheduler-1] INFO c.g.d.s.j.n.p.k.e.c.s.LoggingInterceptor - Logging interceptor with id 2 invoked for direction OUT.
15:27:14.086 [rxnetty-nio-eventloop-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7792cf2b, /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:63890 => /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:6002] WRITE(0B)
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
+--------+-------------------------------------------------+----------------+
15:27:14.086 [rxnetty-nio-eventloop-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7792cf2b, /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:63890 => /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:6002] FLUSH
15:27:14.087 [rxnetty-nio-eventloop-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7792cf2b, /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:63890 => /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:6002] WRITE(5B)
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 30 0d 0a 0d 0a |0.... |
+--------+-------------------------------------------------+----------------+
15:27:14.087 [rxnetty-nio-eventloop-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7792cf2b, /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:63890 => /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:6002] FLUSH
15:27:14.087 [rxnetty-nio-eventloop-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7792cf2b, /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:63890 => /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:6002] FLUSH
15:27:14.399 [rxnetty-nio-eventloop-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7792cf2b, /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:63890 => /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:6002] RECEIVED(335B)
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 47 45 54 20 2f 66 61 76 69 63 6f 6e 2e 69 63 6f |GET /favicon.ico|
|00000010| 20 48 54 54 50 2f 31 2e 31 0d 0a 48 6f 73 74 3a | HTTP/1.1..Host:|
|00000020| 20 34 77 69 6e 64 73 3a 36 30 30 32 0d 0a 43 6f | 4winds:6002..Co|
|00000030| 6e 6e 65 63 74 69 6f 6e 3a 20 6b 65 65 70 2d 61 |nnection: keep-a|
|00000040| 6c 69 76 65 0d 0a 55 73 65 72 2d 41 67 65 6e 74 |live..User-Agent|
|00000050| 3a 20 4d 6f 7a 69 6c 6c 61 2f 35 2e 30 20 28 57 |: Mozilla/5.0 (W|
|00000060| 69 6e 64 6f 77 73 20 4e 54 20 36 2e 33 3b 20 57 |indows NT 6.3; W|
|00000070| 4f 57 36 34 29 20 41 70 70 6c 65 57 65 62 4b 69 |OW64) AppleWebKi|
|00000080| 74 2f 35 33 37 2e 33 36 20 28 4b 48 54 4d 4c 2c |t/537.36 (KHTML,|
|00000090| 20 6c 69 6b 65 20 47 65 63 6b 6f 29 20 43 68 72 | like Gecko) Chr|
|000000a0| 6f 6d 65 2f 34 35 2e 30 2e 32 34 35 34 2e 38 35 |ome/45.0.2454.85|
|000000b0| 20 53 61 66 61 72 69 2f 35 33 37 2e 33 36 0d 0a | Safari/537.36..|
|000000c0| 41 63 63 65 70 74 3a 20 2a 2f 2a 0d 0a 52 65 66 |Accept: */*..Ref|
|000000d0| 65 72 65 72 3a 20 68 74 74 70 3a 2f 2f 34 77 69 |erer: http://4wi|
|000000e0| 6e 64 73 3a 36 30 30 32 2f 53 74 61 74 75 73 0d |nds:6002/Status.|
|000000f0| 0a 41 63 63 65 70 74 2d 45 6e 63 6f 64 69 6e 67 |.Accept-Encoding|
|00000100| 3a 20 67 7a 69 70 2c 20 64 65 66 6c 61 74 65 2c |: gzip, deflate,|
|00000110| 20 73 64 63 68 0d 0a 41 63 63 65 70 74 2d 4c 61 | sdch..Accept-La|
|00000120| 6e 67 75 61 67 65 3a 20 70 74 2d 42 52 2c 70 74 |nguage: pt-BR,pt|
|00000130| 3b 71 3d 30 2e 38 2c 65 6e 2d 55 53 3b 71 3d 30 |;q=0.8,en-US;q=0|
|00000140| 2e 36 2c 65 6e 3b 71 3d 30 2e 34 0d 0a 0d 0a |.6,en;q=0.4.... |
+--------+-------------------------------------------------+----------------+
15:27:14.400 [rx-request-processor-5-1] DEBUG n.k.t.h.ServletStyleUriConstraintKey - Prefix match result for servlet style uri constraint for uri path /favicon.ico and constraint / : true
15:27:14.400 [rx-request-processor-5-1] INFO c.g.d.s.j.n.p.k.e.c.s.LoggingInterceptor - Logging interceptor with id 1 invoked for direction IN.
15:27:14.400 [rx-request-processor-5-1] DEBUG n.k.t.h.ServletStyleUriConstraintKey - Exact match result for servlet style uri constraint for uri path /favicon.ico and constraint /weather : false
15:27:14.400 [rx-request-processor-5-1] DEBUG n.k.t.h.ServletStyleUriConstraintKey - Exact match result for servlet style uri constraint for uri path /favicon.ico and constraint /weather/ : false
15:27:14.401 [rx-request-processor-5-1] DEBUG n.k.t.util.HttpContentInputStream - Processing complete
15:27:14.401 [rxnetty-nio-eventloop-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7792cf2b, /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:63890 => /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:6002] FLUSH
15:27:14.402 [RxCachedThreadScheduler-1] INFO c.g.d.s.j.n.p.k.e.c.s.LoggingInterceptor - Logging interceptor with id 2 invoked for direction OUT.
15:27:14.403 [rxnetty-nio-eventloop-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7792cf2b, /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:63890 => /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:6002] WRITE(54B)
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 48 54 54 50 2f 31 2e 31 20 34 30 34 20 4e 6f 74 |HTTP/1.1 404 Not|
|00000010| 20 46 6f 75 6e 64 0d 0a 54 72 61 6e 73 66 65 72 | Found..Transfer|
|00000020| 2d 45 6e 63 6f 64 69 6e 67 3a 20 63 68 75 6e 6b |-Encoding: chunk|
|00000030| 65 64 0d 0a 0d 0a |ed.... |
+--------+-------------------------------------------------+----------------+
15:27:14.403 [rxnetty-nio-eventloop-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7792cf2b, /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:63890 => /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:6002] WRITE(0B)
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
+--------+-------------------------------------------------+----------------+
15:27:14.403 [rxnetty-nio-eventloop-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7792cf2b, /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:63890 => /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:6002] FLUSH
15:27:14.404 [rxnetty-nio-eventloop-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7792cf2b, /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:63890 => /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:6002] WRITE(5B)
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 30 0d 0a 0d 0a |0.... |
+--------+-------------------------------------------------+----------------+
15:27:14.404 [rxnetty-nio-eventloop-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7792cf2b, /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:63890 => /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:6002] FLUSH
15:27:14.404 [rxnetty-nio-eventloop-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7792cf2b, /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:63890 => /fe80:0:0:0:60dd:ad52:47d4:c4ff%49:6002] FLUSH
15:27:34.253 [rxnetty-nio-eventloop-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72022483, /0:0:0:0:0:0:0:1:64139 => /0:0:0:0:0:0:0:1:6002] ACTIVE
15:27:34.253 [rxnetty-nio-eventloop-3-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3344ebaa, /0:0:0:0:0:0:0:1:64140 => /0:0:0:0:0:0:0:1:6002] ACTIVE
15:27:34.254 [rxnetty-nio-eventloop-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72022483, /0:0:0:0:0:0:0:1:64139 => /0:0:0:0:0:0:0:1:6002] USER_EVENT: io.reactivex.netty.channel.NewRxConnectionEvent@6559c942
15:27:34.254 [rxnetty-nio-eventloop-3-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3344ebaa, /0:0:0:0:0:0:0:1:64140 => /0:0:0:0:0:0:0:1:6002] USER_EVENT: io.reactivex.netty.channel.NewRxConnectionEvent@359abf92
15:27:34.263 [rxnetty-nio-eventloop-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72022483, /0:0:0:0:0:0:0:1:64139 => /0:0:0:0:0:0:0:1:6002] RECEIVED(823B)
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 47 45 54 20 2f 77 65 61 74 68 65 72 2f 6e 6f 77 |GET /weather/now|
|00000010| 2f 53 75 6e 6e 79 76 61 6c 65 20 48 54 54 50 2f |/Sunnyvale HTTP/|
|00000020| 31 2e 31 0d 0a 48 6f 73 74 3a 20 6c 6f 63 61 6c |1.1..Host: local|
|00000030| 68 6f 73 74 3a 36 30 30 32 0d 0a 43 6f 6e 6e 65 |host:6002..Conne|
|00000040| 63 74 69 6f 6e 3a 20 6b 65 65 70 2d 61 6c 69 76 |ction: keep-aliv|
|00000050| 65 0d 0a 41 63 63 65 70 74 3a 20 74 65 78 74 2f |e..Accept: text/|
|00000060| 68 74 6d 6c 2c 61 70 70 6c 69 63 61 74 69 6f 6e |html,application|
|00000070| 2f 78 68 74 6d 6c 2b 78 6d 6c 2c 61 70 70 6c 69 |/xhtml+xml,appli|
|00000080| 63 61 74 69 6f 6e 2f 78 6d 6c 3b 71 3d 30 2e 39 |cation/xml;q=0.9|
|00000090| 2c 69 6d 61 67 65 2f 77 65 62 70 2c 2a 2f 2a 3b |,image/webp,*/*;|
|000000a0| 71 3d 30 2e 38 0d 0a 55 70 67 72 61 64 65 2d 49 |q=0.8..Upgrade-I|
|000000b0| 6e 73 65 63 75 72 65 2d 52 65 71 75 65 73 74 73 |nsecure-Requests|
|000000c0| 3a 20 31 0d 0a 55 73 65 72 2d 41 67 65 6e 74 3a |: 1..User-Agent:|
|000000d0| 20 4d 6f 7a 69 6c 6c 61 2f 35 2e 30 20 28 57 69 | Mozilla/5.0 (Wi|
|000000e0| 6e 64 6f 77 73 20 4e 54 20 36 2e 33 3b 20 57 4f |ndows NT 6.3; WO|
|000000f0| 57 36 34 29 20 41 70 70 6c 65 57 65 62 4b 69 74 |W64) AppleWebKit|
|00000100| 2f 35 33 37 2e 33 36 20 28 4b 48 54 4d 4c 2c 20 |/537.36 (KHTML, |
|00000110| 6c 69 6b 65 20 47 65 63 6b 6f 29 20 43 68 72 6f |like Gecko) Chro|
|00000120| 6d 65 2f 34 35 2e 30 2e 32 34 35 34 2e 38 35 20 |me/45.0.2454.85 |
|00000130| 53 61 66 61 72 69 2f 35 33 37 2e 33 36 0d 0a 41 |Safari/537.36..A|
|00000140| 63 63 65 70 74 2d 45 6e 63 6f 64 69 6e 67 3a 20 |ccept-Encoding: |
|00000150| 67 7a 69 70 2c 20 64 65 66 6c 61 74 65 2c 20 73 |gzip, deflate, s|
|00000160| 64 63 68 0d 0a 41 63 63 65 70 74 2d 4c 61 6e 67 |dch..Accept-Lang|
|00000170| 75 61 67 65 3a 20 70 74 2d 42 52 2c 70 74 3b 71 |uage: pt-BR,pt;q|
|00000180| 3d 30 2e 38 2c 65 6e 2d 55 53 3b 71 3d 30 2e 36 |=0.8,en-US;q=0.6|
|00000190| 2c 65 6e 3b 71 3d 30 2e 34 0d 0a 43 6f 6f 6b 69 |,en;q=0.4..Cooki|
|000001a0| 65 3a 20 4a 53 45 53 53 49 4f 4e 49 44 2e 35 61 |e: JSESSIONID.5a|
|000001b0| 66 37 35 30 62 36 3d 63 63 72 61 73 6f 37 6e 63 |f750b6=ccraso7nc|
|000001c0| 6c 6b 34 68 62 6a 78 68 32 6c 63 6e 34 38 37 3b |lk4hbjxh2lcn487;|
|000001d0| 20 4a 53 45 53 53 49 4f 4e 49 44 2e 37 32 63 62 | JSESSIONID.72cb|
|000001e0| 35 66 35 37 3d 6d 38 78 6e 34 7a 66 61 66 7a 63 |5f57=m8xn4zfafzc|
|000001f0| 32 6d 6a 70 31 73 72 70 6f 31 35 69 69 3b 20 4a |2mjp1srpo15ii; J|
|00000200| 53 45 53 53 49 4f 4e 49 44 2e 39 39 62 32 31 64 |SESSIONID.99b21d|
|00000210| 64 36 3d 70 68 68 63 73 66 6b 62 39 76 73 70 31 |d6=phhcsfkb9vsp1|
|00000220| 31 32 69 78 75 72 79 38 6e 75 36 77 3b 20 4a 53 |12ixury8nu6w; JS|
|00000230| 45 53 53 49 4f 4e 49 44 2e 34 37 64 64 32 31 35 |ESSIONID.47dd215|
|00000240| 62 3d 31 78 76 32 65 31 32 6b 74 61 68 38 62 31 |b=1xv2e12ktah8b1|
|00000250| 37 79 68 36 61 7a 67 67 39 79 31 72 3b 20 4a 53 |7yh6azgg9y1r; JS|
|00000260| 45 53 53 49 4f 4e 49 44 2e 33 39 32 30 37 63 61 |ESSIONID.39207ca|
|00000270| 37 3d 34 74 75 79 6f 78 6c 35 6a 36 61 37 6a 72 |7=4tuyoxl5j6a7jr|
|00000280| 64 39 6d 32 32 76 36 37 79 69 3b 20 4a 53 45 53 |d9m22v67yi; JSES|
|00000290| 53 49 4f 4e 49 44 2e 31 37 64 65 32 35 64 35 3d |SIONID.17de25d5=|
|000002a0| 31 65 61 72 37 77 71 71 6c 75 39 69 38 31 6f 74 |1ear7wqqlu9i81ot|
|000002b0| 73 71 72 37 73 6a 68 68 6f 6e 3b 20 4a 53 45 53 |sqr7sjhhon; JSES|
|000002c0| 53 49 4f 4e 49 44 2e 32 30 35 66 33 33 37 61 3d |SIONID.205f337a=|
|000002d0| 31 6f 73 6f 75 32 75 66 31 34 77 7a 62 72 63 71 |1osou2uf14wzbrcq|
|000002e0| 62 66 33 6a 37 61 71 65 74 3b 20 4a 53 45 53 53 |bf3j7aqet; JSESS|
|000002f0| 49 4f 4e 49 44 2e 38 34 33 30 34 66 32 38 3d 74 |IONID.84304f28=t|
|00000300| 66 61 71 68 6e 76 31 65 33 71 36 79 62 6c 79 65 |faqhnv1e3q6yblye|
|00000310| 35 75 73 30 61 76 36 3b 20 73 63 72 65 65 6e 52 |5us0av6; screenR|
|00000320| 65 73 6f 6c 75 74 69 6f 6e 3d 31 39 32 30 78 31 |esolution=1920x1|
|00000330| 30 38 30 0d 0a 0d 0a |080.... |
+--------+-------------------------------------------------+----------------+
15:27:34.264 [rx-request-processor-5-2] DEBUG n.k.t.h.ServletStyleUriConstraintKey - Prefix match result for servlet style uri constraint for uri path /weather/now/Sunnyvale/ and constraint / : true
15:27:34.264 [rx-request-processor-5-2] INFO c.g.d.s.j.n.p.k.e.c.s.LoggingInterceptor - Logging interceptor with id 1 invoked for direction IN.
15:27:34.264 [rx-request-processor-5-2] DEBUG n.k.t.h.ServletStyleUriConstraintKey - Exact match result for servlet style uri constraint for uri path /weather/now/Sunnyvale/ and constraint /weather : false
15:27:34.264 [rx-request-processor-5-2] DEBUG n.k.t.h.ServletStyleUriConstraintKey - Exact match result for servlet style uri constraint for uri path /weather/now/Sunnyvale/ and constraint /weather/ : false
15:27:34.271 [rx-request-processor-5-2] DEBUG n.k.t.util.HttpContentInputStream - Processing complete
15:27:34.272 [rxnetty-nio-eventloop-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72022483, /0:0:0:0:0:0:0:1:64139 => /0:0:0:0:0:0:0:1:6002] FLUSH
15:27:34.680 [RxCachedThreadScheduler-1] INFO c.g.d.s.j.n.p.k.e.c.s.LoggingInterceptor - Logging interceptor with id 2 invoked for direction OUT.
15:27:34.680 [rxnetty-nio-eventloop-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72022483, /0:0:0:0:0:0:0:1:64139 => /0:0:0:0:0:0:0:1:6002] WRITE(79B)
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d |HTTP/1.1 200 OK.|
|00000010| 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 |.Content-Type: a|
|00000020| 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d |pplication/json.|
|00000030| 0a 54 72 61 6e 73 66 65 72 2d 45 6e 63 6f 64 69 |.Transfer-Encodi|
|00000040| 6e 67 3a 20 63 68 75 6e 6b 65 64 0d 0a 0d 0a |ng: chunked.... |
+--------+-------------------------------------------------+----------------+
15:27:34.680 [rxnetty-nio-eventloop-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72022483, /0:0:0:0:0:0:0:1:64139 => /0:0:0:0:0:0:0:1:6002] WRITE(5B)
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 32 31 31 0d 0a |211.. |
+--------+-------------------------------------------------+----------------+
15:27:34.681 [rxnetty-nio-eventloop-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72022483, /0:0:0:0:0:0:0:1:64139 => /0:0:0:0:0:0:0:1:6002] WRITE(529B)
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 22 77 65 61 74 68 65 72 22 3a 22 7b 5c 22 63 |{"weather":"{\"c|
|00000010| 6f 6f 72 64 5c 22 3a 7b 5c 22 6c 6f 6e 5c 22 3a |oord\":{\"lon\":|
|00000020| 2d 31 32 32 2e 30 34 2c 5c 22 6c 61 74 5c 22 3a |-122.04,\"lat\":|
|00000030| 33 37 2e 33 37 7d 2c 5c 22 77 65 61 74 68 65 72 |37.37},\"weather|
|00000040| 5c 22 3a 5b 7b 5c 22 69 64 5c 22 3a 38 30 34 2c |\":[{\"id\":804,|
|00000050| 5c 22 6d 61 69 6e 5c 22 3a 5c 22 43 6c 6f 75 64 |\"main\":\"Cloud|
|00000060| 73 5c 22 2c 5c 22 64 65 73 63 72 69 70 74 69 6f |s\",\"descriptio|
|00000070| 6e 5c 22 3a 5c 22 6f 76 65 72 63 61 73 74 20 63 |n\":\"overcast c|
|00000080| 6c 6f 75 64 73 5c 22 2c 5c 22 69 63 6f 6e 5c 22 |louds\",\"icon\"|
|00000090| 3a 5c 22 30 34 64 5c 22 7d 5d 2c 5c 22 62 61 73 |:\"04d\"}],\"bas|
|000000a0| 65 5c 22 3a 5c 22 63 6d 63 20 73 74 61 74 69 6f |e\":\"cmc statio|
|000000b0| 6e 73 5c 22 2c 5c 22 6d 61 69 6e 5c 22 3a 7b 5c |ns\",\"main\":{\|
|000000c0| 22 74 65 6d 70 5c 22 3a 32 39 33 2e 31 32 2c 5c |"temp\":293.12,\|
|000000d0| 22 70 72 65 73 73 75 72 65 5c 22 3a 31 30 31 34 |"pressure\":1014|
|000000e0| 2c 5c 22 68 75 6d 69 64 69 74 79 5c 22 3a 38 32 |,\"humidity\":82|
|000000f0| 2c 5c 22 74 65 6d 70 5f 6d 69 6e 5c 22 3a 32 38 |,\"temp_min\":28|
|00000100| 38 2e 37 31 2c 5c 22 74 65 6d 70 5f 6d 61 78 5c |8.71,\"temp_max\|
|00000110| 22 3a 32 39 39 2e 38 32 7d 2c 5c 22 77 69 6e 64 |":299.82},\"wind|
|00000120| 5c 22 3a 7b 5c 22 73 70 65 65 64 5c 22 3a 36 2e |\":{\"speed\":6.|
|00000130| 32 2c 5c 22 64 65 67 5c 22 3a 31 30 7d 2c 5c 22 |2,\"deg\":10},\"|
|00000140| 63 6c 6f 75 64 73 5c 22 3a 7b 5c 22 61 6c 6c 5c |clouds\":{\"all\|
|00000150| 22 3a 39 30 7d 2c 5c 22 64 74 5c 22 3a 31 34 34 |":90},\"dt\":144|
|00000160| 32 30 39 35 39 39 35 2c 5c 22 73 79 73 5c 22 3a |2095995,\"sys\":|
|00000170| 7b 5c 22 74 79 70 65 5c 22 3a 31 2c 5c 22 69 64 |{\"type\":1,\"id|
|00000180| 5c 22 3a 34 35 31 2c 5c 22 6d 65 73 73 61 67 65 |\":451,\"message|
|00000190| 5c 22 3a 30 2e 30 30 33 39 2c 5c 22 63 6f 75 6e |\":0.0039,\"coun|
|000001a0| 74 72 79 5c 22 3a 5c 22 55 53 5c 22 2c 5c 22 73 |try\":\"US\",\"s|
|000001b0| 75 6e 72 69 73 65 5c 22 3a 31 34 34 32 30 36 35 |unrise\":1442065|
|000001c0| 37 30 31 2c 5c 22 73 75 6e 73 65 74 5c 22 3a 31 |701,\"sunset\":1|
|000001d0| 34 34 32 31 31 30 37 35 36 7d 2c 5c 22 69 64 5c |442110756},\"id\|
|000001e0| 22 3a 35 34 30 30 30 37 35 2c 5c 22 6e 61 6d 65 |":5400075,\"name|
|000001f0| 5c 22 3a 5c 22 53 75 6e 6e 79 76 61 6c 65 5c 22 |\":\"Sunnyvale\"|
|00000200| 2c 5c 22 63 6f 64 5c 22 3a 32 30 30 7d 5c 6e 22 |,\"cod\":200}\n"|
|00000210| 7d |} |
+--------+-------------------------------------------------+----------------+
15:27:34.681 [rxnetty-nio-eventloop-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72022483, /0:0:0:0:0:0:0:1:64139 => /0:0:0:0:0:0:0:1:6002] WRITE(2B)
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 0d 0a |.. |
+--------+-------------------------------------------------+----------------+
15:27:34.681 [rxnetty-nio-eventloop-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72022483, /0:0:0:0:0:0:0:1:64139 => /0:0:0:0:0:0:0:1:6002] FLUSH
15:27:34.682 [rxnetty-nio-eventloop-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72022483, /0:0:0:0:0:0:0:1:64139 => /0:0:0:0:0:0:0:1:6002] WRITE(5B)
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 30 0d 0a 0d 0a |0.... |
+--------+-------------------------------------------------+----------------+
15:27:34.682 [rxnetty-nio-eventloop-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72022483, /0:0:0:0:0:0:0:1:64139 => /0:0:0:0:0:0:0:1:6002] FLUSH
15:27:34.682 [rxnetty-nio-eventloop-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72022483, /0:0:0:0:0:0:0:1:64139 => /0:0:0:0:0:0:0:1:6002] FLUSH
15:27:35.036 [rxnetty-nio-eventloop-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72022483, /0:0:0:0:0:0:0:1:64139 => /0:0:0:0:0:0:0:1:6002] RECEIVED(766B)
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 47 45 54 20 2f 66 61 76 69 63 6f 6e 2e 69 63 6f |GET /favicon.ico|
|00000010| 20 48 54 54 50 2f 31 2e 31 0d 0a 48 6f 73 74 3a | HTTP/1.1..Host:|
|00000020| 20 6c 6f 63 61 6c 68 6f 73 74 3a 36 30 30 32 0d | localhost:6002.|
|00000030| 0a 43 6f 6e 6e 65 63 74 69 6f 6e 3a 20 6b 65 65 |.Connection: kee|
|00000040| 70 2d 61 6c 69 76 65 0d 0a 55 73 65 72 2d 41 67 |p-alive..User-Ag|
|00000050| 65 6e 74 3a 20 4d 6f 7a 69 6c 6c 61 2f 35 2e 30 |ent: Mozilla/5.0|
|00000060| 20 28 57 69 6e 64 6f 77 73 20 4e 54 20 36 2e 33 | (Windows NT 6.3|
|00000070| 3b 20 57 4f 57 36 34 29 20 41 70 70 6c 65 57 65 |; WOW64) AppleWe|
|00000080| 62 4b 69 74 2f 35 33 37 2e 33 36 20 28 4b 48 54 |bKit/537.36 (KHT|
|00000090| 4d 4c 2c 20 6c 69 6b 65 20 47 65 63 6b 6f 29 20 |ML, like Gecko) |
|000000a0| 43 68 72 6f 6d 65 2f 34 35 2e 30 2e 32 34 35 34 |Chrome/45.0.2454|
|000000b0| 2e 38 35 20 53 61 66 61 72 69 2f 35 33 37 2e 33 |.85 Safari/537.3|
|000000c0| 36 0d 0a 41 63 63 65 70 74 3a 20 2a 2f 2a 0d 0a |6..Accept: */*..|
|000000d0| 52 65 66 65 72 65 72 3a 20 68 74 74 70 3a 2f 2f |Referer: http://|
|000000e0| 6c 6f 63 61 6c 68 6f 73 74 3a 36 30 30 32 2f 77 |localhost:6002/w|
|000000f0| 65 61 74 68 65 72 2f 6e 6f 77 2f 53 75 6e 6e 79 |eather/now/Sunny|
|00000100| 76 61 6c 65 0d 0a 41 63 63 65 70 74 2d 45 6e 63 |vale..Accept-Enc|
|00000110| 6f 64 69 6e 67 3a 20 67 7a 69 70 2c 20 64 65 66 |oding: gzip, def|
|00000120| 6c 61 74 65 2c 20 73 64 63 68 0d 0a 41 63 63 65 |late, sdch..Acce|
|00000130| 70 74 2d 4c 61 6e 67 75 61 67 65 3a 20 70 74 2d |pt-Language: pt-|
|00000140| 42 52 2c 70 74 3b 71 3d 30 2e 38 2c 65 6e 2d 55 |BR,pt;q=0.8,en-U|
|00000150| 53 3b 71 3d 30 2e 36 2c 65 6e 3b 71 3d 30 2e 34 |S;q=0.6,en;q=0.4|
|00000160| 0d 0a 43 6f 6f 6b 69 65 3a 20 4a 53 45 53 53 49 |..Cookie: JSESSI|
|00000170| 4f 4e 49 44 2e 35 61 66 37 35 30 62 36 3d 63 63 |ONID.5af750b6=cc|
|00000180| 72 61 73 6f 37 6e 63 6c 6b 34 68 62 6a 78 68 32 |raso7nclk4hbjxh2|
|00000190| 6c 63 6e 34 38 37 3b 20 4a 53 45 53 53 49 4f 4e |lcn487; JSESSION|
|000001a0| 49 44 2e 37 32 63 62 35 66 35 37 3d 6d 38 78 6e |ID.72cb5f57=m8xn|
|000001b0| 34 7a 66 61 66 7a 63 32 6d 6a 70 31 73 72 70 6f |4zfafzc2mjp1srpo|
|000001c0| 31 35 69 69 3b 20 4a 53 45 53 53 49 4f 4e 49 44 |15ii; JSESSIONID|
|000001d0| 2e 39 39 62 32 31 64 64 36 3d 70 68 68 63 73 66 |.99b21dd6=phhcsf|
|000001e0| 6b 62 39 76 73 70 31 31 32 69 78 75 72 79 38 6e |kb9vsp112ixury8n|
|000001f0| 75 36 77 3b 20 4a 53 45 53 53 49 4f 4e 49 44 2e |u6w; JSESSIONID.|
|00000200| 34 37 64 64 32 31 35 62 3d 31 78 76 32 65 31 32 |47dd215b=1xv2e12|
|00000210| 6b 74 61 68 38 62 31 37 79 68 36 61 7a 67 67 39 |ktah8b17yh6azgg9|
|00000220| 79 31 72 3b 20 4a 53 45 53 53 49 4f 4e 49 44 2e |y1r; JSESSIONID.|
|00000230| 33 39 32 30 37 63 61 37 3d 34 74 75 79 6f 78 6c |39207ca7=4tuyoxl|
|00000240| 35 6a 36 61 37 6a 72 64 39 6d 32 32 76 36 37 79 |5j6a7jrd9m22v67y|
|00000250| 69 3b 20 4a 53 45 53 53 49 4f 4e 49 44 2e 31 37 |i; JSESSIONID.17|
|00000260| 64 65 32 35 64 35 3d 31 65 61 72 37 77 71 71 6c |de25d5=1ear7wqql|
|00000270| 75 39 69 38 31 6f 74 73 71 72 37 73 6a 68 68 6f |u9i81otsqr7sjhho|
|00000280| 6e 3b 20 4a 53 45 53 53 49 4f 4e 49 44 2e 32 30 |n; JSESSIONID.20|
|00000290| 35 66 33 33 37 61 3d 31 6f 73 6f 75 32 75 66 31 |5f337a=1osou2uf1|
|000002a0| 34 77 7a 62 72 63 71 62 66 33 6a 37 61 71 65 74 |4wzbrcqbf3j7aqet|
|000002b0| 3b 20 4a 53 45 53 53 49 4f 4e 49 44 2e 38 34 33 |; JSESSIONID.843|
|000002c0| 30 34 66 32 38 3d 74 66 61 71 68 6e 76 31 65 33 |04f28=tfaqhnv1e3|
|000002d0| 71 36 79 62 6c 79 65 35 75 73 30 61 76 36 3b 20 |q6yblye5us0av6; |
|000002e0| 73 63 72 65 65 6e 52 65 73 6f 6c 75 74 69 6f 6e |screenResolution|
|000002f0| 3d 31 39 32 30 78 31 30 38 30 0d 0a 0d 0a |=1920x1080.... |
+--------+-------------------------------------------------+----------------+
15:27:35.037 [rx-request-processor-5-2] DEBUG n.k.t.h.ServletStyleUriConstraintKey - Prefix match result for servlet style uri constraint for uri path /favicon.ico and constraint / : true
15:27:35.037 [rx-request-processor-5-2] INFO c.g.d.s.j.n.p.k.e.c.s.LoggingInterceptor - Logging interceptor with id 1 invoked for direction IN.
15:27:35.037 [rx-request-processor-5-2] DEBUG n.k.t.h.ServletStyleUriConstraintKey - Exact match result for servlet style uri constraint for uri path /favicon.ico and constraint /weather : false
15:27:35.038 [rx-request-processor-5-2] DEBUG n.k.t.h.ServletStyleUriConstraintKey - Exact match result for servlet style uri constraint for uri path /favicon.ico and constraint /weather/ : false
15:27:35.038 [rx-request-processor-5-2] DEBUG n.k.t.util.HttpContentInputStream - Processing complete
15:27:35.038 [rxnetty-nio-eventloop-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72022483, /0:0:0:0:0:0:0:1:64139 => /0:0:0:0:0:0:0:1:6002] FLUSH
15:27:35.039 [RxCachedThreadScheduler-1] INFO c.g.d.s.j.n.p.k.e.c.s.LoggingInterceptor - Logging interceptor with id 2 invoked for direction OUT.
15:27:35.039 [rxnetty-nio-eventloop-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72022483, /0:0:0:0:0:0:0:1:64139 => /0:0:0:0:0:0:0:1:6002] WRITE(54B)
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 48 54 54 50 2f 31 2e 31 20 34 30 34 20 4e 6f 74 |HTTP/1.1 404 Not|
|00000010| 20 46 6f 75 6e 64 0d 0a 54 72 61 6e 73 66 65 72 | Found..Transfer|
|00000020| 2d 45 6e 63 6f 64 69 6e 67 3a 20 63 68 75 6e 6b |-Encoding: chunk|
|00000030| 65 64 0d 0a 0d 0a |ed.... |
+--------+-------------------------------------------------+----------------+
15:27:35.039 [rxnetty-nio-eventloop-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72022483, /0:0:0:0:0:0:0:1:64139 => /0:0:0:0:0:0:0:1:6002] WRITE(0B)
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
+--------+-------------------------------------------------+----------------+
15:27:35.039 [rxnetty-nio-eventloop-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72022483, /0:0:0:0:0:0:0:1:64139 => /0:0:0:0:0:0:0:1:6002] FLUSH
15:27:35.039 [rxnetty-nio-eventloop-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72022483, /0:0:0:0:0:0:0:1:64139 => /0:0:0:0:0:0:0:1:6002] WRITE(5B)
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 30 0d 0a 0d 0a |0.... |
+--------+-------------------------------------------------+----------------+
15:27:35.040 [rxnetty-nio-eventloop-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72022483, /0:0:0:0:0:0:0:1:64139 => /0:0:0:0:0:0:0:1:6002] FLUSH
15:27:35.040 [rxnetty-nio-eventloop-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72022483, /0:0:0:0:0:0:0:1:64139 => /0:0:0:0:0:0:0:1:6002] FLUSH
15:27:36.872 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Discovery Client talking to the server http://localhost:8080/eureka/v2/
15:27:36.875 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Finished a call to service url http://localhost:8080/eureka/v2/ and url path apps/delta with status code 200.
15:27:36.877 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Added instance 192.168.33.1 to the existing apps in region null
15:27:36.877 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - The total number of instances fetched by the delta processor : 1
15:27:36.877 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - The total number of all instances in the client now is 2
15:27:36.877 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1 - refresh status: 200
15:27:36.877 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Completed cache refresh task for discovery. All Apps hash code is Local region apps hashcode: UP_2_, is fetching remote regions? false
15:27:36.899 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Discovery Client talking to the server http://localhost:8080/eureka/v2/
15:27:36.903 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Finished a call to service url http://localhost:8080/eureka/v2/ and url path apps/WEATHER-SERVICE/192.168.33.1 with status code 200.
15:27:36.903 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1 - Heartbeat status: 200
15:27:53.685 [rxnetty-nio-eventloop-3-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3344ebaa, /0:0:0:0:0:0:0:1:64140 :> /0:0:0:0:0:0:0:1:6002] FLUSH
15:27:53.685 [rxnetty-nio-eventloop-3-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3344ebaa, /0:0:0:0:0:0:0:1:64140 :> /0:0:0:0:0:0:0:1:6002] INACTIVE
15:27:53.686 [rxnetty-nio-eventloop-3-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3344ebaa, /0:0:0:0:0:0:0:1:64140 :> /0:0:0:0:0:0:0:1:6002] UNREGISTERED
15:27:53.687 [rxnetty-nio-eventloop-3-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3344ebaa, /0:0:0:0:0:0:0:1:64140 :> /0:0:0:0:0:0:0:1:6002] CLOSE()
15:28:06.878 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Discovery Client talking to the server http://localhost:8080/eureka/v2/
15:28:06.881 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Finished a call to service url http://localhost:8080/eureka/v2/ and url path apps/delta with status code 200.
15:28:06.883 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Added instance 192.168.33.1 to the existing apps in region null
15:28:06.883 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - The total number of instances fetched by the delta processor : 1
15:28:06.883 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - The total number of all instances in the client now is 2
15:28:06.883 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1 - refresh status: 200
15:28:06.883 [pool-4-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Completed cache refresh task for discovery. All Apps hash code is Local region apps hashcode: UP_2_, is fetching remote regions? false
15:28:06.904 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Discovery Client talking to the server http://localhost:8080/eureka/v2/
15:28:06.907 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - Finished a call to service url http://localhost:8080/eureka/v2/ and url path apps/WEATHER-SERVICE/192.168.33.1 with status code 200.
15:28:06.907 [pool-3-thread-1] DEBUG c.netflix.discovery.DiscoveryClient - DiscoveryClient_WEATHER-SERVICE/192.168.33.1 - Heartbeat status: 200
view raw log.txt hosted with ❤ by GitHub


IF you goto eureka: http://localhost:8080/eureka/v2/apps you will see the weather-service is registered there. This could take some time like 30 seconds.



Now you can open your browser and call the service: http://localhost:6002/weather/now/Sunnyvale


You also can check the web admin if you go: http://localhost:8077/admin/



Servo JMX metrics are also available: http://localhost:8077/admin/#view=jmx&


The FULL code you can get into my github here: https://github.com/diegopacheco/netflixoss-pocs/tree/master/karyon-server-eureka-client

Cheers,
Diego Pacheco
Tags: admin, registry, services, code,

comment 0 comments

Chuyên mục văn hoá giải trí của VnExpress

.

© 2017 www.blogthuthuatwin10.com

Tầng 5, Tòa nhà FPT Cầu Giấy, phố Duy Tân, Phường Dịch Vọng Hậu, Quận Cầu Giấy, Hà Nội
Email: nguyenanhtuan2401@gmail.com
Điện thoại: 0908 562 750 ext 4548; Liên hệ quảng cáo: 4567.