Netflix Eureka API 介绍

    NetFlix Eureka Server 是一个采用 http 协议的服务注册,发现中心。服务端经过 http 协议暴漏接口给客户端进行调用,由于是 http 协议的因此客户端没有语言限制。app

 

Eureka Server API 介绍

    

接口 接口地址 请求方法 接口参数 响应数据
服务注册接口 (register) /apps/{服务名称} POST    
服务取消注册( cancel ) /apps/{服务名称}/{实例ID} DELETE    
客户端发送心跳 (sendHeartBeat) /apps/{服务名称}/{实例ID} PUT  status , lastDirtyTimestamp , overriddenstatus  
更新实例状态 (statusUpdate) /apps/{服务名称}/{实例ID} PUT status , lastDirtyTimestamp  
deleteStatusOverride /apps/{服务名称}/{实例ID}/status DELETE lastDirtyTimestamp  
获取服务列表 (getApplications) /apps/ GET regions  
getDelta /apps/delta GET regions  
getVip /vips/ GET vipAddress , regions   
getSecureVip /svips/ GET secureVipAddress , regions  
getApplication /apps/{服务名称} GET    
getInstance /apps/{服务名称}/{实例ID} GET    
getInstance /instances/{实例ID} GET    
shutdown
相关文章
相关标签/搜索