Skip to content

Commit

Permalink
Merge pull request #683 from bcgov/grad-release
Browse files Browse the repository at this point in the history
Grad release 1.23
  • Loading branch information
githubmamatha authored Sep 12, 2024
2 parents 4725055 + f0404fb commit 06b527c
Show file tree
Hide file tree
Showing 14 changed files with 154 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,4 @@ signatures
*.iml
/.project
.idea
target
original-signatures
signatures
target
4 changes: 3 additions & 1 deletion api/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ build/

### VS Code ###
.vscode/
/src/main/resources/application-local.yaml

### Local dev ###
**/application-local.yaml
2 changes: 1 addition & 1 deletion api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>ca.bc.gov.educ</groupId>
<artifactId>educ-grad-report-api</artifactId>
<name>educ-grad-report-api</name>
<version>1.8.66</version>
<version>1.8.68</version>
<description>Ministry of Education and Child Care REPORT API</description>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import lombok.Data;

import java.sql.Date;
import java.util.Date;

@Data
public class BaseModel {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public class GradReportSignatureImage extends BaseModel {
private byte[] signatureContent;
private String gradReportSignatureCode;
private String gradReportSignatureName;
private String gradReportSignatureOrganizationName;
private String districtName;
@JsonFormat(pattern= ReportApiConstants.DEFAULT_DATE_FORMAT)
private Date effectiveDate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ public class GradReportSignatureImageEntity extends BaseEntity {
@Column(name = "DIGITAL_SIGNATURE_CODE", nullable = false)
private String gradReportSignatureCode;

@Column(name = "DIGITAL_SIGNATURE_ORGANIZATION_NAME")
private String gradReportSignatureOrganizationName;

@Column(name = "DIGITAL_SIGNATURE_NAME")
private String gradReportSignatureName;

Expand Down
4 changes: 4 additions & 0 deletions api/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ logging:
boot:
autoconfigure:
logging: ${SPRING_BOOT_AUTOCONFIG_LOG_LEVEL}
com:
zaxxer:
hikari: ERROR
logback:
rollingpolicy:
max-history: 1
Expand All @@ -80,6 +83,7 @@ server:
worker: 128
io: 16
#port: ${HTTP_PORT}
max-http-request-header-size: 20000

#API Documentation
springdoc:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE DIGITAL_SIGNATURE
ADD DIGITAL_SIGNATURE_ORGANIZATION_NAME varchar2(64);
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Southeast Kootenay', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='005';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Rocky mountain', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='006';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Kootenay lake', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='008';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Arrow lakes', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='010';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Revelstoke', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='019';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Kootenay-Columbia', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='020';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Vernon', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='022';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Central Okanagan Public Schools SD 23', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='023';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Cariboo-Chilcotin', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='027';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Quesnel', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='028';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Chilliwack', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='033';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Abbotsford', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='034';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Langley', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='035';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Surrey', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='036';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Delta', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='037';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Richmond', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='038';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Vancouver', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='039';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='New Westminster', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='040';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Burnaby', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='041';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Maple ridge', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='042';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Coquitlam', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='043';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='North Vancouver', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='044';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='West Vancouver', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='045';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Sunshine coast', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='046';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Powell river', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='047';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Sea to sky', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='048';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Central coast', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='049';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Haida Gwaii', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='050';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Boundary', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='051';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Prince Rupert', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='052';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Okanagan Similkameen', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='053';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Bulkley valley', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='054';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Prince George', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='057';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Nicola-Similkameen', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='058';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Peace river south', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='059';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Peace river north', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='060';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Greater Victoria', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='061';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Sooke', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='062';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Saanich', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='063';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_ORGANIZATION_NAME='Gulf islands', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='064';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='Okanagan Skaha', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='067';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='Nanaimo-Ladysmith', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='068';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='Qualicum', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='069';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='Pacific rim', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='070';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='Comox valley', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='071';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='Campbell river', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='072';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='Kamloops-Thompson', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='073';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='Gold trail', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='074';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='Mission', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='075';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='Fraser-cascade', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='078';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='Cowichan valley', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='079';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='Fort nelson', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='081';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='Coast mountains', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='082';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='North Okanagan Shuswap', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='083';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='Vancouver Island West', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='084';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='Vancouver Island North', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='085';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='Stikine', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='087';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='Nechako lakes', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='091';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='Nisga''a', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='092';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='Conseil Scolaire Francophone', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='093';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='Offshore independent', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='103';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='First Nation Governing Authority', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='FIRST_NATIONS';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='B.C. Ministry of Education and Child Care', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='INDEP';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='B.C. Ministry of Post-Secondary Education and Future Skills', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='MOAE';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='B.C. Ministry of Education and Child Care', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='MOE';
UPDATE DIGITAL_SIGNATURE SET DIGITAL_SIGNATURE_NAME='B.C. Ministry of Education and Child Care', UPDATE_USER = 'GRAD_REPORT_API', UPDATE_DATE = SYSTIMESTAMP WHERE DIGITAL_SIGNATURE_CODE='MOE_ADM';
Loading

0 comments on commit 06b527c

Please sign in to comment.