[
https://issues.apache.org/jira/browse/ATLAS-5377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18146141#comment-18146141
]
ASF subversion and git services commented on ATLAS-5377:
--------------------------------------------------------
Commit 39aeb1949fed05c079a9b503e57f662217ff4ca6 in atlas's branch
refs/heads/atlas-2.6 from UmeshPatil-1
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=39aeb1949f ]
ATLAS-5434:- Missing SERVICE_NOTIFICATION_POST authorization on
rest-notification NotificationREST POST /topic/{topicName} for 2.6 branch.and
ATLAS-5377: Remove duplicate NotificationREST endpoint from webapp for 2.6
branch
* ATLAS-5434: Add rest notification authorization and shared error mappers for
2.6 (backport ATLAS-5365)
* ATLAS-5434: Drop explicit Jersey class lists from rest web.xml; rely on
Spring scan (2.6, backport ATLAS-5365)
* ATLAS-5377: Remove duplicate NotificationREST endpoint from the main webapp
(port 21000) and require hooks to use rest-notification-webapp (port
41000/rest) only.
(cherry picked from commit 4af1c264d34c517f9c26fd711d914a6be2fcf0e4)
* ATLAS-5377: Updated NotificationRestIT to assert endpoint is removed from
webapp (expect error, not 204).
(cherry picked from commit e832af3a69ba55403995c954cbf37d4ffec89f2a)
* ATLAS-5377: Updated assertion and shorter fail-fast message as per review.
(cherry picked from commit 939bd702bc5eceeb94623c19f3f7139f0a5de4a2)
> Remove duplicate NotificationREST endpoint from webapp
> ------------------------------------------------------
>
> Key: ATLAS-5377
> URL: https://issues.apache.org/jira/browse/ATLAS-5377
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Affects Versions: 3.0.0
> Reporter: Umesh Patil
> Assignee: Umesh Patil
> Priority: Major
> Fix For: 3.0.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> h2. Background
> Apache Atlas currently exposes two functionally identical REST endpoints for
> hook notification ingress (HTTP → Kafka):
> ||Module||Class||HTTP Path||Port||
> |webapp|org.apache.atlas.web.rest.NotificationREST|POST
> /api/atlas/v2/notification/topic/\{topicName}|21000|
> |rest-notification-webapp|org.apache.atlas.notification.rest.web.rest.NotificationREST|POST
> /rest/api/atlas/v2/notification/topic/\{topicName}|41000|
> Both endpoints validate topic name, enforce SERVICE_NOTIFICATION_POST
> authorization, and publish to Kafka via KafkaNotification.sendInternal().
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)