-
Notifications
You must be signed in to change notification settings - Fork 38
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
Support querying workflows from both main tables and archive. #381
Merged
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
3 similar comments
efonsell
reviewed
Feb 19, 2020
nflow-engine/src/main/java/io/nflow/engine/internal/dao/WorkflowInstanceDao.java
Outdated
Show resolved
Hide resolved
ee4da73
to
0ecd200
Compare
efonsell
reviewed
Feb 22, 2020
nflow-engine/src/main/java/io/nflow/engine/service/WorkflowInstanceService.java
Show resolved
Hide resolved
efonsell
reviewed
Feb 22, 2020
nflow-rest-api-common/src/main/java/io/nflow/rest/v1/msg/ListWorkflowInstanceResponse.java
Outdated
Show resolved
Hide resolved
efonsell
reviewed
Feb 22, 2020
nflow-rest-api-jax-rs/src/main/java/io/nflow/rest/v1/jaxrs/WorkflowInstanceResource.java
Outdated
Show resolved
Hide resolved
f235090
to
29f4b47
Compare
efonsell
reviewed
Mar 8, 2020
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.
- Querying archive tables should be configurable in nflow-explorer/src/config.js
- Default should be false
- It would be nice to be able to change the setting in Explorer UI (selected value stored in local storage)
efonsell
reviewed
Mar 8, 2020
nflow-tests/src/test/java/io/nflow/tests/MaintenanceWorkflowTest.java
Outdated
Show resolved
Hide resolved
efonsell
reviewed
Mar 10, 2020
efonsell
reviewed
Mar 10, 2020
efonsell
requested changes
Apr 20, 2020
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.
- Add tests for WorkfowInstanceDao to check that queryArchive is obeyed
- config for queryArchive is missing from Explorer?
nflow-engine/src/main/java/io/nflow/engine/internal/dao/WorkflowInstanceDao.java
Outdated
Show resolved
Hide resolved
nflow-engine/src/main/java/io/nflow/engine/internal/dao/WorkflowInstanceDao.java
Outdated
Show resolved
Hide resolved
...w-rest-api-spring-web/src/main/java/io/nflow/rest/v1/springweb/WorkflowInstanceResource.java
Outdated
Show resolved
Hide resolved
nflow-rest-api-jax-rs/src/main/java/io/nflow/rest/v1/jaxrs/WorkflowInstanceResource.java
Outdated
Show resolved
Hide resolved
...w-rest-api-spring-web/src/main/java/io/nflow/rest/v1/springweb/WorkflowInstanceResource.java
Outdated
Show resolved
Hide resolved
nflow-rest-api-jax-rs/src/main/java/io/nflow/rest/v1/jaxrs/WorkflowInstanceResource.java
Outdated
Show resolved
Hide resolved
nflow-tests/src/test/java/io/nflow/tests/MaintenanceWorkflowTest.java
Outdated
Show resolved
Hide resolved
e74ce27
to
197d815
Compare
* Stream results out of rest api, lowering latency to first item. The main table query is still done synchronously, but additional queries are done on the stream lowering latency * Performance is only lightly improved due to lower memory usage
…workflow query results out of rest api, which makes it faster
Co-authored-by: Edvard Fonsell <edvard.fonsell@nitor.com>
Co-authored-by: Edvard Fonsell <edvard.fonsell@nitor.com>
…orkflowInstanceResponse.java Co-authored-by: Edvard Fonsell <edvard.fonsell@nitor.com>
…ase.java Co-authored-by: Edvard Fonsell <edvard.fonsell@nitor.com>
Co-authored-by: Edvard Fonsell <edvard.fonsell@nitor.com>
…orkflowInstance.java Co-authored-by: Edvard Fonsell <edvard.fonsell@nitor.com>
…orkflowInstance.java Co-authored-by: Edvard Fonsell <edvard.fonsell@nitor.com>
Co-authored-by: Edvard Fonsell <edvard.fonsell@nitor.com>
Co-authored-by: Edvard Fonsell <edvard.fonsell@nitor.com>
ae7257c
to
4724e9e
Compare
…uplicate from the helper method
efonsell
approved these changes
Jan 24, 2022
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.
Ok for me now
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.
No description provided.