Skip to content

Commit

Permalink
GRAD2-2513
Browse files Browse the repository at this point in the history
(GRAD) - Incident: XML Preview needs to show Last Updated Date instead of an Issue Date
  • Loading branch information
arybakov-cgi committed Mar 1, 2024
1 parent 6cce66e commit 9fc0c6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@

import java.io.IOException;
import java.io.InputStream;
import java.io.Serializable;
import java.net.URL;
import java.text.SimpleDateFormat;
import java.util.*;
Expand All @@ -47,7 +46,7 @@
import static java.lang.Integer.parseInt;
import static java.util.Locale.CANADA;

public abstract class GradReportServiceImpl implements Serializable {
public abstract class GradReportServiceImpl {

private static final long serialVersionUID = 5L;

Expand All @@ -67,9 +66,9 @@ public abstract class GradReportServiceImpl implements Serializable {
@Autowired
JsonTransformer jsonTransformer;
@Autowired
transient WebClient webClient;
WebClient webClient;
@Autowired
transient EducGradReportApiConstants constants;
EducGradReportApiConstants constants;

@RolesAllowed({FULFILLMENT_SERVICES_USER})
public Parameters<String, Object> createParameters() {
Expand Down Expand Up @@ -143,7 +142,7 @@ Certificate getCertificate(ReportData reportData) {


InputStream openImageResource(final String resource) throws IOException {
//final URL url = getReportResource(resource);
/** final URL url = getReportResource(resource); **/
URL url = this.getClass().getResource(DIR_IMAGE_BASE + resource);
assert url != null;
return url.openStream();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
package ca.bc.gov.educ.grad.report.service.impl;

import ca.bc.gov.educ.grad.report.api.client.ReportData;
import ca.bc.gov.educ.grad.report.dao.GradDataConvertionBean;
import ca.bc.gov.educ.grad.report.dao.ProgramCertificateTranscriptRepository;
import ca.bc.gov.educ.grad.report.dao.StudentTranscriptRepository;
import ca.bc.gov.educ.grad.report.dto.impl.*;
Expand Down Expand Up @@ -109,18 +108,12 @@ public class StudentTranscriptServiceImpl extends GradReportServiceImpl implemen
*/
private static final String SORT_ASSESSMENT = "100";

private final ReportService reportService;

private final GradDataConvertionBean gradDataConvertionBean;

private final ProgramCertificateTranscriptRepository programCertificateTranscriptRepository;

private final StudentTranscriptRepository studentTranscriptRepository;

@Autowired
public StudentTranscriptServiceImpl(ReportService reportService, GradDataConvertionBean gradDataConvertionBean, ProgramCertificateTranscriptRepository programCertificateTranscriptRepository, StudentTranscriptRepository studentTranscriptRepository) {
this.reportService = reportService;
this.gradDataConvertionBean = gradDataConvertionBean;
public StudentTranscriptServiceImpl(ProgramCertificateTranscriptRepository programCertificateTranscriptRepository, StudentTranscriptRepository studentTranscriptRepository) {
this.programCertificateTranscriptRepository = programCertificateTranscriptRepository;
this.studentTranscriptRepository = studentTranscriptRepository;
}
Expand Down

0 comments on commit 9fc0c6c

Please sign in to comment.