diff --git a/.github/workflows/build.from.developer.branch.deploy.to.dev.yml b/.github/workflows/build.from.developer.branch.deploy.to.dev.yml index fed643e1..ca249423 100644 --- a/.github/workflows/build.from.developer.branch.deploy.to.dev.yml +++ b/.github/workflows/build.from.developer.branch.deploy.to.dev.yml @@ -27,7 +27,7 @@ env: MAX_CPU: "300m" MIN_MEM: "1024Mi" MAX_MEM: "4Gi" - MIN_REPLICAS: "3" + MIN_REPLICAS: "2" MAX_REPLICAS: "3" on: diff --git a/.github/workflows/build.from.main.branch.deploy.to.dev.yml b/.github/workflows/build.from.main.branch.deploy.to.dev.yml index 491a45eb..2379fb73 100644 --- a/.github/workflows/build.from.main.branch.deploy.to.dev.yml +++ b/.github/workflows/build.from.main.branch.deploy.to.dev.yml @@ -27,7 +27,7 @@ env: MAX_CPU: "300m" MIN_MEM: "1024Mi" MAX_MEM: "4Gi" - MIN_REPLICAS: "3" + MIN_REPLICAS: "2" MAX_REPLICAS: "3" on: diff --git a/.github/workflows/build.from.release.branch.deploy.to.dev.yml b/.github/workflows/build.from.release.branch.deploy.to.dev.yml index d7e54483..bc10c94b 100644 --- a/.github/workflows/build.from.release.branch.deploy.to.dev.yml +++ b/.github/workflows/build.from.release.branch.deploy.to.dev.yml @@ -27,7 +27,7 @@ env: MAX_CPU: "300m" MIN_MEM: "1024Mi" MAX_MEM: "4Gi" - MIN_REPLICAS: "3" + MIN_REPLICAS: "2" MAX_REPLICAS: "3" on: diff --git a/.github/workflows/deploy_prod.yml b/.github/workflows/deploy_prod.yml index 3f3dcd45..a6cb4d19 100644 --- a/.github/workflows/deploy_prod.yml +++ b/.github/workflows/deploy_prod.yml @@ -22,7 +22,7 @@ env: MIN_MEM: "1024Mi" MAX_MEM: "4Gi" MIN_REPLICAS: "3" - MAX_REPLICAS: "3" + MAX_REPLICAS: "4" on: diff --git a/.github/workflows/deploy_test.yml b/.github/workflows/deploy_test.yml index c1b11b13..533df8c0 100644 --- a/.github/workflows/deploy_test.yml +++ b/.github/workflows/deploy_test.yml @@ -22,7 +22,7 @@ env: MIN_MEM: "1024Mi" MAX_MEM: "4Gi" MIN_REPLICAS: "3" - MAX_REPLICAS: "3" + MAX_REPLICAS: "4" on: diff --git a/.gitignore b/.gitignore index 07c41426..9ef8b154 100644 --- a/.gitignore +++ b/.gitignore @@ -52,4 +52,5 @@ target/ build/ ### VS Code ### -.vscode/ \ No newline at end of file +.vscode/ +api/application-local.yaml diff --git a/api/src/main/java/ca/bc/gov/educ/api/batchgraduation/controller/JobLauncherController.java b/api/src/main/java/ca/bc/gov/educ/api/batchgraduation/controller/JobLauncherController.java index ca96c610..45464f60 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/batchgraduation/controller/JobLauncherController.java +++ b/api/src/main/java/ca/bc/gov/educ/api/batchgraduation/controller/JobLauncherController.java @@ -608,7 +608,7 @@ public ResponseEntity loadSummary(@RequestParam(name = "pageNu @PostMapping(EducGradBatchGraduationApiConstants.EXECUTE_SPECIALIZED_USER_REQ_RUNS) @PreAuthorize(PermissionsConstants.RUN_GRAD_ALGORITHM) - @Operation(summary = "Run Specialized TVR Runs", description = "Run specialized Distribution runs", tags = { "DISTRIBUTION" }) + @Operation(summary = "Run Specialized TVR Runs", description = "Run specialized Distribution runs", tags = { "Distribution" }) @ApiResponses(value = {@ApiResponse(responseCode = "200", description = "OK"),@ApiResponse(responseCode = "500", description = "Internal Server Error")}) public ResponseEntity launchUserReqDisRunSpecialJob(@PathVariable String credentialType, @RequestBody StudentSearchRequest studentSearchRequest) { logger.debug("launchUserReqDisRunSpecialJob"); @@ -645,7 +645,7 @@ public ResponseEntity launchUserReqDisRunSpecialJob(@Pat @PostMapping(EducGradBatchGraduationApiConstants.EXECUTE_SPECIALIZED_BLANK_USER_REQ_RUNS) @PreAuthorize(PermissionsConstants.RUN_GRAD_ALGORITHM) - @Operation(summary = "Run Specialized User Req Runs", description = "Run specialized Distribution runs", tags = { "DISTRIBUTION" }) + @Operation(summary = "Run Specialized User Req Runs", description = "Run specialized Distribution runs", tags = { "Distribution" }) @ApiResponses(value = {@ApiResponse(responseCode = "200", description = "OK"),@ApiResponse(responseCode = "500", description = "Internal Server Error")}) public ResponseEntity launchUserReqBlankDisRunSpecialJob(@RequestBody BlankCredentialRequest blankCredentialRequest, @PathVariable String credentialType) { logger.debug("launchUserReqDisRunSpecialJob");