From 2f112f43313b873296748dba27a944829bb4fe28 Mon Sep 17 00:00:00 2001 From: jooho Date: Thu, 28 Oct 2021 14:40:11 +0900 Subject: [PATCH] gradle dependency --- backend/reserve-check-service/build.gradle | 6 +-- backend/reserve-item-service/build.gradle | 6 +-- backend/reserve-request-service/build.gradle | 6 +-- .../src/main/resources/application-oauth.yml | 42 ------------------- 4 files changed, 9 insertions(+), 51 deletions(-) delete mode 100644 backend/user-service/src/main/resources/application-oauth.yml diff --git a/backend/reserve-check-service/build.gradle b/backend/reserve-check-service/build.gradle index 8403626..5e05b18 100644 --- a/backend/reserve-check-service/build.gradle +++ b/backend/reserve-check-service/build.gradle @@ -44,7 +44,7 @@ dependencies { //messaging implementation 'org.springframework.cloud:spring-cloud-stream' implementation 'org.springframework.cloud:spring-cloud-stream-binder-rabbit' - implementation 'net.java.dev.jna:jna:5.9.0' // byte-buddy (No compatible attachment provider is available.) +// implementation 'net.java.dev.jna:jna:5.9.0' // byte-buddy (No compatible attachment provider is available.) implementation 'io.jsonwebtoken:jjwt:0.9.1' @@ -55,8 +55,8 @@ dependencies { implementation 'org.springdoc:springdoc-openapi-webflux-ui:1.5.10' // bolcking 호출 감지 - implementation 'io.projectreactor:reactor-tools:3.4.9' - implementation 'io.projectreactor.tools:blockhound:1.0.6.RELEASE' +// implementation 'io.projectreactor:reactor-tools:3.4.9' +// implementation 'io.projectreactor.tools:blockhound:1.0.6.RELEASE' //lombok implementation 'org.projectlombok:lombok' diff --git a/backend/reserve-item-service/build.gradle b/backend/reserve-item-service/build.gradle index 6ed4ec5..be6c424 100644 --- a/backend/reserve-item-service/build.gradle +++ b/backend/reserve-item-service/build.gradle @@ -50,13 +50,13 @@ dependencies { implementation 'org.springdoc:springdoc-openapi-webflux-ui:1.5.10' // bolcking 호출 감지 - implementation 'io.projectreactor:reactor-tools:3.4.9' - implementation 'io.projectreactor.tools:blockhound:1.0.6.RELEASE' +// implementation 'io.projectreactor:reactor-tools:3.4.9' +// implementation 'io.projectreactor.tools:blockhound:1.0.6.RELEASE' //messaging implementation 'org.springframework.cloud:spring-cloud-stream' implementation 'org.springframework.cloud:spring-cloud-stream-binder-rabbit' - implementation 'net.java.dev.jna:jna:5.9.0' // byte-buddy (No compatible attachment provider is available.) +// implementation 'net.java.dev.jna:jna:5.9.0' // byte-buddy (No compatible attachment provider is available.) //lombok implementation 'org.projectlombok:lombok' diff --git a/backend/reserve-request-service/build.gradle b/backend/reserve-request-service/build.gradle index f109d83..6da21ab 100644 --- a/backend/reserve-request-service/build.gradle +++ b/backend/reserve-request-service/build.gradle @@ -46,7 +46,7 @@ dependencies { implementation 'org.springframework.cloud:spring-cloud-stream' implementation 'org.springframework.cloud:spring-cloud-stream-binder-rabbit' implementation 'org.springframework.boot:spring-boot-starter-amqp' - implementation 'net.java.dev.jna:jna:5.9.0' // byte-buddy (No compatible attachment provider is available.) +// implementation 'net.java.dev.jna:jna:5.9.0' // byte-buddy (No compatible attachment provider is available.) implementation 'io.jsonwebtoken:jjwt:0.9.1' @@ -58,8 +58,8 @@ dependencies { implementation 'org.springdoc:springdoc-openapi-webflux-ui:1.5.10' // bolcking 호출 감지 - implementation 'io.projectreactor:reactor-tools:3.4.9' - implementation 'io.projectreactor.tools:blockhound:1.0.6.RELEASE' +// implementation 'io.projectreactor:reactor-tools:3.4.9' +// implementation 'io.projectreactor.tools:blockhound:1.0.6.RELEASE' //lombok implementation 'org.projectlombok:lombok' diff --git a/backend/user-service/src/main/resources/application-oauth.yml b/backend/user-service/src/main/resources/application-oauth.yml deleted file mode 100644 index 513b003..0000000 --- a/backend/user-service/src/main/resources/application-oauth.yml +++ /dev/null @@ -1,42 +0,0 @@ -# oauth2 를 사용하기 위해서는 아래의 TODO 를 등록해야 함 -spring: - security: - oauth2: - client: - registration: - # /oauth2/authorization/google - google: - client-id: google_client_id # TODO - client-secret: google_client_secret # TODO - scope: profile,email - # 네이버는 Spring Security를 공식 지원하지 않기 때문에 CommonOAuth2Provider 에서 해주는 값들을 수동으로 입력한다. - # /oauth2/authorization/naver - naver: - client-id: naver_client_id # TODO - client-secret: naver_client_secret # TODO - redirect_uri: "{baseUrl}/{action}/oauth2/code/{registrationId}" - authorization_grant_type: authorization_code - scope: name,email,profile_image - client-name: Naver - # /oauth2/authorization/kakao - kakao: - client-id: kakao_client_id # TODO - client-secret: kakao_client_secret # TODO - redirect-uri: "{baseUrl}/{action}/oauth2/code/{registrationId}" - client-authentication-method: POST - authorization-grant-type: authorization_code - scope: profile_nickname, account_email - client-name: Kakao - provider: - naver: - authorization_uri: https://nid.naver.com/oauth2.0/authorize - token_uri: https://nid.naver.com/oauth2.0/token - user-info-uri: https://openapi.naver.com/v1/nid/me - # 기준이 되는 user_name 의 이름을 네이버에서는 response로 지정해야한다. (네이버 회원 조회시 반환되는 JSON 형태 때문이다) - # response를 user_name으로 지정하고 이후 자바 코드로 response의 id를 user_name으로 지정한다. (스프링 시큐리티에서 하위 필드를 명시할 수 없기 때문) - user_name_attribute: response - kakao: - authorization_uri: https://kauth.kakao.com/oauth/authorize - token_uri: https://kauth.kakao.com/oauth/token - user-info-uri: https://kapi.kakao.com/v2/user/me - user_name_attribute: id