| # Licensed to the Apache Software Foundation (ASF) under one or more |
| # contributor license agreements. See the NOTICE file distributed with |
| # this work for additional information regarding copyright ownership. |
| # The ASF licenses this file to You under the Apache License, Version 2.0 |
| # (the "License"); you may not use this file except in compliance with |
| # the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| GET /v4/default/registry/microservices/349524856cf811e7b7bc286ed488ff40/instances/838942c26cf911e7b7bc286ed488ff40 HTTP/1.1 |
| Host: 127.0.0.1:30100 |
| X-tenant-name: default |
| Content-Type: application/json |
| X-ConsumerId: 349524856cf811e7b7bc286ed488ff40 |
| Cache-Control: no-cache |
| Postman-Token: f1179ffa-5156-88f2-04c6-bd41b9312928 |
| |
| { |
| "instance": { |
| "instanceId": "838942c26cf911e7b7bc286ed488ff40", |
| "serviceId": "349524856cf811e7b7bc286ed488ff40", |
| "endpoints": [ |
| "cse://127.0.0.1:9986" |
| ], |
| "hostName": "cse", |
| "status": "UP", |
| "properties": { |
| "_TAGS": "A,B", |
| "attr1": "a", |
| "nodeIP": "one" |
| }, |
| "healthCheck": { |
| "mode": "push", |
| "interval": 30, |
| "times": 2 |
| }, |
| "timestamp": "1500520456", |
| "environment":"production" |
| } |
| } |