lot of changes on someday

This commit is contained in:
Dhanraj
2024-09-28 20:56:56 +05:30
parent bd5119fc3c
commit e206968993
479 changed files with 10127 additions and 95691 deletions

View File

@ -10,6 +10,7 @@ import net.shyshkin.study.fullstack.supportportal.backend.repository.ProfessorRe
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import com.amazonaws.services.secretsmanager.model.ResourceNotFoundException;

View File

@ -7,7 +7,7 @@ import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Named;
@Mapper
@Mapper( )
public interface ProfessorMapper {
// @Mapping(target = "professorId", ignore = true) // Auto-generated
@ -28,5 +28,6 @@ public interface ProfessorMapper {
default String workingStatusToString(WorkingStatus status) {
return status == null ? null : status.name();
}
}

View File

@ -49,7 +49,7 @@ spring:
app:
public-urls: /user/login,/user/register,/user/*/profile-image/**,/professors,/professors/**
public-urls: /user/login,/user/register,/user/*/profile-image/**,/professors,/professors/**,/api/posts,/api/posts/*,/professor,/professor/*,/api/events,/api/events/*
cors:
allowed-origins: http://localhost:4200,https://localhost:4200,http://art-support-portal.s3-website.eu-north-1.amazonaws.com,http://portal.shyshkin.net,*
jwt: