-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #645 from woowacourse-teams/dev
main v1.3.0 배포
- Loading branch information
Showing
46 changed files
with
759 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM ubuntu:18.04 | ||
|
||
LABEL email="ssangyu123@gmail.com" | ||
LABEL name="sakjung" | ||
LABEL description="zzimkkong main application" | ||
|
||
RUN apt-get -y update | ||
RUN apt-get install -y openjdk-11-jdk | ||
|
||
# run application | ||
WORKDIR /home/ubuntu | ||
COPY build/libs/backend-0.0.1-SNAPSHOT.jar app.jar | ||
RUN mkdir zzimkkong && mkdir zzimkkong/tmp | ||
|
||
EXPOSE 8080 | ||
|
||
# 빌드시 명령어에 옵션 추가: --build-arg CLUSTER_IP=<cluster ip> | ||
ENV CLUSTER_IP="IP" | ||
|
||
ENTRYPOINT ["java", "-Ds3proxy.server-uri=http://${CLUSTER_IP}", "-Dspring.profiles.active=prod", "-jar", "app.jar", "--spring.config.location=classpath:config/application-prod.properties"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 6 additions & 2 deletions
8
...nd/src/main/java/com/woowacourse/zzimkkong/dto/reservation/ReservationCreateResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,23 @@ | ||
package com.woowacourse.zzimkkong.dto.reservation; | ||
|
||
import com.woowacourse.zzimkkong.domain.Reservation; | ||
import com.woowacourse.zzimkkong.dto.slack.SlackResponse; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
@Getter | ||
@NoArgsConstructor | ||
public class ReservationCreateResponse { | ||
private Long id; | ||
private SlackResponse slackResponse; | ||
|
||
private ReservationCreateResponse(final Long id) { | ||
private ReservationCreateResponse(final Long id, final SlackResponse slackResponse) { | ||
this.id = id; | ||
this.slackResponse = slackResponse; | ||
} | ||
|
||
public static ReservationCreateResponse from(final Reservation reservation) { | ||
return new ReservationCreateResponse(reservation.getId()); | ||
SlackResponse slackResponse = SlackResponse.from(reservation); | ||
return new ReservationCreateResponse(reservation.getId(), slackResponse); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule config
updated
from e19b72 to af0076
Submodule infra-appender
added at
1a4ed4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.