Java implementation of API calls for ingress