ContainX / openstack4j

A Fluent OpenStack SDK / Client Library for Java
http://openstack4j.com
Other
290 stars 368 forks source link

Cannot get endpoint name or type #924

Open hrchu opened 7 years ago

hrchu commented 7 years ago
 os.identity().serviceEndpoints().listEndpoints().forEach(v -> System.out.println(v));

KeystoneEndpoint{id=9e4a3fa8e9e84b2599e6f36f64514643, interface=ADMIN, serviceId=e66987e88edc4e85890aa7ab9b39bff6, regionId=north, url=http://1.2.3.4:35357/v3, links={self=http://1.2.3.4:5000/v3/endpoints/9e4a3fa8e9e84b2599e6f36f64514643}, enabled=true}
KeystoneEndpoint{id=e00a7025a0d9438bbb1aa6cdbd53d5a5, interface=INTERNAL, serviceId=e66987e88edc4e85890aa7ab9b39bff6, regionId=north, url=http://1.2.3.4:5000/v3, links={self=http://1.2.3.4:5000/v3/endpoints/e00a7025a0d9438bbb1aa6cdbd53d5a5}, enabled=true}
KeystoneEndpoint{id=22e12d758c744628993495822f2c2240, interface=PUBLIC, serviceId=8da2bd7e1d8347cda99362d98cdd903e, regionId=north, url=http://1.2.3.4:8004/v1/$(tenant_id)s, links={self=http://1.2.3.4:5000/v3/endpoints/22e12d758c744628993495822f2c2240}, enabled=true}
KeystoneEndpoint{id=ea2bef4f3db145f5a47ea3a6769f799b, interface=PUBLIC, serviceId=28fb3ba17ac34f4c9cd1420b2b086709, regionId=north, url=http://1.2.3.4:8777/, links={self=http://1.2.3.4:5000/v3/endpoints/ea2bef4f3db145f5a47ea3a6769f799b}, enabled=true}
auhlig commented 7 years ago

Does the json-response contain these attributes?