Permalink
Browse files

Move pagage/folders to new (org.datatransferproject) domain name (#466)

Merging before additional changes get pushed.
  • Loading branch information...
bwillard authored and holachuy committed Jul 10, 2018
1 parent 23cbe10 commit 8fbeadf3ef7ac47d489abac1c9862d300d9a89b6
Showing 421 changed files with 1,582 additions and 1,582 deletions.
@@ -66,7 +66,7 @@ dependencies {
addCloudExtensionDependency(project)
mainClassName = 'org.dataportabilityproject.api.ApiMain'
mainClassName = 'org.datatransferproject.api.ApiMain'
task copyIndexHtml(type: Copy) {
description = 'Copies index.html into the jar'
@@ -66,7 +66,7 @@ dependencies {
addCloudExtensionDependency(project)
mainClassName = 'org.dataportabilityproject.transfer.WorkerMain'
mainClassName = 'org.datatransferproject.transfer.WorkerMain'
task copyEnvConfig(type: Copy) {
description = 'Copies environment-specific configuration into the jar'
@@ -105,7 +105,7 @@ task createApiFile() {
}
mainClassName = 'org.dataportabilityproject.bootstrap.vm.SingleVMMain'
mainClassName = 'org.datatransferproject.bootstrap.vm.SingleVMMain'
// TODO: refactor this to base build.gradle so other distros (like demo-google-deployment) may use
shadowJar {
@@ -36,7 +36,7 @@ dependencies {
addCloudExtensionDependency(project)
mainClassName = 'org.dataportabilityproject.api.ApiMain'
mainClassName = 'org.datatransferproject.api.ApiMain'
shadowJar {
mergeServiceFiles()
@@ -35,7 +35,7 @@ dependencies {
addCloudExtensionDependency(project)
mainClassName = 'org.dataportabilityproject.transfer.WorkerMain'
mainClassName = 'org.datatransferproject.transfer.WorkerMain'
shadowJar {
mergeServiceFiles()
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dataportabilityproject.auth.flickr;
package org.datatransferproject.auth.flickr;
import com.flickr4java.flickr.Flickr;
import com.flickr4java.flickr.FlickrException;
@@ -23,11 +23,11 @@
import com.flickr4java.flickr.auth.Permission;
import com.google.common.base.Preconditions;
import com.google.common.base.Strings;
import org.dataportabilityproject.spi.api.auth.AuthDataGenerator;
import org.dataportabilityproject.spi.api.types.AuthFlowConfiguration;
import org.dataportabilityproject.types.transfer.auth.AppCredentials;
import org.dataportabilityproject.types.transfer.auth.AuthData;
import org.dataportabilityproject.types.transfer.auth.TokenSecretAuthData;
import org.datatransferproject.spi.api.auth.AuthDataGenerator;
import org.datatransferproject.spi.api.types.AuthFlowConfiguration;
import org.datatransferproject.types.transfer.auth.AppCredentials;
import org.datatransferproject.types.transfer.auth.AuthData;
import org.datatransferproject.types.transfer.auth.TokenSecretAuthData;
import org.scribe.model.Token;
import org.scribe.model.Verifier;
import org.slf4j.Logger;
@@ -14,17 +14,17 @@
* limitations under the License.
*/
package org.dataportabilityproject.auth.flickr;
package org.datatransferproject.auth.flickr;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableList;
import java.io.IOException;
import java.util.List;
import org.dataportabilityproject.api.launcher.ExtensionContext;
import org.dataportabilityproject.spi.cloud.storage.AppCredentialStore;
import org.dataportabilityproject.spi.api.auth.AuthDataGenerator;
import org.dataportabilityproject.spi.api.auth.AuthServiceProviderRegistry;
import org.dataportabilityproject.spi.api.auth.extension.AuthServiceExtension;
import org.datatransferproject.api.launcher.ExtensionContext;
import org.datatransferproject.spi.cloud.storage.AppCredentialStore;
import org.datatransferproject.spi.api.auth.AuthDataGenerator;
import org.datatransferproject.spi.api.auth.AuthServiceProviderRegistry;
import org.datatransferproject.spi.api.auth.extension.AuthServiceExtension;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1 @@
org.datatransferproject.auth.flickr.FlickrAuthServiceExtension
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dataportabilityproject.auth.flickr;
package org.datatransferproject.auth.flickr;
class FlickrAuthDataGeneratorTest {
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.dataportabilityproject.auth.google;
package org.datatransferproject.auth.google;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.api.client.auth.oauth2.AuthorizationCodeFlow;
@@ -34,12 +34,12 @@
import java.io.IOException;
import java.util.List;
import java.util.Map;
import org.dataportabilityproject.spi.api.auth.AuthDataGenerator;
import org.dataportabilityproject.spi.api.auth.AuthServiceProviderRegistry.AuthMode;
import org.dataportabilityproject.spi.api.types.AuthFlowConfiguration;
import org.dataportabilityproject.types.transfer.auth.AppCredentials;
import org.dataportabilityproject.types.transfer.auth.AuthData;
import org.dataportabilityproject.types.transfer.auth.TokensAndUrlAuthData;
import org.datatransferproject.spi.api.auth.AuthDataGenerator;
import org.datatransferproject.spi.api.auth.AuthServiceProviderRegistry.AuthMode;
import org.datatransferproject.spi.api.types.AuthFlowConfiguration;
import org.datatransferproject.types.transfer.auth.AppCredentials;
import org.datatransferproject.types.transfer.auth.AuthData;
import org.datatransferproject.types.transfer.auth.TokensAndUrlAuthData;
/**
* Provides configuration for conducting an OAuth flow against the Google AD API. Returned tokens
* can be used to make requests against the Google Graph API.
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.dataportabilityproject.auth.google;
package org.datatransferproject.auth.google;
import com.google.api.client.http.HttpTransport;
import com.google.common.base.Preconditions;
@@ -22,13 +22,13 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.dataportabilityproject.api.launcher.ExtensionContext;
import org.dataportabilityproject.api.launcher.TypeManager;
import org.dataportabilityproject.spi.cloud.storage.AppCredentialStore;
import org.dataportabilityproject.spi.api.auth.AuthDataGenerator;
import org.dataportabilityproject.spi.api.auth.AuthServiceProviderRegistry.AuthMode;
import org.dataportabilityproject.spi.api.auth.extension.AuthServiceExtension;
import org.dataportabilityproject.types.transfer.auth.AppCredentials;
import org.datatransferproject.api.launcher.ExtensionContext;
import org.datatransferproject.api.launcher.TypeManager;
import org.datatransferproject.spi.cloud.storage.AppCredentialStore;
import org.datatransferproject.spi.api.auth.AuthDataGenerator;
import org.datatransferproject.spi.api.auth.AuthServiceProviderRegistry.AuthMode;
import org.datatransferproject.spi.api.auth.extension.AuthServiceExtension;
import org.datatransferproject.types.transfer.auth.AppCredentials;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -14,4 +14,4 @@
* limitations under the License.
*/
/** Implements importers and exporters for Google services. */
package org.dataportabilityproject.auth.google;
package org.datatransferproject.auth.google;

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1 @@
org.datatransferproject.auth.google.GoogleAuthServiceExtension
@@ -1,10 +1,10 @@
package org.dataportabilityproject.auth.google;
package org.datatransferproject.auth.google;
import com.google.api.client.http.HttpTransport;
import com.google.api.services.calendar.CalendarScopes;
import org.dataportabilityproject.spi.api.auth.AuthServiceProviderRegistry.AuthMode;
import org.dataportabilityproject.spi.api.types.AuthFlowConfiguration;
import org.dataportabilityproject.types.transfer.auth.AppCredentials;
import org.datatransferproject.spi.api.auth.AuthServiceProviderRegistry.AuthMode;
import org.datatransferproject.spi.api.types.AuthFlowConfiguration;
import org.datatransferproject.types.transfer.auth.AppCredentials;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -1,4 +1,4 @@
package org.dataportabilityproject.auth.microsoft.harness;
package org.datatransferproject.auth.microsoft.harness;
import static java.lang.System.getProperty;
@@ -11,10 +11,10 @@
import okhttp3.Request;
import okhttp3.Response;
import okhttp3.ResponseBody;
import org.dataportabilityproject.auth.microsoft.MicrosoftAuthDataGenerator;
import org.dataportabilityproject.spi.api.auth.AuthServiceProviderRegistry.AuthMode;
import org.dataportabilityproject.spi.api.types.AuthFlowConfiguration;
import org.dataportabilityproject.types.transfer.auth.TokenAuthData;
import org.datatransferproject.auth.microsoft.MicrosoftAuthDataGenerator;
import org.datatransferproject.spi.api.auth.AuthServiceProviderRegistry.AuthMode;
import org.datatransferproject.spi.api.types.AuthFlowConfiguration;
import org.datatransferproject.types.transfer.auth.TokenAuthData;
/** */
public class AuthTestDriver {
@@ -1,4 +1,4 @@
package org.dataportabilityproject.auth.microsoft.harness;
package org.datatransferproject.auth.microsoft.harness;
import java.security.SecureRandom;
import java.security.cert.X509Certificate;
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.dataportabilityproject.auth.instagram;
package org.datatransferproject.auth.instagram;
import com.google.api.client.auth.oauth2.AuthorizationCodeFlow;
import com.google.api.client.auth.oauth2.BearerToken;
@@ -30,12 +30,12 @@
import com.google.common.io.BaseEncoding;
import java.io.IOException;
import java.util.List;
import org.dataportabilityproject.spi.api.auth.AuthDataGenerator;
import org.dataportabilityproject.spi.api.auth.AuthServiceProviderRegistry.AuthMode;
import org.dataportabilityproject.spi.api.types.AuthFlowConfiguration;
import org.dataportabilityproject.types.transfer.auth.AppCredentials;
import org.dataportabilityproject.types.transfer.auth.AuthData;
import org.dataportabilityproject.types.transfer.auth.TokensAndUrlAuthData;
import org.datatransferproject.spi.api.auth.AuthDataGenerator;
import org.datatransferproject.spi.api.auth.AuthServiceProviderRegistry.AuthMode;
import org.datatransferproject.spi.api.types.AuthFlowConfiguration;
import org.datatransferproject.types.transfer.auth.AppCredentials;
import org.datatransferproject.types.transfer.auth.AuthData;
import org.datatransferproject.types.transfer.auth.TokensAndUrlAuthData;
public class InstagramAuthDataGenerator implements AuthDataGenerator {
private static final String CALLBACK_PATH = "/callback/instagram";
@@ -13,19 +13,19 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.dataportabilityproject.auth.instagram;
package org.datatransferproject.auth.instagram;
import com.google.api.client.http.HttpTransport;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableList;
import java.io.IOException;
import java.util.List;
import org.dataportabilityproject.api.launcher.ExtensionContext;
import org.dataportabilityproject.spi.api.auth.AuthDataGenerator;
import org.dataportabilityproject.spi.api.auth.AuthServiceProviderRegistry.AuthMode;
import org.dataportabilityproject.spi.api.auth.extension.AuthServiceExtension;
import org.dataportabilityproject.spi.cloud.storage.AppCredentialStore;
import org.dataportabilityproject.types.transfer.auth.AppCredentials;
import org.datatransferproject.api.launcher.ExtensionContext;
import org.datatransferproject.spi.api.auth.AuthDataGenerator;
import org.datatransferproject.spi.api.auth.AuthServiceProviderRegistry.AuthMode;
import org.datatransferproject.spi.api.auth.extension.AuthServiceExtension;
import org.datatransferproject.spi.cloud.storage.AppCredentialStore;
import org.datatransferproject.types.transfer.auth.AppCredentials;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1 @@
org.datatransferproject.auth.instagram.InstagramAuthServiceExtension
@@ -13,14 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.dataportabilityproject.auth.instagram;
package org.datatransferproject.auth.instagram;
import static com.google.common.truth.Truth.assertThat;
import static org.junit.Assert.assertNull;
import com.google.api.client.http.HttpTransport;
import org.dataportabilityproject.spi.api.types.AuthFlowConfiguration;
import org.dataportabilityproject.types.transfer.auth.AppCredentials;
import org.datatransferproject.spi.api.types.AuthFlowConfiguration;
import org.datatransferproject.types.transfer.auth.AppCredentials;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -1,4 +1,4 @@
package org.dataportabilityproject.auth.microsoft;
package org.datatransferproject.auth.microsoft;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.base.Preconditions;
@@ -11,11 +11,11 @@
import okhttp3.RequestBody;
import okhttp3.Response;
import okhttp3.ResponseBody;
import org.dataportabilityproject.spi.api.auth.AuthDataGenerator;
import org.dataportabilityproject.spi.api.auth.AuthServiceProviderRegistry.AuthMode;
import org.dataportabilityproject.spi.api.types.AuthFlowConfiguration;
import org.dataportabilityproject.types.transfer.auth.AuthData;
import org.dataportabilityproject.types.transfer.auth.TokenAuthData;
import org.datatransferproject.spi.api.auth.AuthDataGenerator;
import org.datatransferproject.spi.api.auth.AuthServiceProviderRegistry.AuthMode;
import org.datatransferproject.spi.api.types.AuthFlowConfiguration;
import org.datatransferproject.types.transfer.auth.AuthData;
import org.datatransferproject.types.transfer.auth.TokenAuthData;
import java.io.IOException;
import java.util.List;
@@ -13,18 +13,18 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.dataportabilityproject.auth.microsoft;
package org.datatransferproject.auth.microsoft;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableList;
import okhttp3.OkHttpClient;
import org.dataportabilityproject.api.launcher.ExtensionContext;
import org.dataportabilityproject.spi.api.auth.AuthDataGenerator;
import org.dataportabilityproject.spi.api.auth.AuthServiceProviderRegistry.AuthMode;
import org.dataportabilityproject.spi.api.auth.extension.AuthServiceExtension;
import org.dataportabilityproject.spi.cloud.storage.AppCredentialStore;
import org.dataportabilityproject.types.transfer.auth.AppCredentials;
import org.datatransferproject.api.launcher.ExtensionContext;
import org.datatransferproject.spi.api.auth.AuthDataGenerator;
import org.datatransferproject.spi.api.auth.AuthServiceProviderRegistry.AuthMode;
import org.datatransferproject.spi.api.auth.extension.AuthServiceExtension;
import org.datatransferproject.spi.cloud.storage.AppCredentialStore;
import org.datatransferproject.types.transfer.auth.AppCredentials;
import java.io.IOException;
import java.util.HashMap;
@@ -1,4 +1,4 @@
package org.dataportabilityproject.auth.microsoft;
package org.datatransferproject.auth.microsoft;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
@@ -14,4 +14,4 @@
* limitations under the License.
*/
/** Implements importers and exporters for Google services. */
package org.dataportabilityproject.auth.microsoft;
package org.datatransferproject.auth.microsoft;

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1 @@
org.datatransferproject.auth.microsoft.MicrosoftAuthServiceExtension
@@ -1,4 +1,4 @@
package org.dataportabilityproject.auth.microsoft;
package org.datatransferproject.auth.microsoft;
import org.junit.Assert;
import org.junit.Test;
@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.dataportabilityproject.auth.offline;
package org.datatransferproject.auth.offline;
import org.dataportabilityproject.spi.api.auth.AuthDataGenerator;
import org.dataportabilityproject.spi.api.types.AuthFlowConfiguration;
import org.dataportabilityproject.types.transfer.auth.AuthData;
import org.dataportabilityproject.types.transfer.auth.TokenAuthData;
import org.datatransferproject.spi.api.auth.AuthDataGenerator;
import org.datatransferproject.spi.api.types.AuthFlowConfiguration;
import org.datatransferproject.types.transfer.auth.AuthData;
import org.datatransferproject.types.transfer.auth.TokenAuthData;
/**
* Generates authentication data for the offline data demo importer.
Oops, something went wrong.

0 comments on commit 8fbeadf

Please sign in to comment.