google / data-transfer-project

The Data Transfer Project makes it easy for people to transfer their data between online service providers. We are establishing a common framework, including data models and protocols, to enable direct transfer of data both into and out of participating online service providers.

Home Page:http://datatransferproject.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

automate DTP's injection of auto-converters so extensions don't have to do this

jzacsh opened this issue · comments

for context, see the TODO on lines of extensions/data-transfer/portability-data-transfer-microsoft/src/main/java/org/datatransferproject/transfer/microsoft/MicrosoftTransferExtension.java in https://github.com/google/data-transfer-project/pull/1062/files inlined below:

  // TODO(jzacsh,wmorland) don't keep adding here - just have the converters invoked automatically
  // when Media isn't supported on one or the other side of this equation; this is just a WIP
  // prototype to show the concept of converters at play.
  private static final ImmutableList<String> SUPPORTED_IMPORT_SERVICES =
      ImmutableList.of(CALENDAR, CONTACTS, PHOTOS, MEDIA);