This is an automated email from the ASF dual-hosted git repository.
pinal-shah pushed a change to branch ATLAS-4796_u
in repository https://gitbox.apache.org/repos/asf/atlas.git
omit 10da2268a ATLAS-4796: Add OpenSearch integration tests and CI
omit a70e54569 ATLAS-4796: Support OpenSearch as mixed index backend
add 837ea81e1 ATLAS-5407 Fix file permission for Atlas docker setup (#759)
add e61a24f75 ATLAS-5377: Remove duplicate NotificationREST endpoint from
webapp (#730)
add 14f4502fc ATLAS-5408: Fix hook import classpath and logging in
docker/minimal envs (#760)
add e248e7bd2 ATLAS-5411: ATLAS-5412: ATLAS-5369: Atlas UI: React UI Audit
tab show deleted entity references with Classic UI styling, Search Button,
Businessmetada options as dropdown (#764)
add 86aa85c46 ATLAS-5410 Fix Entity audit API returns null eventKey for
RDBMS backend (#763)
add 18fbc57ee ATLAS-5409: Atlas Kafka clients authenticate with
OAUTHBEARER using K… (#762)
add 027fa9bbe ATLAS-5414: Enforce authorization on AdminResource active
search list and cancel endpoints (#765)
add 11e86ae88 ATLAS-5413: Initialize PatchContext before typedef JSON
patches register Java handlers (#766)
add 134148188 ATLAS-5418: Enforce entity read check on v1 entity audit API
(#770)
add 89cf52a03 ATLAS-5417: Atlas UI: Fix unescaped business metadata string
rendering in Classic UI basic search results table. (#769)
add bc3c272e8 ATLAS-5160: Remove deprecated X-XSS-Protection response
header (#774)
add dba840667 ATLAS-5422:Support no-auth REST notification mode for
header-based authentication environments (#775)
add 0f8dca522 ATLAS-5421 : Prevent /api/atlas/admin/importfile from
reading arbitrary server files and enumerating filesystem paths (#776)
add d74220337 ATLAS-4796: Support OpenSearch as mixed index backend
add e736bb005 ATLAS-4796: Add OpenSearch integration tests and CI
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (10da2268a)
\
N -- N -- N refs/heads/ATLAS-4796_u (e736bb005)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
addons/hbase-bridge/pom.xml | 6 +
addons/hbase-bridge/src/bin/import-hbase.sh | 2 +
addons/hive-bridge/src/bin/import-hive.sh | 1 +
addons/kafka-bridge/src/bin/import-kafka.sh | 9 +-
.../main/java/org/apache/atlas/AtlasConstants.java | 3 +-
dashboard/src/components/AuditEntityRefLink.tsx | 86 +++
dashboard/src/components/ExtractObject.tsx | 254 +++++++
.../src/components/GlobalSearch/QuickSearch.tsx | 29 +-
.../GlobalSearch/__tests__/QuickSearch.test.tsx | 92 ++-
.../ShowMore/__tests__/ShowMoreText.test.tsx | 41 +-
.../__tests__/AuditEntityRefLink.test.tsx | 241 +++++++
.../src/components/__tests__/HtmlRenderer.test.tsx | 32 +
.../components/__tests__/commonComponents.test.tsx | 213 +++++-
.../components/__tests__/entityRefUtils.test.ts | 73 ++
dashboard/src/components/commonComponents.tsx | 251 +------
.../{SkeletonLoader.tsx => entityRefRenderers.tsx} | 60 +-
.../entityRefUtils.ts} | 27 +-
dashboard/src/styles/globalSearch.scss | 4 +
dashboard/src/styles/propertiesTab.scss | 94 +++
dashboard/src/styles/table.scss | 4 +
dashboard/src/utils/Utils.ts | 15 +
dashboard/src/utils/__tests__/Utils.test.ts | 70 +-
.../src/utils/__tests__/enumTypeUtils.test.ts | 67 ++
dashboard/src/utils/enumTypeUtils.ts | 23 +
.../EntityDetailTabs/AttributeProperties.tsx | 3 +-
.../PropertiesTab/BMAttributes.tsx | 436 ++++++------
.../PropertiesTab/BMAttributesFields.tsx | 385 ++++++-----
.../BMAttributes.enum.integration.test.tsx | 244 +++++++
.../PropertiesTab/__tests__/BMAttributes.test.tsx | 465 +++++++++++++
.../__tests__/BMAttributesFields.test.tsx | 475 +++++++++++++
.../__tests__/AttributeProperties.test.tsx | 47 +-
.../__tests__/AuditTableDetails.test.tsx | 33 +-
dashboardv2/public/css/scss/business-metadata.scss | 8 +
dashboardv2/public/js/utils/CommonViewFunction.js | 7 +-
.../views/entity/EntityBusinessMetaDataItemView.js | 61 +-
.../js/views/search/SearchResultLayoutView.js | 1 +
dev-support/atlas-docker/Dockerfile.atlas-base | 3 +
.../opensearch/atlas-application.properties | 1 +
distro/src/conf/atlas-application.properties | 9 +
distro/src/main/assemblies/src-package.xml | 9 +
.../graphdb/janus/AtlasJanusGraphIndexClient.java | 2 +-
.../graphdb/janus/AtlasOpenSearchIndexClient.java | 204 +++++-
.../graphdb/janus/AtlasOpenSearchQueryBuilder.java | 459 ++++++++-----
.../janus/AtlasOpenSearchIndexClientTest.java | 315 ++++++++-
.../janus/AtlasOpenSearchQueryBuilderTest.java | 733 ++++++++++++++++++++-
...penSearchJanusConfigurationPassthroughTest.java | 49 ++
...va => OpenSearchLongAttributeMixedIndexIT.java} | 58 +-
graphdb/janusgraph-opensearch/pom.xml | 22 +
.../diskstorage/opensearch/OpenSearchIndex.java | 45 +-
.../OpenSearchCreateExtrasFromAtlasConfigTest.java | 98 +++
.../org/apache/atlas/ApplicationProperties.java | 11 +-
.../java/org/apache/atlas/AtlasConfiguration.java | 2 +
.../main/java/org/apache/atlas/AtlasErrorCode.java | 1 +
...cationPropertiesOpenSearchMappingLimitTest.java | 66 ++
...ensearch-mapping-limit-override-test.properties | 4 +
.../atlas-opensearch-mapping-limit-test.properties | 4 +
.../org/apache/atlas/kafka/KafkaNotification.java | 8 +-
.../atlas/notification/rest/RestNotification.java | 14 +-
.../security/kafka/AtlasKafkaOAuthHandler.java | 264 ++++++++
.../atlas/notification/RestNotificationTest.java | 129 +++-
.../security/kafka/AtlasKafkaOAuthHandlerTest.java | 168 +++++
pom.xml | 1 +
.../audit/rdbms/RdbmsBasedAuditRepository.java | 2 +
.../repository/graph/GraphBackedSearchIndexer.java | 12 +-
.../atlas/repository/graph/SolrIndexHelper.java | 3 +-
.../repository/impexp/ImportFilePathValidator.java | 112 ++++
.../atlas/repository/impexp/ImportService.java | 18 +-
.../repository/patches/AtlasPatchManager.java | 32 +-
.../bootstrap/AtlasTypeDefStoreInitializer.java | 4 +-
.../java/org/apache/atlas/util/SearchTracker.java | 34 +-
...> OpenSearchCustomAttributesQuickSearchIT.java} | 9 +-
...ustomAttributesQuickSearchValidationDriver.java | 40 ++
.../smoke/OpenSearchQuickSearchSmokeSupport.java | 26 +-
.../OpenSearchQuickSearchValidationDriver.java | 151 ++++-
...java => OpenSearchWeightedFieldFreeTextIT.java} | 14 +-
...earchWeightedFieldFreeTextValidationDriver.java | 530 +++++++++++++++
...raphBackedSearchIndexerKeywordSubfieldTest.java | 147 +++++
...raphBackedSearchIndexerMixedIndexRetryTest.java | 301 +++++++++
.../impexp/ImportFilePathValidatorTest.java | 176 +++++
.../atlas/repository/impexp/ImportServiceTest.java | 29 +-
.../repository/patches/AtlasPatchManagerTest.java | 19 +
.../AtlasTypeDefStoreInitializerTest.java | 8 +-
.../org/apache/atlas/util/SearchTrackerTest.java | 63 ++
.../rest/web/rest/NotificationREST.java | 2 +
.../atlas/server/common/filters/HeadersUtil.java | 3 -
.../common/security/AtlasSecurityConfig.java | 3 +-
.../apache/atlas/web/resources/AdminResource.java | 21 +-
.../apache/atlas/web/resources/EntityResource.java | 6 +
.../java/org/apache/atlas/web/rest/EntityREST.java | 27 +-
.../apache/atlas/web/rest/NotificationREST.java | 132 ----
.../apache/atlas/web/filters/HeaderUtilsTest.java | 1 -
.../atlas/web/integration/NotificationRestIT.java | 32 +-
.../atlas/web/resources/AdminResourceTest.java | 44 +-
.../atlas/web/resources/EntityResourceTest.java | 52 +-
.../web/security/AtlasSecurityConfigTest.java | 6 +
95 files changed, 7374 insertions(+), 1226 deletions(-)
create mode 100644 dashboard/src/components/AuditEntityRefLink.tsx
create mode 100644 dashboard/src/components/ExtractObject.tsx
create mode 100644
dashboard/src/components/__tests__/AuditEntityRefLink.test.tsx
create mode 100644 dashboard/src/components/__tests__/entityRefUtils.test.ts
copy dashboard/src/components/{SkeletonLoader.tsx => entityRefRenderers.tsx}
(52%)
copy dashboard/src/{api/apiUrlLinks/lineageApiUrl.ts =>
components/entityRefUtils.ts} (59%)
create mode 100644
dashboard/src/views/DetailPage/EntityDetailTabs/PropertiesTab/__tests__/BMAttributes.enum.integration.test.tsx
create mode 100644
dashboard/src/views/DetailPage/EntityDetailTabs/PropertiesTab/__tests__/BMAttributesFields.test.tsx
create mode 100644
graphdb/janus/src/test/java/org/apache/atlas/repository/graphdb/janus/OpenSearchJanusConfigurationPassthroughTest.java
copy
graphdb/janus/src/test/java/org/apache/atlas/repository/graphdb/janus/{OpenSearchStateKeywordMappingIT.java
=> OpenSearchLongAttributeMixedIndexIT.java} (75%)
create mode 100644
graphdb/janusgraph-opensearch/src/test/java/org/janusgraph/diskstorage/opensearch/OpenSearchCreateExtrasFromAtlasConfigTest.java
create mode 100644
intg/src/test/java/org/apache/atlas/ApplicationPropertiesOpenSearchMappingLimitTest.java
create mode 100644
intg/src/test/resources/atlas-opensearch-mapping-limit-override-test.properties
create mode 100644
intg/src/test/resources/atlas-opensearch-mapping-limit-test.properties
create mode 100644
notification/src/main/java/org/apache/atlas/security/kafka/AtlasKafkaOAuthHandler.java
create mode 100644
notification/src/test/java/org/apache/atlas/security/kafka/AtlasKafkaOAuthHandlerTest.java
create mode 100644
repository/src/main/java/org/apache/atlas/repository/impexp/ImportFilePathValidator.java
copy
repository/src/test/java/org/apache/atlas/discovery/smoke/{OpenSearchQuickSearchIT.java
=> OpenSearchCustomAttributesQuickSearchIT.java} (70%)
create mode 100644
repository/src/test/java/org/apache/atlas/discovery/smoke/OpenSearchCustomAttributesQuickSearchValidationDriver.java
copy
repository/src/test/java/org/apache/atlas/discovery/smoke/{OpenSearchAggregationsIT.java
=> OpenSearchWeightedFieldFreeTextIT.java} (53%)
create mode 100644
repository/src/test/java/org/apache/atlas/discovery/smoke/OpenSearchWeightedFieldFreeTextValidationDriver.java
create mode 100644
repository/src/test/java/org/apache/atlas/repository/graph/GraphBackedSearchIndexerKeywordSubfieldTest.java
create mode 100644
repository/src/test/java/org/apache/atlas/repository/graph/GraphBackedSearchIndexerMixedIndexRetryTest.java
create mode 100644
repository/src/test/java/org/apache/atlas/repository/impexp/ImportFilePathValidatorTest.java
create mode 100644
repository/src/test/java/org/apache/atlas/util/SearchTrackerTest.java
delete mode 100644
webapp/src/main/java/org/apache/atlas/web/rest/NotificationREST.java