Skip to content

Commit

Permalink
Merge branch 'develop' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
rlaisqls committed Apr 1, 2023
2 parents a8830b0 + e3064cc commit e9b5ec0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
region: ${{ secrets.AWS_REGION }}

- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: ${{ secrets.ECR_DEV_REPOSITORY }}
username: ${{ steps.ecr.outputs.username }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prod-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
region: ${{ secrets.AWS_REGION }}

- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: ${{ secrets.ECR_REPOSITORY }}
username: ${{ steps.ecr.outputs.username }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class SecurityConfiguration(
.antMatchers(HttpMethod.POST, "/study-rooms/time-slots").hasAuthority(MANAGER.name)
.antMatchers(HttpMethod.PATCH, "/study-rooms/time-slots/{time-slot-id}").hasAuthority(MANAGER.name)
.antMatchers(HttpMethod.DELETE, "/study-rooms/time-slots/{time-slot-id}").hasAuthority(MANAGER.name)
.antMatchers(HttpMethod.POST, "/study-rooms/students/file").hasAuthority(MANAGER.name)
.antMatchers(HttpMethod.GET, "/study-rooms/students/file").hasAuthority(MANAGER.name)

// /remains
.antMatchers(HttpMethod.PUT, "/remains/available-time").hasAuthority(MANAGER.name)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
package team.aliens.dms.domain.studyroom

import java.util.UUID
import javax.servlet.http.HttpServletResponse
import javax.validation.Valid
import javax.validation.constraints.NotNull
import org.springframework.http.HttpStatus
import org.springframework.validation.annotation.Validated
import org.springframework.web.bind.annotation.DeleteMapping
Expand Down Expand Up @@ -55,10 +59,6 @@ import team.aliens.dms.domain.studyroom.usecase.UnApplySeatUseCase
import team.aliens.dms.domain.studyroom.usecase.UpdateAvailableTimeUseCase
import team.aliens.dms.domain.studyroom.usecase.UpdateStudyRoomUseCase
import team.aliens.dms.domain.studyroom.usecase.UpdateTimeSlotUseCase
import java.util.UUID
import javax.servlet.http.HttpServletResponse
import javax.validation.Valid
import javax.validation.constraints.NotNull

@Validated
@RequestMapping("/study-rooms")
Expand Down Expand Up @@ -282,7 +282,7 @@ class StudyRoomWebAdapter(
removeTimeSlotUseCase.execute(timeSlotId!!)
}

@PostMapping("/students/file")
@GetMapping("/students/file")
fun exportStudyRoomStudentsApplicationStatus(
@RequestPart file: MultipartFile?,
httpResponse: HttpServletResponse
Expand Down

0 comments on commit e9b5ec0

Please sign in to comment.