-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SO-2178-job-api #132
Merged
Merged
SO-2178-job-api #132
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Remove repository specific notification and request bus addresses. Introduce new global /notifications and /requests bus addresses. Introduce global ObjectMapper instance.
Add CANCELLED end state to RemoteJobState. Convert RemoteJobEntry to immutable object.
Rename RemoteJobStore to RemoteJobTracker. Add deleted flag to RemoteJobEntry. Search returns only not deleted jobs. Use search API in GetJobRequest.
...marked for deletion
...to track progress of remote jobs
Make Request a functional interface. Resolve return type information reflectively using typetools library.
Remove BaseRequest abstract base class reference. Remove getReturnType implementations.
Conflicts: core/com.b2international.snowowl.datastore.server/src/com/b2international/snowowl/datastore/server/internal/merge/BranchMergeJob.java core/com.b2international.snowowl.datastore.server/src/com/b2international/snowowl/datastore/server/internal/merge/BranchRebaseJob.java snomed/com.b2international.snowowl.snomed.datastore/src/com/b2international/snowowl/snomed/datastore/request/SnomedRefSetCreateRequest.java snomed/com.b2international.snowowl.snomed.datastore/src/com/b2international/snowowl/snomed/datastore/request/SnomedRefSetMemberCreateRequest.java snomed/com.b2international.snowowl.snomed.datastore/src/com/b2international/snowowl/snomed/datastore/request/SnomedRefSetMemberUpdateRequest.java
...exists for them to extract information from.
...if the corresponding reference set is removed, leaving the identifier concept behind.
...methods in SnomedEditingContext#delete(EObject, boolean)
...via Repository.notifications()
...instead of custom event bus handler
...JsonIgnore annotations to the lock context description and additional concept definitions properties; change branch path to a String
Conflicts: core/com.b2international.snowowl.core/src/com/b2international/snowowl/core/events/BaseRequest.java core/com.b2international.snowowl.datastore/src/com/b2international/snowowl/datastore/request/BaseResourceRequestBuilder.java core/com.b2international.snowowl.datastore/src/com/b2international/snowowl/datastore/request/RevisionSearchRequestBuilder.java snomed/com.b2international.snowowl.snomed.datastore/src/com/b2international/snowowl/snomed/datastore/request/SnomedRequests.java snomed/com.b2international.snowowl.snomed.datastore/src/com/b2international/snowowl/snomed/datastore/request/SnomedSearchRequestBuilder.java
Remove branching/merging/reviews API access methods from SnomedRequests. They are available via RepositoryRequests.
This reverts commit 80b8ea3.
...in SnomedClassificationServiceImpl
apeteri
approved these changes
Mar 3, 2017
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider making ApiError
a generic status response. Looks good otherwise!
👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introduce request based job API.
The implementation allows any Request to be wrapped into a job to monitor its execution.
Major changes:
Minor changes/fixes: