Skip to content

Instantly share code, notes, and snippets.

@EricWittmann
Created December 8, 2015 20:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EricWittmann/cc02a9ba6a2dee548a60 to your computer and use it in GitHub Desktop.
Save EricWittmann/cc02a9ba6a2dee548a60 to your computer and use it in GitHub Desktop.
[ewittman@titmouse wildfly-8.2.0.Final]$ curl https://search-apiman-elastic-sarog5jew3xacrec5szeefvdm4.us-east-1.es.amazonaws.com/apiman_gateway/service/_search/?pretty=true
{
"took" : 2,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 5,
"failed" : 0
},
"hits" : {
"total" : 2,
"max_score" : 1.0,
"hits" : [ {
"_index" : "apiman_gateway",
"_type" : "service",
"_id" : "Testing2:echo2:1.1",
"_score" : 1.0,
"_source":{"endpoint":"http://192.168.1.103:9999/public/echo","endpointType":"rest","publicService":true,"organizationId":"Testing2","serviceId":"echo2","version":"1.1","endp
ointProperties":[],"policies":[]}
}, {
"_index" : "apiman_gateway",
"_type" : "service",
"_id" : "Testing2:echo2:1.0",
"_score" : 1.0,
"_source":{"endpoint":"http://localhost:9999/public/echo","endpointType":"rest","publicService":true,"organizationId":"Testing2","serviceId":"echo2","version":"1.0","endpoint
Properties":[],"policies":[]}
} ]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment