public MonitoringRules getMonitoringRulesByTemplateId ( String monitoringRuleTemplateId ) { return getJerseyClient ( ) . target ( getEndpoint ( ) + "/planner/monitoringrules/" + monitoringRuleTemplateId ) . request ( ) . buildGet ( ) . invoke ( ) . readEntity ( MonitoringRules . class ) ; }
Creates proxied HTTP GET request to SeaClouds Planner which returns the monitoring rules according to the template id