[
https://issues.apache.org/jira/browse/ATLAS-5377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18115893#comment-18115893
]
ASF subversion and git services commented on ATLAS-5377:
--------------------------------------------------------
Commit e61a24f75eea9cd7f320b5e415d90f21f22bafbb in atlas's branch
refs/heads/master from UmeshPatil-1
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=e61a24f75 ]
ATLAS-5377: Remove duplicate NotificationREST endpoint from webapp (#730)
* ATLAS-5377: Remove duplicate NotificationREST endpoint from the main webapp
(port 21000) and require hooks to use rest-notification-webapp (port
41000/rest) only.
* ATLAS-5377: Updated NotificationRestIT to assert endpoint is removed from
webapp (expect error, not 204).
* ATLAS-5377: Updated assertion and shorter fail-fast message as per review.
> 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
> 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
(v8.20.10#820010)