diff --git a/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/GmsGraphQLEngine.java b/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/GmsGraphQLEngine.java index 18f0c42f0268b..7bf892ff2b5d5 100644 --- a/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/GmsGraphQLEngine.java +++ b/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/GmsGraphQLEngine.java @@ -309,9 +309,9 @@ import com.linkedin.datahub.graphql.types.datatype.DataTypeType; import com.linkedin.datahub.graphql.types.domain.DomainType; import com.linkedin.datahub.graphql.types.entitytype.EntityTypeType; -import com.linkedin.datahub.graphql.types.ermodelrelation.CreateERModelRelationshipResolver; -import com.linkedin.datahub.graphql.types.ermodelrelation.ERModelRelationshipType; -import com.linkedin.datahub.graphql.types.ermodelrelation.UpdateERModelRelationshipResolver; +import com.linkedin.datahub.graphql.types.ermodelrelationship.CreateERModelRelationshipResolver; +import com.linkedin.datahub.graphql.types.ermodelrelationship.ERModelRelationshipType; +import com.linkedin.datahub.graphql.types.ermodelrelationship.UpdateERModelRelationshipResolver; import com.linkedin.datahub.graphql.types.form.FormType; import com.linkedin.datahub.graphql.types.glossary.GlossaryNodeType; import com.linkedin.datahub.graphql.types.glossary.GlossaryTermType; @@ -468,7 +468,7 @@ public class GmsGraphQLEngine { private final DataHubPolicyType dataHubPolicyType; private final DataHubRoleType dataHubRoleType; private final SchemaFieldType schemaFieldType; - private final ERModelRelationshipType ermodelrelationType; + private final ERModelRelationshipType erModelRelationshipType; private final DataHubViewType dataHubViewType; private final QueryType queryType; private final DataProductType dataProductType; @@ -580,7 +580,7 @@ public GmsGraphQLEngine(final GmsGraphQLEngineArgs args) { this.dataHubPolicyType = new DataHubPolicyType(entityClient); this.dataHubRoleType = new DataHubRoleType(entityClient); this.schemaFieldType = new SchemaFieldType(entityClient, featureFlags); - this.ermodelrelationType = new ERModelRelationshipType(entityClient, featureFlags); + this.erModelRelationshipType = new ERModelRelationshipType(entityClient, featureFlags); this.dataHubViewType = new DataHubViewType(entityClient); this.queryType = new QueryType(entityClient); this.dataProductType = new DataProductType(entityClient); @@ -626,7 +626,7 @@ public GmsGraphQLEngine(final GmsGraphQLEngineArgs args) { dataHubPolicyType, dataHubRoleType, schemaFieldType, - ermodelrelationType, + erModelRelationshipType, dataHubViewType, queryType, dataProductType, @@ -950,7 +950,7 @@ private void configureQueryResolvers(final RuntimeWiring.Builder builder) { .dataFetcher("glossaryTerm", getResolver(glossaryTermType)) .dataFetcher("glossaryNode", getResolver(glossaryNodeType)) .dataFetcher("domain", getResolver((domainType))) - .dataFetcher("erModelRelationship", getResolver(ermodelrelationType)) + .dataFetcher("erModelRelationship", getResolver(erModelRelationshipType)) .dataFetcher("dataPlatform", getResolver(dataPlatformType)) .dataFetcher("dataPlatformInstance", getResolver(dataPlatformInstanceType)) .dataFetcher("mlFeatureTable", getResolver(mlFeatureTableType)) @@ -2116,10 +2116,10 @@ private void configureERModelRelationshipResolvers(final RuntimeWiring.Builder b new LoadableTypeResolver<>( datasetType, (env) -> { - final ERModelRelationshipProperties ermodelrelationProperties = + final ERModelRelationshipProperties erModelRelationshipProperties = env.getSource(); - return ermodelrelationProperties.getSource() != null - ? ermodelrelationProperties.getSource().getUrn() + return erModelRelationshipProperties.getSource() != null + ? erModelRelationshipProperties.getSource().getUrn() : null; })) .dataFetcher( @@ -2127,10 +2127,10 @@ private void configureERModelRelationshipResolvers(final RuntimeWiring.Builder b new LoadableTypeResolver<>( datasetType, (env) -> { - final ERModelRelationshipProperties ermodelrelationProperties = + final ERModelRelationshipProperties erModelRelationshipProperties = env.getSource(); - return ermodelrelationProperties.getDestination() != null - ? ermodelrelationProperties.getDestination().getUrn() + return erModelRelationshipProperties.getDestination() != null + ? erModelRelationshipProperties.getDestination().getUrn() : null; }))) .type( diff --git a/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelation/CreateERModelRelationshipResolver.java b/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelationship/CreateERModelRelationshipResolver.java similarity index 86% rename from datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelation/CreateERModelRelationshipResolver.java rename to datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelationship/CreateERModelRelationshipResolver.java index 0062ed733732f..8d657a33ff651 100644 --- a/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelation/CreateERModelRelationshipResolver.java +++ b/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelationship/CreateERModelRelationshipResolver.java @@ -1,4 +1,4 @@ -package com.linkedin.datahub.graphql.types.ermodelrelation; +package com.linkedin.datahub.graphql.types.ermodelrelationship; import static com.linkedin.datahub.graphql.resolvers.ResolverUtils.bindArgument; @@ -8,11 +8,11 @@ import com.linkedin.common.urn.Urn; import com.linkedin.datahub.graphql.QueryContext; import com.linkedin.datahub.graphql.exception.AuthorizationException; -import com.linkedin.datahub.graphql.generated.ERModelRelationPropertiesInput; import com.linkedin.datahub.graphql.generated.ERModelRelationship; +import com.linkedin.datahub.graphql.generated.ERModelRelationshipPropertiesInput; import com.linkedin.datahub.graphql.generated.ERModelRelationshipUpdateInput; -import com.linkedin.datahub.graphql.types.ermodelrelation.mappers.ERModelRelationMapper; -import com.linkedin.datahub.graphql.types.ermodelrelation.mappers.ERModelRelationshipUpdateInputMapper; +import com.linkedin.datahub.graphql.types.ermodelrelationship.mappers.ERModelRelationMapper; +import com.linkedin.datahub.graphql.types.ermodelrelationship.mappers.ERModelRelationshipUpdateInputMapper; import com.linkedin.entity.client.EntityClient; import com.linkedin.metadata.service.ERModelRelationshipService; import com.linkedin.mxe.MetadataChangeProposal; @@ -40,10 +40,11 @@ public CompletableFuture get(DataFetchingEnvironment enviro final ERModelRelationshipUpdateInput input = bindArgument(environment.getArgument("input"), ERModelRelationshipUpdateInput.class); - final ERModelRelationPropertiesInput ermodelrelationPropertiesInput = input.getProperties(); - String ermodelrelationName = ermodelrelationPropertiesInput.getName(); - String source = ermodelrelationPropertiesInput.getSource(); - String destination = ermodelrelationPropertiesInput.getDestination(); + final ERModelRelationshipPropertiesInput erModelRelationshipPropertiesInput = + input.getProperties(); + String ermodelrelationName = erModelRelationshipPropertiesInput.getName(); + String source = erModelRelationshipPropertiesInput.getSource(); + String destination = erModelRelationshipPropertiesInput.getDestination(); String lowDataset = source; String highDataset = destination; diff --git a/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelation/ERModelRelationshipType.java b/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelationship/ERModelRelationshipType.java similarity index 98% rename from datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelation/ERModelRelationshipType.java rename to datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelationship/ERModelRelationshipType.java index 810a27c674ce3..684680597f54d 100644 --- a/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelation/ERModelRelationshipType.java +++ b/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelationship/ERModelRelationshipType.java @@ -1,4 +1,4 @@ -package com.linkedin.datahub.graphql.types.ermodelrelation; +package com.linkedin.datahub.graphql.types.ermodelrelationship; import static com.linkedin.datahub.graphql.Constants.*; import static com.linkedin.metadata.Constants.*; @@ -26,7 +26,7 @@ import com.linkedin.datahub.graphql.resolvers.ResolverUtils; import com.linkedin.datahub.graphql.types.BrowsableEntityType; import com.linkedin.datahub.graphql.types.SearchableEntityType; -import com.linkedin.datahub.graphql.types.ermodelrelation.mappers.ERModelRelationMapper; +import com.linkedin.datahub.graphql.types.ermodelrelationship.mappers.ERModelRelationMapper; import com.linkedin.datahub.graphql.types.mappers.AutoCompleteResultsMapper; import com.linkedin.datahub.graphql.types.mappers.BrowsePathsMapper; import com.linkedin.datahub.graphql.types.mappers.BrowseResultMapper; diff --git a/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelation/UpdateERModelRelationshipResolver.java b/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelationship/UpdateERModelRelationshipResolver.java similarity index 94% rename from datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelation/UpdateERModelRelationshipResolver.java rename to datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelationship/UpdateERModelRelationshipResolver.java index 3bdc04a1278d0..14d3a14fd6c42 100644 --- a/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelation/UpdateERModelRelationshipResolver.java +++ b/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelationship/UpdateERModelRelationshipResolver.java @@ -1,4 +1,4 @@ -package com.linkedin.datahub.graphql.types.ermodelrelation; +package com.linkedin.datahub.graphql.types.ermodelrelationship; import static com.linkedin.datahub.graphql.resolvers.ResolverUtils.bindArgument; @@ -7,7 +7,7 @@ import com.linkedin.datahub.graphql.QueryContext; import com.linkedin.datahub.graphql.exception.AuthorizationException; import com.linkedin.datahub.graphql.generated.ERModelRelationshipUpdateInput; -import com.linkedin.datahub.graphql.types.ermodelrelation.mappers.ERModelRelationshipUpdateInputMapper; +import com.linkedin.datahub.graphql.types.ermodelrelationship.mappers.ERModelRelationshipUpdateInputMapper; import com.linkedin.entity.client.EntityClient; import com.linkedin.mxe.MetadataChangeProposal; import com.linkedin.r2.RemoteInvocationException; diff --git a/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelation/mappers/ERModelRelationMapper.java b/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelationship/mappers/ERModelRelationMapper.java similarity index 97% rename from datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelation/mappers/ERModelRelationMapper.java rename to datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelationship/mappers/ERModelRelationMapper.java index 8a5c241d6bfa1..f8649cadca9c4 100644 --- a/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelation/mappers/ERModelRelationMapper.java +++ b/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelationship/mappers/ERModelRelationMapper.java @@ -1,4 +1,4 @@ -package com.linkedin.datahub.graphql.types.ermodelrelation.mappers; +package com.linkedin.datahub.graphql.types.ermodelrelationship.mappers; import static com.linkedin.metadata.Constants.*; @@ -128,7 +128,7 @@ private void mapProperties( ? ermodelrelationProperties.getCreated().getTime() : 0) .setRelationshipFieldMappings( - ermodelrelationProperties.hasRelationshipfieldMappings() + ermodelrelationProperties.hasRelationshipFieldMappings() ? this.mapERModelRelationFieldMappings(ermodelrelationProperties) : null) .build()); @@ -156,7 +156,7 @@ private List mapERModelRelationFieldMappings( final List relationshipFieldMappingList = new ArrayList<>(); ermodelrelationProperties - .getRelationshipfieldMappings() + .getRelationshipFieldMappings() .forEach( relationshipFieldMapping -> relationshipFieldMappingList.add( diff --git a/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelation/mappers/ERModelRelationshipUpdateInputMapper.java b/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelationship/mappers/ERModelRelationshipUpdateInputMapper.java similarity index 93% rename from datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelation/mappers/ERModelRelationshipUpdateInputMapper.java rename to datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelationship/mappers/ERModelRelationshipUpdateInputMapper.java index bd892bc147d09..7c957bab77b68 100644 --- a/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelation/mappers/ERModelRelationshipUpdateInputMapper.java +++ b/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/ermodelrelationship/mappers/ERModelRelationshipUpdateInputMapper.java @@ -1,4 +1,4 @@ -package com.linkedin.datahub.graphql.types.ermodelrelation.mappers; +package com.linkedin.datahub.graphql.types.ermodelrelationship.mappers; import static com.linkedin.metadata.Constants.*; @@ -6,8 +6,8 @@ import com.linkedin.common.urn.DatasetUrn; import com.linkedin.common.urn.Urn; import com.linkedin.data.template.SetMode; -import com.linkedin.datahub.graphql.generated.ERModelRelationEditablePropertiesUpdate; -import com.linkedin.datahub.graphql.generated.ERModelRelationPropertiesInput; +import com.linkedin.datahub.graphql.generated.ERModelRelationshipEditablePropertiesUpdate; +import com.linkedin.datahub.graphql.generated.ERModelRelationshipPropertiesInput; import com.linkedin.datahub.graphql.generated.ERModelRelationshipUpdateInput; import com.linkedin.datahub.graphql.generated.RelationshipFieldMappingInput; import com.linkedin.datahub.graphql.types.common.mappers.util.UpdateMappingHelper; @@ -56,7 +56,7 @@ public Collection apply(ERModelRelationshipUpdateInput i } if (input.getEditableProperties() != null) { final EditableERModelRelationshipProperties editableERModelRelationProperties = - ermodelrelationEditablePropsSettings(input.getEditableProperties()); + ermodelrelationshipEditablePropsSettings(input.getEditableProperties()); proposals.add( updateMappingHelper.aspectToProposal( editableERModelRelationProperties, @@ -66,7 +66,7 @@ public Collection apply(ERModelRelationshipUpdateInput i } private ERModelRelationshipProperties createERModelRelationProperties( - ERModelRelationPropertiesInput inputProperties, AuditStamp auditstamp) { + ERModelRelationshipPropertiesInput inputProperties, AuditStamp auditstamp) { com.linkedin.ermodelrelation.ERModelRelationshipProperties ermodelrelationProperties = new com.linkedin.ermodelrelation.ERModelRelationshipProperties(); if (inputProperties.getName() != null) { @@ -91,7 +91,7 @@ private ERModelRelationshipProperties createERModelRelationProperties( ermodelrelationFieldMappingSettings(inputProperties.getRelationshipFieldmappings()); ermodelrelationProperties.setCardinality( ermodelrelationCardinalitySettings(inputProperties.getRelationshipFieldmappings())); - ermodelrelationProperties.setRelationshipfieldMappings(relationshipFieldMappingsArray); + ermodelrelationProperties.setRelationshipFieldMappings(relationshipFieldMappingsArray); } if (inputProperties.getCreated() != null && inputProperties.getCreated()) { @@ -174,8 +174,8 @@ private List mapRelations return relationshipFieldMappingList; } - private static EditableERModelRelationshipProperties ermodelrelationEditablePropsSettings( - ERModelRelationEditablePropertiesUpdate editPropsInput) { + private static EditableERModelRelationshipProperties ermodelrelationshipEditablePropsSettings( + ERModelRelationshipEditablePropertiesUpdate editPropsInput) { final EditableERModelRelationshipProperties editableERModelRelationProperties = new EditableERModelRelationshipProperties(); if (editPropsInput.getName() != null && editPropsInput.getName().trim().length() > 0) { diff --git a/datahub-graphql-core/src/main/resources/entity.graphql b/datahub-graphql-core/src/main/resources/entity.graphql index ea4d0246a5ebf..c217620dbf6cd 100644 --- a/datahub-graphql-core/src/main/resources/entity.graphql +++ b/datahub-graphql-core/src/main/resources/entity.graphql @@ -239,7 +239,7 @@ type Query { } """ -An ERModelRelationship is a high-level abstraction that dictates what datasets fields are ermodelrelationed. +An ERModelRelationship is a high-level abstraction that dictates what datasets fields are erModelRelationshiped. """ type ERModelRelationship implements EntityWithRelationships & Entity { """ @@ -343,7 +343,7 @@ type ERModelRelationshipProperties { destination: Dataset! """ - The ermodelrelationFieldMappings + The relationFieldMappings """ relationshipFieldMappings: [RelationshipFieldMapping!] @@ -4715,14 +4715,14 @@ input DatasetEditablePropertiesUpdate { """ Update to writable Dataset fields """ -input ERModelRelationEditablePropertiesUpdate { +input ERModelRelationshipEditablePropertiesUpdate { """ - Display name of the ERModelRelation + Display name of the ERModelRelationship """ name: String """ - Writable description for ERModelRelation + Writable description for ERModelRelationship """ description: String! } @@ -4846,63 +4846,63 @@ input CreateTagInput { } """ -Input required to create/update a new ERModelRelation +Input required to create/update a new ERModelRelationship """ input ERModelRelationshipUpdateInput { """ - Details about the ERModelRelation + Details about the ERModelRelationship """ - properties: ERModelRelationPropertiesInput + properties: ERModelRelationshipPropertiesInput """ Update to editable properties """ - editableProperties: ERModelRelationEditablePropertiesUpdate + editableProperties: ERModelRelationshipEditablePropertiesUpdate } """ -Details about the ERModelRelation +Details about the ERModelRelationship """ -input ERModelRelationPropertiesInput { +input ERModelRelationshipPropertiesInput { """ - Details about the ERModelRelation + Details about the ERModelRelationship """ name: String! """ - Details about the ERModelRelation + Details about the ERModelRelationship """ source: String! """ - Details about the ERModelRelation + Details about the ERModelRelationship """ destination: String! """ - Details about the ERModelRelation + Details about the ERModelRelationship """ relationshipFieldmappings: [RelationshipFieldMappingInput!] """ - optional flag about the ERModelRelation is getting create + optional flag about the ERModelRelationship is getting create """ created: Boolean """ - optional field to prevent created time while the ERModelRelation is getting update + optional field to prevent created time while the ERModelRelationship is getting update """ createdAt: Long """ - optional field to prevent create actor while the ERModelRelation is getting update + optional field to prevent create actor while the ERModelRelationship is getting update """ createdBy: String } """ -Details about the ERModelRelation +Details about the ERModelRelationship """ input RelationshipFieldMappingInput { """ - Details about the ERModelRelation + Details about the ERModelRelationship """ sourceField: String """ - Details about the ERModelRelation + Details about the ERModelRelationship """ destinationField: String } diff --git a/datahub-web-react/src/app/entity/ermodelrelationships/preview/ERModelRelationshipPreviewCard.tsx b/datahub-web-react/src/app/entity/ermodelrelationships/preview/ERModelRelationshipPreviewCard.tsx index 863847913603e..33669485f18c6 100644 --- a/datahub-web-react/src/app/entity/ermodelrelationships/preview/ERModelRelationshipPreviewCard.tsx +++ b/datahub-web-react/src/app/entity/ermodelrelationships/preview/ERModelRelationshipPreviewCard.tsx @@ -32,11 +32,11 @@ export const ERModelRelationshipPreviewCard = ({ name={name || ''} urn={urn} description={description || ''} - logoComponent={ERModelRelation} + logoComponent={ERModelRelationship} tags={globalTags || undefined} glossaryTerms={glossaryTerms || undefined} owners={owners} - type="ERModelRelation" + type="ERModelRelationship" typeIcon={entityRegistry.getIcon(EntityType.ErModelRelationship, 14, IconStyleType.ACCENT)} titleSizePx={18} /> diff --git a/datahub-web-react/src/app/entity/shared/components/styled/ERModelRelationship/ERModelRelationPreview.less b/datahub-web-react/src/app/entity/shared/components/styled/ERModelRelationship/ERModelRelationPreview.less index 8583a2e1b43dd..f71daad58d180 100644 --- a/datahub-web-react/src/app/entity/shared/components/styled/ERModelRelationship/ERModelRelationPreview.less +++ b/datahub-web-react/src/app/entity/shared/components/styled/ERModelRelationship/ERModelRelationPreview.less @@ -4,6 +4,7 @@ .preview-main-div{ display: flex; justify-content: space-between; + margin-left: 12px; } .div-edit-img img { height: 15px; diff --git a/datahub-web-react/src/app/entity/shared/components/styled/ERModelRelationship/ERModelRelationPreview.tsx b/datahub-web-react/src/app/entity/shared/components/styled/ERModelRelationship/ERModelRelationPreview.tsx index 6ff79f77de1b7..a033f9d4a3574 100644 --- a/datahub-web-react/src/app/entity/shared/components/styled/ERModelRelationship/ERModelRelationPreview.tsx +++ b/datahub-web-react/src/app/entity/shared/components/styled/ERModelRelationship/ERModelRelationPreview.tsx @@ -36,25 +36,25 @@ export const ERModelRelationPreview = ({ ermodelrelationData, baseEntityUrn, pre ? getDatasetName(ermodelrelationData?.properties?.source) : getDatasetName(ermodelrelationData?.properties?.destination); const table1Name = - shuffleFlag && prePageType !== 'ERModelRelation' + shuffleFlag && prePageType !== 'ERModelRelationship' ? ermodelrelationData?.properties?.destination?.name : ermodelrelationData?.properties?.source?.name; const table2Name = - shuffleFlag && prePageType !== 'ERModelRelation' + shuffleFlag && prePageType !== 'ERModelRelationship' ? ermodelrelationData?.properties?.source?.name : ermodelrelationData?.properties?.destination?.name; const table1Urn = - shuffleFlag && prePageType !== 'ERModelRelation' + shuffleFlag && prePageType !== 'ERModelRelationship' ? ermodelrelationData?.properties?.destination?.urn : ermodelrelationData?.properties?.source?.urn; const table2Urn = - shuffleFlag && prePageType !== 'ERModelRelation' + shuffleFlag && prePageType !== 'ERModelRelationship' ? ermodelrelationData?.properties?.source?.urn : ermodelrelationData?.properties?.destination?.urn; const ermodelrelationHeader = ermodelrelationData?.editableProperties?.name || ermodelrelationData?.properties?.name || ''; function getFieldMap(): ERModelRelationRecord[] { const newData = [] as ERModelRelationRecord[]; - if (shuffleFlag && prePageType !== 'ERModelRelation') { + if (shuffleFlag && prePageType !== 'ERModelRelationship') { ermodelrelationData?.properties?.relationshipFieldMappings?.map((item) => { return newData.push({ sourceField: item.destinationField, @@ -78,7 +78,7 @@ export const ERModelRelationPreview = ({ ermodelrelationData, baseEntityUrn, pre
{table1EditableName || table1Name}
- {prePageType === 'ERModelRelation' && ( + {prePageType === 'ERModelRelationship' && (
diff --git a/metadata-models/src/main/pegasus/com/linkedin/ermodelrelation/ERModelRelationshipProperties.pdl b/metadata-models/src/main/pegasus/com/linkedin/ermodelrelation/ERModelRelationshipProperties.pdl index 4b79f7e8baa00..6fbfcbd97246e 100644 --- a/metadata-models/src/main/pegasus/com/linkedin/ermodelrelation/ERModelRelationshipProperties.pdl +++ b/metadata-models/src/main/pegasus/com/linkedin/ermodelrelation/ERModelRelationshipProperties.pdl @@ -54,7 +54,7 @@ record ERModelRelationshipProperties includes CustomProperties { /** * ERModelRelationFieldMapping (in future we can make it an array) */ - relationshipfieldMappings: array [RelationshipFieldMapping] + relationshipFieldMappings: array [RelationshipFieldMapping] /** * A timestamp documenting when the asset was created in the source Data Platform (not on DataHub)