Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
jayasimhankv authored Oct 3, 2023
2 parents b281f30 + acaf950 commit a83ef8c
Show file tree
Hide file tree
Showing 25 changed files with 441 additions and 110 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ project.ext.externalDependency = [
'springBootStarterValidation': "org.springframework.boot:spring-boot-starter-validation:$springBootVersion",
'springKafka': 'org.springframework.kafka:spring-kafka:2.8.11',
'springActuator': "org.springframework.boot:spring-boot-starter-actuator:$springBootVersion",
'swaggerAnnotations': 'io.swagger.core.v3:swagger-annotations:2.1.12',
'swaggerCli': 'io.swagger.codegen.v3:swagger-codegen-cli:3.0.41',
'swaggerAnnotations': 'io.swagger.core.v3:swagger-annotations:2.2.15',
'swaggerCli': 'io.swagger.codegen.v3:swagger-codegen-cli:3.0.46',
'testngJava8': 'org.testng:testng:7.5.1',
'testng': 'org.testng:testng:7.8.0',
'testContainers': 'org.testcontainers:testcontainers:' + testContainersVersion,
Expand Down
29 changes: 24 additions & 5 deletions buildSrc/src/main/java/io/datahubproject/OpenApiEntities.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.fasterxml.jackson.dataformat.yaml.YAMLFactory;
import com.fasterxml.jackson.dataformat.yaml.YAMLMapper;
import com.google.common.collect.ImmutableSet;
import com.linkedin.metadata.models.registry.config.Entities;
import com.linkedin.metadata.models.registry.config.Entity;
import org.gradle.internal.Pair;
Expand All @@ -16,7 +17,12 @@
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
import java.util.*;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.Set;
import java.util.Spliterator;
import java.util.Spliterators;
import java.util.function.Function;
import java.util.stream.Collectors;
import java.util.stream.Stream;
Expand All @@ -37,10 +43,23 @@ public class OpenApiEntities {
private String entityRegistryYaml;
private Path combinedDirectory;

private final static Set<String> SUPPORTED_ASPECT_PATHS = Set.of(
"domains", "ownership", "deprecation", "status", "globalTags", "glossaryTerms", "dataContractInfo",
"browsePathsV2"
);
private final static ImmutableSet<Object> SUPPORTED_ASPECT_PATHS = ImmutableSet.builder()
.add("domains")
.add("ownership")
.add("deprecation")
.add("status")
.add("globalTags")
.add("glossaryTerms")
.add("dataContractInfo")
.add("browsePathsV2")
.add("datasetProperties").add("editableDatasetProperties")
.add("chartInfo").add("editableChartProperties")
.add("dashboardInfo").add("editableDashboardProperties")
.add("notebookInfo").add("editableNotebookProperties")
.add("dataProductProperties")
.add("institutionalMemory")
.build();


public OpenApiEntities(JsonNodeFactory NODE_FACTORY) {
this.NODE_FACTORY = NODE_FACTORY;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public class EntityTypeMapper {
ImmutableMap.<EntityType, String>builder()
.put(EntityType.DATASET, "dataset")
.put(EntityType.ROLE, "role")
.put(EntityType.ASSERTION, Constants.ASSERTION_ENTITY_NAME)
.put(EntityType.CORP_USER, "corpuser")
.put(EntityType.CORP_GROUP, "corpGroup")
.put(EntityType.DATA_PLATFORM, "dataPlatform")
Expand All @@ -25,6 +26,7 @@ public class EntityTypeMapper {
.put(EntityType.TAG, "tag")
.put(EntityType.DATA_FLOW, "dataFlow")
.put(EntityType.DATA_JOB, "dataJob")
.put(EntityType.DATA_PROCESS_INSTANCE, Constants.DATA_PROCESS_INSTANCE_ENTITY_NAME)
.put(EntityType.GLOSSARY_TERM, "glossaryTerm")
.put(EntityType.GLOSSARY_NODE, "glossaryNode")
.put(EntityType.MLMODEL, "mlModel")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class DataProductEntity implements Entity<DataProduct> {

isSearchEnabled = () => true;

isBrowseEnabled = () => false;
isBrowseEnabled = () => true;

isLineageEnabled = () => false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function DemoButton() {
return (
<StyledButton
type="primary"
href="https://www.acryldata.io/datahub-sign-up"
href="https://www.acryldata.io/datahub-sign-up?utm_source=datahub&utm_medium=referral&utm_campaign=acryl_signup"
target="_blank"
rel="noopener noreferrer"
>
Expand Down
2 changes: 1 addition & 1 deletion datahub-web-react/src/app/home/AcrylDemoBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function AcrylDemoBanner() {
<TextContent>
DataHub is already the industry&apos;s #1 Open Source Data Catalog.{' '}
<StyledLink
href="https://www.acryldata.io/datahub-sign-up"
href="https://www.acryldata.io/datahub-sign-up?utm_source=datahub&utm_medium=referral&utm_campaign=acryl_signup"
target="_blank"
rel="noopener noreferrer"
>
Expand Down
1 change: 1 addition & 0 deletions datahub-web-react/src/app/home/HomePageRecommendations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ const simpleViewEntityTypes = [
EntityType.Dashboard,
EntityType.GlossaryNode,
EntityType.GlossaryTerm,
EntityType.DataProduct,
];

export const HomePageRecommendations = ({ user }: Props) => {
Expand Down
2 changes: 1 addition & 1 deletion docs-website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {
announcementBar: {
id: "announcement",
content:
'<div><img src="/img/acryl-logo-white-mark.svg" /><p><strong>Managed DataHub</strong><span> &nbsp;Acryl Data delivers an easy to consume DataHub platform for the enterprise</span></p></div> <a href="https://www.acryldata.io/datahub-sign-up" target="_blank" class="button button--primary">Sign up for Managed DataHub&nbsp;→</a>',
'<div><img src="/img/acryl-logo-white-mark.svg" /><p><strong>Managed DataHub</strong><span> &nbsp;Acryl Data delivers an easy to consume DataHub platform for the enterprise</span></p></div> <a href="https://www.acryldata.io/datahub-sign-up?utm_source=datahub&utm_medium=referral&utm_campaign=acryl_signup" target="_blank" class="button button--primary">Sign up for Managed DataHub&nbsp;→</a>',
backgroundColor: "#070707",
textColor: "#ffffff",
isCloseable: false,
Expand Down
6 changes: 3 additions & 3 deletions docs-website/src/pages/_components/CardCTAs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ const cardsContent = [
{
label: "Data Mesh",
title: "Data Products, Delivered",
url: "https://www.acryldata.io/blog/data-products-in-datahub-everything-you-need-to-know",
url: "https://www.acryldata.io/blog/data-products-in-datahub-everything-you-need-to-know?utm_source=datahub&utm_medium=referral&utm_content=blog",
},
{
label: "Data Contracts",
title: "End-to-end Reliability in Data",
url: "https://www.acryldata.io/blog/data-contracts-in-datahub-combining-verifiability-with-holistic-data-management",
url: "https://www.acryldata.io/blog/data-contracts-in-datahub-combining-verifiability-with-holistic-data-management?utm_source=datahub&utm_medium=referral&utm_content=blog",
},
{
label: "Shift Left",
title: "Developer-friendly Data Governance",
url: "https://www.acryldata.io/blog/the-3-must-haves-of-metadata-management-part-2",
url: "https://www.acryldata.io/blog/the-3-must-haves-of-metadata-management-part-2?utm_source=datahub&utm_medium=referral&utm_content=blog",
},
];

Expand Down
2 changes: 1 addition & 1 deletion docs-website/src/pages/_components/Section/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const PromoSection = () => (
<img src={useBaseUrl("/img/acryl-logo-white-mark.svg")} />
<h2>Managed DataHub</h2>
<p>Acryl Data delivers an easy to consume DataHub platform for the enterprise</p>
<a href="https://www.acryldata.io/datahub-beta" target="_blank" className="button button--primary button--lg">
<a href="https://www.acryldata.io/datahub-sign-up?utm_source=datahub&utm_medium=referral&utm_campaign=acryl_signup" target="_blank" className="button button--primary button--lg">
Sign up for Managed DataHub →
</a>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/saas.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ Sign up for fully managed, hassle-free and secure SaaS service for DataHub, prov
<p>
<a
className="button button--primary button--lg"
href="https://www.acryldata.io/datahub-beta"
href="https://www.acryldata.io/datahub-sign-up?utm_source=datahub&utm_medium=referral&utm_campaign=acryl_signup"
target="_blank" >
Sign up
</a>
</p>

Refer to [Managed Datahub Exclusives](/docs/managed-datahub/managed-datahub-overview.md) for more information.
Refer to [Managed Datahub Exclusives](/docs/managed-datahub/managed-datahub-overview.md) for more information.
Original file line number Diff line number Diff line change
Expand Up @@ -351,3 +351,5 @@ cache:
status: 20
corpUserCredentials: 20
corpUserSettings: 20

springdoc.api-docs.groups.enabled: true

This file was deleted.

Loading

0 comments on commit a83ef8c

Please sign in to comment.