Skip to content
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

Feat (Core): Migrate import contentlets action to job processor - Feedback improvements #30617

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
a14fe51
#29498 Refactor watcher registration and content import logic
jgambarios Nov 4, 2024
8db5e6d
#29498 Add job cancel request handling and job state updates
jgambarios Nov 5, 2024
543656c
#29498 Add caching for job states and job progress updates
jgambarios Nov 6, 2024
cc95b7b
#29498 Add content type validation and exception handling
jgambarios Nov 6, 2024
4e8d318
Merge remote-tracking branch 'origin/main' into issue-29498-migrate-I…
jgambarios Nov 7, 2024
d3ccbd3
#29498 Adding support for using language iso code in the language par…
jgambarios Nov 7, 2024
4e3ee0d
#29498 Error handling improvements for the server sent events we use …
jgambarios Nov 8, 2024
718daad
#29498 Adjusting tests to the recent changes
jgambarios Nov 9, 2024
7a1b2da
Merge remote-tracking branch 'origin/main' into issue-29498-migrate-I…
jgambarios Nov 9, 2024
4e0d89c
#29498 Reverting changes in LanguageFactoryImpl, leaving exactly as i…
jgambarios Nov 11, 2024
bce73b1
Adding support for using language iso code in the language parameter.
jgambarios Nov 11, 2024
67162b2
Merge remote-tracking branch 'origin/main' into issue-29498-migrate-I…
jgambarios Nov 11, 2024
c99a4fa
#29498 Applying PR feedback.
jgambarios Nov 11, 2024
d04f7df
#29498 Improving postman tests
jgambarios Nov 11, 2024
104b5ee
Merge remote-tracking branch 'origin/main' into issue-29498-migrate-I…
jgambarios Nov 11, 2024
5f6cd7f
Merge remote-tracking branch 'origin/main' into issue-29498-migrate-I…
jgambarios Nov 12, 2024
be97d64
#29498 Improving postman tests
jgambarios Nov 12, 2024
c376421
#29498 Improving postman tests
jgambarios Nov 12, 2024
8a1c57f
Merge remote-tracking branch 'origin/main' into issue-29498-migrate-I…
jgambarios Nov 12, 2024
8977a5f
#29498 Fixing tests
jgambarios Nov 12, 2024
a26feb7
Merge remote-tracking branch 'origin/main' into issue-29498-migrate-I…
jgambarios Nov 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class JobQueueConfigProducer {

// The interval in milliseconds to poll for job updates.
static final int DEFAULT_POLL_JOB_UPDATES_INTERVAL_MILLISECONDS = Config.getIntProperty(
"JOB_QUEUE_POLL_JOB_UPDATES_INTERVAL_MILLISECONDS", 1000
"JOB_QUEUE_POLL_JOB_UPDATES_INTERVAL_MILLISECONDS", 3000
);

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import com.dotcms.jobs.business.job.JobPaginatedResult;
import com.dotcms.jobs.business.processor.JobProcessor;
import com.dotcms.jobs.business.queue.JobQueue;
import com.dotcms.jobs.business.queue.error.JobQueueDataException;
import com.dotmarketing.exception.DotDataException;
import java.util.Map;
import java.util.Optional;
Expand Down Expand Up @@ -94,10 +93,10 @@ String createJob(String queueName, Map<String, Object> parameters)
* @param page The page number
* @param pageSize The number of jobs per page
* @return A result object containing the list of active jobs and pagination information.
* @throws JobQueueDataException if there's an error fetching the jobs
* @throws DotDataException if there's an error fetching the jobs
*/
JobPaginatedResult getActiveJobs(String queueName, int page, int pageSize)
throws JobQueueDataException;
throws DotDataException;

/**
* Retrieves a list of jobs.
Expand All @@ -115,39 +114,39 @@ JobPaginatedResult getActiveJobs(String queueName, int page, int pageSize)
* @param page The page number
* @param pageSize The number of jobs per page
* @return A result object containing the list of active jobs and pagination information.
* @throws JobQueueDataException if there's an error fetching the jobs
* @throws DotDataException if there's an error fetching the jobs
*/
JobPaginatedResult getActiveJobs(int page, int pageSize) throws JobQueueDataException;
JobPaginatedResult getActiveJobs(int page, int pageSize) throws DotDataException;

/**
* Retrieves a list of completed jobs
*
* @param page The page number
* @param pageSize The number of jobs per page
* @return A result object containing the list of completed jobs and pagination information.
* @throws JobQueueDataException if there's an error fetching the jobs
* @throws DotDataException if there's an error fetching the jobs
*/
JobPaginatedResult getCompletedJobs(int page, int pageSize) throws JobQueueDataException;
JobPaginatedResult getCompletedJobs(int page, int pageSize) throws DotDataException;

/**
* Retrieves a list of canceled jobs
*
* @param page The page number
* @param pageSize The number of jobs per page
* @return A result object containing the list of canceled jobs and pagination information.
* @throws JobQueueDataException if there's an error fetching the jobs
* @throws DotDataException if there's an error fetching the jobs
*/
JobPaginatedResult getCanceledJobs(int page, int pageSize) throws JobQueueDataException;
JobPaginatedResult getCanceledJobs(int page, int pageSize) throws DotDataException;

/**
* Retrieves a list of failed jobs
*
* @param page The page number
* @param pageSize The number of jobs per page
* @return A result object containing the list of failed jobs and pagination information.
* @throws JobQueueDataException if there's an error fetching the jobs
* @throws DotDataException if there's an error fetching the jobs
*/
JobPaginatedResult getFailedJobs(int page, int pageSize) throws JobQueueDataException;
JobPaginatedResult getFailedJobs(int page, int pageSize) throws DotDataException;

/**
* Cancels a job.
Expand Down
Loading