diff --git a/backend/product/src/main/java/org/samtuap/inong/domain/review/service/ReviewService.java b/backend/product/src/main/java/org/samtuap/inong/domain/review/service/ReviewService.java index 0e96b001..fb703d33 100644 --- a/backend/product/src/main/java/org/samtuap/inong/domain/review/service/ReviewService.java +++ b/backend/product/src/main/java/org/samtuap/inong/domain/review/service/ReviewService.java @@ -33,10 +33,10 @@ public void createReview(Long packageProductId, Long memberId, ReviewCreateReque // 패키지 상품 조회 PackageProduct packageProduct = packageProductRepository.findByIdOrThrow(packageProductId); - // 이미 리뷰가 존재하는지 확인 - if (reviewRepository.findByPackageProductIdAndMemberId(packageProductId, memberId).isPresent()) { - throw new BaseCustomException(REVIEW_ALREADY_EXIST); - } +// // 이미 리뷰가 존재하는지 확인 +// if (reviewRepository.findByPackageProductIdAndMemberId(packageProductId, memberId).isPresent()) { +// throw new BaseCustomException(REVIEW_ALREADY_EXIST); +// } // Review 엔티티 생성 및 저장 Review review = request.toEntity(packageProduct, memberId); diff --git a/k8s/.env b/k8s/.env deleted file mode 100644 index 1c22315f..00000000 --- a/k8s/.env +++ /dev/null @@ -1,36 +0,0 @@ -# OpenVidu configuration -# ---------------------- - -# 도메인 이름. 만약 도메인이 없다면 public IP주소로 설정 -DOMAIN_OR_PUBLIC_IP=https://openvidu.inong.shop - -# OpenVidu 서버에 연결하고 사용자가 OpenVidu 대시보드에 액세스하는 데 사용되는 OpenVidu Secret -OPENVIDU_SECRET=OPENVIDU_SECRET - -# Certificate type: -# - selfsigned: Self signed certificate. Not recommended for production use. -# Users will see an ERROR when connected to web page. -# - owncert: Valid certificate purchased in a Internet services company. -# Please put the certificates files inside folder ./owncert -# with names certificate.key and certificate.cert -# - letsencrypt: Generate a new certificate using letsencrypt. Please set the -# required contact email for Let's Encrypt in LETSENCRYPT_EMAIL -# variable. -# certbot에서 발급받은 ssl 인증서를 사용할 것이므로 letsencrypt -CERTIFICATE_TYPE=letsencrypt - -# If CERTIFICATE_TYPE=letsencrypt, you need to configure a valid email for notifications -LETSENCRYPT_EMAIL=clearrworld@gmail.com - -# Proxy configuration -# If you want to change the ports on which openvidu listens, uncomment the following lines - -# Allows any request to http://DOMAIN_OR_PUBLIC_IP:HTTP_PORT/ to be automatically -# redirected to https://DOMAIN_OR_PUBLIC_IP:HTTPS_PORT/. -# WARNING: the default port 80 cannot be changed during the first boot -# if you have chosen to deploy with the option CERTIFICATE_TYPE=letsencrypt -HTTP_PORT=8442 - -# Changes the port of all services exposed by OpenVidu. -# SDKs, REST clients and browsers will have to connect to this port -HTTPS_PORT=8443 diff --git a/k8s/cert2.yml b/k8s/cert2.yml deleted file mode 100644 index 6fc730af..00000000 --- a/k8s/cert2.yml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: cert-manager.io/v1 -kind: Certificate -metadata: - name: inong-vue-app-tls -spec: - secretName: inong-vue-app-tls - duration: 2160h - renewBefore: 360h - issuerRef: - name: letsencrypt-prod - kind: ClusterIssuer - commonName: dev.inong.shop - dnsNames: - - dev.inong.shop