Skip to content

Commit

Permalink
Fixing file reference in docker-compose.yml and removing unused methods
Browse files Browse the repository at this point in the history
  • Loading branch information
agordon-vivid committed Dec 19, 2024
1 parent 3271c82 commit f0cecca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
command: [
"liquibase",
"--url=jdbc:postgresql://wfprev-postgres:5432/wfprev",
"--changelog-file=db/main-changelog.json",
"--changelog-file=db/wfprev-changelog.json",
"--username=wfprev",
"--password=${POSTGRES_PASSWORD}",
"update"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,17 +117,6 @@ public ProjectModel updateProject(ProjectModel resource) throws ServiceException
}
}

private ProjectEntity getEntityForNewProject(ProjectModel resource) {
ProjectEntity entity;
initializeNewProject(resource);
entity = projectResourceAssembler.toEntity(resource);
return entity;
}

private boolean isNewProject(ProjectModel resource) {
return resource.getProjectGuid() == null;
}

private void initializeNewProject(ProjectModel resource) {
resource.setCreateDate(new Date());
resource.setProjectGuid(UUID.randomUUID().toString());
Expand Down

0 comments on commit f0cecca

Please sign in to comment.