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

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

Commit 2711e83a8d2883bfd3f906f1e6e8b88d049daee9 in atlas's branch 
refs/heads/atlas-2.6 from UmeshPatil-1
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=2711e83a8d ]

ATLAS-5433:- Atlas webapp module to support rest-notification endpoint for 2.6 
branch. (#799)

* Adding rest-notification module from cdh_main to opensource.

(cherry picked from commit 8427a05abce1f06c7e27c11378e402ec23ce66a7)

* Resolving build error failure for rest-notification module,Registered 
rest-notification-webapp in parent pom, replacing the old private SNAPSHOT to 
map with parent,updated from jersy2->jersy1, Removed Servlet 4.0-only methods 
that are not on ServletContext in Servlet 3.1 (they were breaking @Override) etc

(cherry picked from commit 1d7371f779565595080276c3354f47fa3d826187)

* ATLAS-5207 (2.6 backport): rest-notification-webapp parent version 2.6.0

Cherry-pick 1d7371f77 carried master parent 3.0.0-SNAPSHOT; maintenance
line requires 2.6.0 for reactor and dependency alignment.

* Adding server-common module remove identical and nearly identical classes 
from webapp and rest-notification webapp, updated imports to use server-common 
module,updated paren pom and xml wiring's etc.

(cherry picked from commit b3359130afba741c2e60b9be7ea8d32798d61fc5)

* ATLAS-5207 (2.6 backport): server-common and REST compile fixes after #3

- server-common parent 2.6.0, commons-configuration2, sortpom order
- NullServletContext: drop Servlet 4.0 @Override stubs (Servlet 3.1 / Jetty 2.6)
- REST: migrate imports to commons-configuration2; RestNotificationMain 
FileHandler
- webapp: AtlasHeaderPreAuthFilter imports server-common filters (2.6-only 
class)
- webapp test: AtlasAuthenticationFailureHandler declares ServletException

* ATLAS-5207 (2.6 backport): webapp tests after server-common ServletException

Servlet API classes moved to server-common declare ServletException on
commence/onAuthenticationSuccess; update affected unit tests.

* Updating dao class and package to use server-common module for both webapp 
and rest-notification-webapp and Updating method visibility to resolve compile 
time error for UserDaoTest (testMergePasswordAndSalt_EmptySalt) method.

(cherry picked from commit c3e2bf6d1180de724d0ccfee0ed2157dae87feab)

* Updated Filter classes and module to use server-common module for both webapp 
and rest-notification webapp.

(cherry picked from commit 405aed651c9948733112b866d74c926c3849d08e)

* ATLAS-5207 (2.6 backport): shared filters after cherry-pick #7

Keep server-common AuditFilter independent of webapp-only HeaderPreAuth
by using HeadersUtil.ATLAS_REQUEST_ID_ATTRIBUTE; fix JWT filter imports
after AtlasKnoxSSOAuthenticationFilter moved to server-common.

* Updated method visibility to resolve the testcases and compilation error's.

(cherry picked from commit 6270135b043adf1648d9feaa922a5dd810c4fc7c)

* Updating security classes and package to use server-common module for both 
webapp and rest-notification webapp.

(cherry picked from commit 7b4964fbaacea99820781358b5086972432f4ee2)

* ATLAS-5207 (2.6 backport): SerialEntityProcessor after cherry-pick #9

AtlasAbstractAuthenticationProvider moved to server-common in #7b4964fba;
update static import so webapp main compile succeeds.

* Updating class syntax to match earlier coding style.

(cherry picked from commit 5dbbd0cbe363346490c760755cf7815f00d71543)

* Updating listeners class and package to use server-common module for both 
webapp and rest-notification webapp.

(cherry picked from commit 7fcc3f11316887d6112c8b29d11d500592a6c3a9)

* Updating classes to use User model class from server-common module.

(cherry picked from commit 3762146ff81d5315ec22592106a7a10ec4039130)

* ATLAS-5207 (2.6 backport): AtlasHeaderPreAuthFilter after cherry-pick #12

web.model.User removed in #3762146ff; header pre-auth uses shared
org.apache.atlas.server.common.model.User for UserDetails principal.

* Updating service classes and package to use server-common module for both 
webapp and rest-notification webapp.

(cherry picked from commit 921594b5d34b9fd0b35fd1ddda32557115f638ac)

* ATLAS-5207 (2.6 backport): configuration2 after cherry-pick #13

Upstream #13 uses Commons Configuration 1.x in new HA/service wiring;
Atlas 2.6 requires configuration2 across webapp, REST HA adapters, and tests.

* Updating class and methods syntax to match earlier coding style in 
server-common module.

(cherry picked from commit 549ff3a6d0a2530c34fce8e582aba58d69e532fc)

* Updating setup class KerberosAwareListener and package to use server-common 
module for both webapp and rest-notification webapp.

(cherry picked from commit 31665931fb38d75b8e6c35084d0d8da70e7239bb)

* Updated test class ImportTaskListenerImplTest in webapp module removed 
redundant lines.

(cherry picked from commit b93fb632a43f6b5c06f4a3f25935429fc080daa2)

* Restoring admin SERVER_START/SERVER_STATE_ACTIVE via WebappAdminAuditHook

(cherry picked from commit aced7bf445d0ce1f95a4fb89d9a73235e35fcb98)

* Server-Common: align ActiveServerFilter with passive vs migration admin URI 
policy

(cherry picked from commit 1e2d8bdb7db1d80a3586aae7cc79498adcbcd712)

* Resolving Testcase Failure:- Fix UserAuthorityGranter.grant null return; 
align WebappAdminAuditHookTest with long resultCount

(cherry picked from commit d3d880d50fe33cb6b9783c08cc0d0b9f28e85d92)

* Resolving Testcases Failure Fix 503 in SecureEmbeddedServerTest: profile-gate 
test security, split filter beans, Curator only if HA.

(cherry picked from commit 2fe0e23de5cb86fbb8d00d4a663c2e744842b504)

* Resolving checkstyle error's in webapp module.

(cherry picked from commit 74711de7e997b4f6234dfc79add21b0ce0979d60)

* Updating server-common to atlas-server-common.

(cherry picked from commit f1ce7bd6c1928b231c8eb39fb3b1084af0bf9e26)

* Updating docker changes and related changes in webapp,server-common and 
rest-notification module.

(cherry picked from commit 31bdd7ab3797b3918a7305eec7be5a8c1facc630)

* Resolving review comment's and checkstyle error's

(cherry picked from commit 8015307785a86502ae204ad4fc3f2f7ebf126797)

* Resolving testcase failure in webapp module (NoSuchMethodException) which was 
because a method moved from webapp to server-common base during refactor

(cherry picked from commit 0451a3ef7712e58e1ee42cd834eec51776b26526)

* Resolving checkstyle error's from server-common, webapp and 
rest-notification-webapp module's.

(cherry picked from commit 573f23e908e81fbf423c50fefa2350d9154d2f1e)

* Restore NotificationHookConsumer imports required on 2.6 after cherry-pick #28

Upstream #573f23e removed imports that remain in use on the 2.6 line;
re-add them so webapp compile and Enunciate pass Gate A.

* ATLAS-5207: Fix rest-server distro WAR deps

Add provided WAR dependencies in distro/pom.xml for atlas-webapp and
rest-notification-webapp so the Maven reactor builds both WARs before
REST server distro assembly (ATLAS-5207 on atlas-2.6).

Scoped backport from 54f38bc1b: WAR packaging only; Java 8 release line
unchanged (no REST JVM --add-opens changes in this commit).

> Atlas webapp module to support rest-notification endpoint for 2.6 branch.
> -------------------------------------------------------------------------
>
>                 Key: ATLAS-5433
>                 URL: https://issues.apache.org/jira/browse/ATLAS-5433
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 2.6.0
>            Reporter: Umesh Patil
>            Assignee: Umesh Patil
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Expectation:
> 1.Have a common module for rest-notification webapp and webapp moduleĀ 
> Approach :
> 1.Keep common code along with rest-notification webapp changes to support its 
> endpoint and apis



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to