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

Grad release 1.10.0 #446

Merged
merged 22 commits into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
cc8deee
GRAD2-1893
arybakov-cgi Sep 13, 2023
d854b06
GRAD2-1893
arybakov-cgi Sep 14, 2023
b134875
GRAD2-1869
arybakov-cgi Oct 2, 2023
813035e
Merge branch 'grad-release' of https://github.com/bcgov/EDUC-GRAD-BAT…
arybakov-cgi Nov 6, 2023
0b03c09
Merge pull request #429 from bcgov/develop/alex-GRAD2-1893
arybakov-cgi Nov 6, 2023
c8a42b7
Merge pull request #438 from bcgov/develop/alex-GRAD2-1869
arybakov-cgi Nov 6, 2023
e015ee6
Added filters to monthly distribution by studentID
arybakov-cgi Nov 6, 2023
bfc3a81
GRAD2-2339
arybakov-cgi Nov 6, 2023
77db3e3
Merge pull request #442 from bcgov/develop/alex-GRAD2-2339-2
kamal-mohammed Nov 7, 2023
196339c
GRAD2-2395: task is complete
infstar Nov 8, 2023
8e48b6a
Removed code smells by sonar code quality.
infstar Nov 8, 2023
d936d6c
Memory optimization for docker image to make GC active once 3GB is hi…
infstar Nov 8, 2023
bb31e1a
More memory optimization: revert openshift changes for memory.
infstar Nov 9, 2023
f39c1e1
Removed the unused git action script.
infstar Nov 9, 2023
e98831c
Revert async way to launch scheduled batch jobs.
infstar Nov 10, 2023
ca76182
Merge pull request #443 from bcgov/feature/GRAD2-2395
kamal-mohammed Nov 10, 2023
a245ec5
GRAD2-2396: task is complete.
infstar Nov 14, 2023
eb2d217
GRAD2-2396: LockAssert is added for the scheduled job invoked by asyn…
infstar Nov 14, 2023
c44a6b0
Merge pull request #444 from bcgov/feature/GRAD2-2396
kamal-mohammed Nov 14, 2023
3a6ba15
User Request Blank Certificate Adult Dogwood to Advanced Education fail
arybakov-cgi Nov 15, 2023
c06c067
Merge pull request #445 from bcgov/develop/alex-GRAD2-1869-2
kamal-mohammed Nov 15, 2023
748f5d4
Update pom.xml
kamal-mohammed Nov 16, 2023
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
129 changes: 0 additions & 129 deletions .github/workflows/deploy.to.dev.jinil.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ARG DEPENDENCY=/workspace/app/target/dependency
COPY --from=build ${DEPENDENCY}/BOOT-INF/lib /app/lib
COPY --from=build ${DEPENDENCY}/META-INF /app/META-INF
COPY --from=build ${DEPENDENCY}/BOOT-INF/classes /app
ENTRYPOINT ["java","-Duser.name=EDUC_GRAD_BATCH_GRADUATION_API","-Xms4000m","-Xmx4000m","-noverify","-XX:TieredStopAtLevel=1",\
ENTRYPOINT ["java","-Duser.name=EDUC_GRAD_BATCH_GRADUATION_API","-Xms3000m","-Xmx3800m","-noverify","-XX:TieredStopAtLevel=1",\
"-XX:+UseParallelGC","-XX:MinHeapFreeRatio=20","-XX:MaxHeapFreeRatio=40","-XX:GCTimeRatio=4",\
"-XX:AdaptiveSizePolicyWeight=90","-XX:MaxMetaspaceSize=500m","-XX:ParallelGCThreads=1",\
"-Djava.util.concurrent.ForkJoinPool.common.parallelism=1","-XX:CICompilerCount=2",\
Expand Down
2 changes: 1 addition & 1 deletion api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>ca.bc.gov.educ</groupId>
<artifactId>educ-grad-batch-graduation-api</artifactId>
<version>1.8.50</version>
<version>1.8.53</version>
<name>educ-grad-batch-graduation-api</name>
<description>Ministry of Education GRAD BATCH GRADUATION API</description>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
package ca.bc.gov.educ.api.batchgraduation.config;

import ca.bc.gov.educ.api.batchgraduation.util.EducGradBatchGraduationApiConstants;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import org.springframework.core.task.SimpleAsyncTaskExecutor;
import org.springframework.core.task.TaskExecutor;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;

@Configuration
@EnableAsync
@Profile("!test")
public class AsyncConfig {
@Bean(name = "asyncExecutor")
public TaskExecutor asyncExecutor(EducGradBatchGraduationApiConstants constants) {
ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor();
executor.setCorePoolSize(constants.getNumberOfPartitions());
executor.setMaxPoolSize(constants.getNumberOfPartitions());
executor.setThreadNamePrefix("async-");
executor.initialize();
return executor;
public TaskExecutor asyncExecutor() {
return new SimpleAsyncTaskExecutor("async-");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class BatchConfig {
public JobLauncher asyncJobLauncher(JobRepository jobRepository) throws Exception {
TaskExecutorJobLauncher jobLauncher = new TaskExecutorJobLauncher();
jobLauncher.setJobRepository(jobRepository);
jobLauncher.setTaskExecutor(new SimpleAsyncTaskExecutor());
jobLauncher.setTaskExecutor(new SimpleAsyncTaskExecutor("asyncTask-"));
jobLauncher.afterPropertiesSet();
return jobLauncher;
}
Expand Down
Loading
Loading