Skip to content

Commit

Permalink
Merge pull request #469 from bcgov/GRAD2-2568
Browse files Browse the repository at this point in the history
GRAD2-2568 HPA alert addressing
  • Loading branch information
kamal-mohammed authored Mar 20, 2024
2 parents 84c61e1 + ba2a8e6 commit 83aabe9
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ env:
MAX_CPU: "300m"
MIN_MEM: "1024Mi"
MAX_MEM: "4Gi"
MIN_REPLICAS: "3"
MIN_REPLICAS: "2"
MAX_REPLICAS: "3"

on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.from.main.branch.deploy.to.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ env:
MAX_CPU: "300m"
MIN_MEM: "1024Mi"
MAX_MEM: "4Gi"
MIN_REPLICAS: "3"
MIN_REPLICAS: "2"
MAX_REPLICAS: "3"

on:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ env:
MAX_CPU: "300m"
MIN_MEM: "1024Mi"
MAX_MEM: "4Gi"
MIN_REPLICAS: "3"
MIN_REPLICAS: "2"
MAX_REPLICAS: "3"

on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
MIN_MEM: "1024Mi"
MAX_MEM: "4Gi"
MIN_REPLICAS: "3"
MAX_REPLICAS: "3"
MAX_REPLICAS: "4"


on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
MIN_MEM: "1024Mi"
MAX_MEM: "4Gi"
MIN_REPLICAS: "3"
MAX_REPLICAS: "3"
MAX_REPLICAS: "4"


on:
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ target/
build/

### VS Code ###
.vscode/
.vscode/
api/application-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ public ResponseEntity<SummaryDashBoard> 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<DistributionSummaryDTO> launchUserReqDisRunSpecialJob(@PathVariable String credentialType, @RequestBody StudentSearchRequest studentSearchRequest) {
logger.debug("launchUserReqDisRunSpecialJob");
Expand Down Expand Up @@ -645,7 +645,7 @@ public ResponseEntity<DistributionSummaryDTO> 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<BlankDistributionSummaryDTO> launchUserReqBlankDisRunSpecialJob(@RequestBody BlankCredentialRequest blankCredentialRequest, @PathVariable String credentialType) {
logger.debug("launchUserReqDisRunSpecialJob");
Expand Down
2 changes: 1 addition & 1 deletion api/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spring:
password: ${PASSWORD}
driver-class-name: oracle.jdbc.driver.OracleDriver
jpa:
show-sql: true
show-sql: false
database-platform: org.hibernate.dialect.OracleDialect
hibernate:
ddl-auto: none
Expand Down

0 comments on commit 83aabe9

Please sign in to comment.