Skip to content

Commit

Permalink
Merge pull request #470 from bcgov/grad-release
Browse files Browse the repository at this point in the history
Grad release 1.16.0
  • Loading branch information
githubmamatha authored Mar 26, 2024
2 parents 006397b + d01a3ce commit 3a6ef37
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 10 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
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.58</version>
<version>1.8.59</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
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
1 change: 1 addition & 0 deletions tools/config/update-configmap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ oc create -n "$OPENSHIFT_NAMESPACE"-"$envValue" configmap "$APP_NAME"-config-map
--from-literal=NUMBER_OF_PARTITIONS="10" \
--from-literal=KEYCLOAK_TOKEN_URL="https://soam-$envValue.apps.silver.devops.gov.bc.ca/" \
--from-literal=REG_ALG_CRON="0 30 18 * * *" \
--from-literal=RECORDS_STALE_IN_DAYS="1095" \
--dry-run=client -o yaml | oc apply -f -

echo Creating config map "$APP_NAME"-flb-sc-config-map
Expand Down

0 comments on commit 3a6ef37

Please sign in to comment.