public static String getDataSourceDefinitions(String plugin, String service, String method, boolean forceRefresh) throws Exception {
IPluginCall pluginCall = PluginEnvironment.env().getPluginCall( plugin, null, method );
CallParameters params = new CallParameters();
params.put( "refreshCache", forceRefresh );
return pluginCall.call( params.getParameters() );
}
public static String getCdfContext(String dashboard, String action, String viewId) throws Exception {
CallParameters params = new CallParameters();
params.put("path", dashboard);