Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Async refactor #141

Merged
merged 33 commits into from
Aug 27, 2013
Merged

Async refactor #141

merged 33 commits into from
Aug 27, 2013

Commits on Aug 16, 2013

  1. New artifacts for refactored async processes.

    Carlos A. Munoz committed Aug 16, 2013
    Configuration menu
    Copy the full SHA
    8a2eec1 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2013

  1. Configuration menu
    Copy the full SHA
    b4860c4 View commit details
    Browse the repository at this point in the history
  2. Add feature for async tasks to inherit the identity of the calling th…

    …read.
    Carlos A. Munoz committed Aug 18, 2013
    Configuration menu
    Copy the full SHA
    cb2511d View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2013

  1. Move copy trans to the new Async task framework.

    Carlos A. Munoz committed Aug 19, 2013
    Configuration menu
    Copy the full SHA
    7554ca8 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2013

  1. Configuration menu
    Copy the full SHA
    f323076 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2013

  1. Refactor the reindex process to use the new async task framework.

    Some issues with the original implementation still remain. This revision does not take care of them.
    Carlos A. Munoz committed Aug 21, 2013
    Configuration menu
    Copy the full SHA
    e61464e View commit details
    Browse the repository at this point in the history
  2. Rename AsyncHandle to AsyncTaskHandle.

    Carlos A. Munoz committed Aug 21, 2013
    Configuration menu
    Copy the full SHA
    1a3e26d View commit details
    Browse the repository at this point in the history
  3. Extract interface for new AsyncTaskManagerService class.

    Also change all direct uses of the implementation class to use the interface.
    Carlos A. Munoz committed Aug 21, 2013
    Configuration menu
    Copy the full SHA
    0325ea1 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2013

  1. Completely migrate remaining users to the new Async task framework.

    Refactored a few tests to conform to the new async framework.
    Carlos A. Munoz committed Aug 22, 2013
    Configuration menu
    Copy the full SHA
    8dc9549 View commit details
    Browse the repository at this point in the history
  2. Rewire Seam's Contexts static methods for Seam Autowire.

    Add javadoc to new async packages.
    carlosmunoz committed Aug 22, 2013
    Configuration menu
    Copy the full SHA
    b60ceb7 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2013

  1. Finish asynchronous task integration tests.

    Carlos A. Munoz committed Aug 23, 2013
    Configuration menu
    Copy the full SHA
    88d8ef3 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2013

  1. Organize imports on Copy Trans Manager.

    Carlos A. Munoz committed Aug 25, 2013
    Configuration menu
    Copy the full SHA
    0e786ff View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2013

  1. Rename async handle 'time' methods.

    Carlos A. Munoz committed Aug 26, 2013
    Configuration menu
    Copy the full SHA
    073e7ff View commit details
    Browse the repository at this point in the history
  2. Removing sorting by 'toString' i nthe Process manager action.

    Carlos A. Munoz committed Aug 26, 2013
    Configuration menu
    Copy the full SHA
    eace4aa View commit details
    Browse the repository at this point in the history
  3. Create different CopyTransTask implementations for different targets.

    Only for Document and Iteration so far, but could be extended to others i nthe future.
    Carlos A. Munoz committed Aug 26, 2013
    Configuration menu
    Copy the full SHA
    a5806f3 View commit details
    Browse the repository at this point in the history
  4. Add javadoc warning about direct use of TaskExecutor.

    Carlos A. Munoz committed Aug 26, 2013
    Configuration menu
    Copy the full SHA
    9e1cb7e View commit details
    Browse the repository at this point in the history
  5. Document AsyncTaskManagerService interface.

    Carlos A. Munoz committed Aug 26, 2013
    Configuration menu
    Copy the full SHA
    96b4b29 View commit details
    Browse the repository at this point in the history
  6. Rename AsyncTaskManagerServiceImpl internal class members.

    Carlos A. Munoz committed Aug 26, 2013
    Configuration menu
    Copy the full SHA
    f28ecb4 View commit details
    Browse the repository at this point in the history
  7. Add useful javadocs.

    Carlos A. Munoz committed Aug 26, 2013
    Configuration menu
    Copy the full SHA
    18dcb4d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e522f8d View commit details
    Browse the repository at this point in the history
  9. Remove unused @slf4j annotations.

    Carlos A. Munoz committed Aug 26, 2013
    Configuration menu
    Copy the full SHA
    b547912 View commit details
    Browse the repository at this point in the history
  10. Remove unused imports.

    Carlos A. Munoz committed Aug 26, 2013
    Configuration menu
    Copy the full SHA
    eeb6e1e View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    759ca73 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d65f05a View commit details
    Browse the repository at this point in the history
  13. Add javadoc on use of AsynchronousTaskExecutor.

    Carlos A. Munoz committed Aug 26, 2013
    Configuration menu
    Copy the full SHA
    235bba8 View commit details
    Browse the repository at this point in the history
  14. Change async process key generating algorithm to not reuse keys.

    Other minor name and documentation changes.
    Carlos A. Munoz committed Aug 26, 2013
    Configuration menu
    Copy the full SHA
    0981b7d View commit details
    Browse the repository at this point in the history
  15. Remove no-longer-used private class.

    Carlos A. Munoz committed Aug 26, 2013
    Configuration menu
    Copy the full SHA
    aa25dc0 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2013

  1. Remove unused variable.

    Carlos A. Munoz committed Aug 27, 2013
    Configuration menu
    Copy the full SHA
    42908c4 View commit details
    Browse the repository at this point in the history
  2. Add cancel methods to the AsyncTaskHandle.

    Still not sure about this duplication of cancel methods, but lets see how it goes.
    Carlos A. Munoz committed Aug 27, 2013
    Configuration menu
    Copy the full SHA
    edff342 View commit details
    Browse the repository at this point in the history
  3. Refactor methods.

    Carlos A. Munoz committed Aug 27, 2013
    Configuration menu
    Copy the full SHA
    bd7ab16 View commit details
    Browse the repository at this point in the history
  4. Refactor TimedAsyncHandle's getEstimatedTimeRemaining to return Optio…

    …nal now.
    
    Initally though about throwing an exception, but really the estimated time might be asked for even after the process has started, so it's not really suitable to throw an exception in that case. Returning an optional seems like the next best possibility.
    Carlos A. Munoz committed Aug 27, 2013
    Configuration menu
    Copy the full SHA
    1681e9a View commit details
    Browse the repository at this point in the history
  5. Merge remote-tracking branch 'origin/integration/master' into async-r…

    …efactor
    
    Conflicts:
    	zanata-war/src/main/java/org/zanata/action/TranslationMemoryAction.java
    	zanata-war/src/main/java/org/zanata/service/ProcessManagerService.java
    	zanata-war/src/main/java/org/zanata/service/impl/ProcessManagerServiceImpl.java
    Carlos A. Munoz committed Aug 27, 2013
    Configuration menu
    Copy the full SHA
    5848eab View commit details
    Browse the repository at this point in the history
  6. Fix manual merge compilation errors.

    Make sure the translation memory uses of the async classes is working properly.
    Carlos A. Munoz committed Aug 27, 2013
    Configuration menu
    Copy the full SHA
    af938bc View commit details
    Browse the repository at this point in the history