diff --git a/src/main/resources/application-local.yml b/src/main/resources/application-local.yml index 69c58f6..50cf23c 100644 --- a/src/main/resources/application-local.yml +++ b/src/main/resources/application-local.yml @@ -45,6 +45,19 @@ spring: filters: - AuthenticationFilter + - id: reaction-private + uri: http://localhost:8083 + predicates: + - name: Path + args: + patterns: + - /v1/likes/{targetType}/{targetId} + - /v1/likes/{targetType} + - /v1/bookmarks/{targetType}/{targetId} + - /v1/bookmarks/{targetType} + filters: + - AuthenticationFilter + app: user-service: url: http://localhost:8081 diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index d7e5266..82741ed 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -55,6 +55,19 @@ spring: filters: - AuthenticationFilter + - id: reaction-private + uri: http://reaction-service:8083 + predicates: + - name: Path + args: + patterns: + - /v1/likes/{targetType}/{targetId} + - /v1/likes/{targetType} + - /v1/bookmarks/{targetType}/{targetId} + - /v1/bookmarks/{targetType} + filters: + - AuthenticationFilter + - id: image-public uri: http://image-service:8082 predicates: