Skip to content

Instantly share code, notes, and snippets.

@edengal
Created July 17, 2019 08:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edengal/77127fd009d74542b5b58e976aeaa4a9 to your computer and use it in GitHub Desktop.
Save edengal/77127fd009d74542b5b58e976aeaa4a9 to your computer and use it in GitHub Desktop.
public boolean transform(String outputDir, String timbermillParentId) throws InterruptedException {
String id = TimberLogger.start("transform", timbermillParentId, LogParams.create().text("outputhDir", outputDir));
boolean isAuthorized = authorized(id);
runTransformation();
boolean isSuccess = persistToDisk(outputDir);
TimberLogger.success();
return isSuccess;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment