You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2026/10/06 08:46:00 UTC

[jira] [Commented] (ATLAS-5377) Remove duplicate NotificationREST endpoint from webapp

    [ https://issues.apache.org/jira/browse/ATLAS-5377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18123660#comment-18123660 ] 

ASF subversion and git services commented on ATLAS-5377:
--------------------------------------------------------

Commit e61a24f75eea9cd7f320b5e415d90f21f22bafbb in atlas's branch refs/heads/ATLAS-4796_u 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
>             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
(v8.20.10#820010)