use of org.teiid.resource.adapter.google.dataprotocol.GoogleDataProtocolAPI in project teiid by teiid.
the class SpreadsheetDataRetrievalTest method prepareGoogleData.
@BeforeClass
public static void prepareGoogleData() {
dataProtocol = new GoogleDataProtocolAPI();
OAuth2HeaderFactory headerFactory = new OAuth2HeaderFactory(refreshToken);
// headerFactory.login();
dataProtocol.setHeaderFactory(headerFactory);
gdata = new GDataClientLoginAPI();
gdata.setHeaderFactory(headerFactory);
}
Aggregations