You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Considering the logical "register" operation, accomplished via HTTP POST, the logical schema of its payload, represented in XSD but also applicable to JSON, is also in the Wiki citation above.
A minimal example would be LeaseInfo. The schema says that leaseInfo is an optional element consisting of exactly one field, evictionDurationInSecs, which must be a positive integer. Taking Jackson annotations and conventions into account, I see no such analogous property in LeaseInfo. Because in fact LeaseInfo is serialized entirely by Jackson, what would be serialized is its (potentially many) properties instead, such as durationInSecs, renewalIntervalInSecs, and so on.
Does this mean the XML schema is out of date? Is there another API resource instead I should be looking at if I were trying to do things via, say, curl?
The text was updated successfully, but these errors were encountered:
The Wiki describes REST operations here: https://github.com/Netflix/eureka/wiki/Eureka-REST-operations
Considering the logical "register" operation, accomplished via HTTP POST, the logical schema of its payload, represented in XSD but also applicable to JSON, is also in the Wiki citation above.
However, it seems to diverge widely from the way in which, for example, an
InstanceInfo
, representing a desired registration, is actually serialized over the wire during a register operation: https://github.com/Netflix/eureka/blob/v2.0.3/eureka-client/src/main/java/com/netflix/discovery/converters/EurekaJacksonCodec.java#L343-L422A minimal example would be
LeaseInfo
. The schema says thatleaseInfo
is an optional element consisting of exactly one field,evictionDurationInSecs
, which must be a positive integer. Taking Jackson annotations and conventions into account, I see no such analogous property inLeaseInfo
. Because in factLeaseInfo
is serialized entirely by Jackson, what would be serialized is its (potentially many) properties instead, such asdurationInSecs
,renewalIntervalInSecs
, and so on.Does this mean the XML schema is out of date? Is there another API resource instead I should be looking at if I were trying to do things via, say,
curl
?The text was updated successfully, but these errors were encountered: