QAC-Portal/QA-Portal

QA_Logo.png is referenced absolutely in target/classes folder

Open

#9 opened on Dec 2, 2019

 (0 comments) (0 reactions) (1 assignee)Java (5 forks)auto 404
APIenhancementgood first issue

Repository metrics

Stars
 (2 stars)
PR merge metrics
 (PR metrics pending)

Description

Description

SHOULD BE ADDRESSED BEFORE DEPLOYMENT TO TEST OR PRODUCTION

The CvPdfEnums class in cv-api project has a hard coded reference to \target\classes folder. Should be amended so that the location of the file being referenced is defined in a property in the application.yml file.

Task Description

QA_Logo.png is referenced explicitly in target/classes folder in CvPdfEnums.

Add a property to the application.yml file for cv-api project to define the location of the file and amend CvPdfEnums to get the file location from this property rather than using a hard coded value.

Contributor guide