Skip to content

Commit

Permalink
Merge branch 'master' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
pinakipb2 authored Oct 1, 2024
2 parents d7504da + dea17d4 commit 9342689
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 929 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const QuickstartContent = ({}) => {
duration: .75
}
}}
viewport={{ once: true, amount: .2 }}
viewport={{ once: true, amount: .4 }}
>
<div className="quickstart__text">
<div className="quickstart__text__label">{data.heading}</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@

:global {
.quickstart__header {
// text-align: center;
text-align: center;
margin-bottom: 100px;

.quickstart__title,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@
}

.carousalWrapper{
width: 50%;
min-width: 280px;
width: 40%;
min-width: 300px;
}

.carousalWrapper::before,
Expand Down
3 changes: 3 additions & 0 deletions docs/dev-guides/timeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ based on timestamp. A `ChangeEvent` consists of:
- `elementId`: Optional, the ID of the element being applied to the target
- `description`: A human readable description of the change produced by the `Differ` type computing the diff
- `changeDetails`: A loose property map of additional details about the change
- `modificationCategory`: Specifies the type of modification made to a schema field within an Entity change event. Options are `RENAME`, `TYPE_CHANGE` and `OTHER`.

### Change Event Examples
- A tag was applied to a *field* of a dataset through the UI:
Expand All @@ -41,12 +42,14 @@ based on timestamp. A `ChangeEvent` consists of:
- `category`: `TAG`
- `elementId`: `urn:li:tag:<tagName>` -> The ID of the tag being added
- `semVerChange`: `MINOR`
- `modificationCategory`: `OTHER`
- A tag was added directly at the top-level to a dataset through the UI:
- `changeType`: `ADD`
- `target`: `urn:li:dataset:(urn:li:dataPlatform:<platform>,<name>,<fabric_type>)` -> The dataset the tag is being added to
- `category`: `TAG`
- `elementId`: `urn:li:tag:<tagName>` -> The ID of the tag being added
- `semVerChange`: `MINOR`
- `modificationCategory`: `OTHER`

Note the `target` and `elementId` fields in the examples above to familiarize yourself with the semantics.

Expand Down
2 changes: 2 additions & 0 deletions docs/how/updating-datahub.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ This file documents any backwards-incompatible changes in DataHub and assists pe

### Other Notable Changes

- Downgrade to previous version is not automatically supported.

## 0.14.0.2

### Breaking Changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import javax.annotation.Nonnull;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Configuration;
Expand All @@ -27,9 +26,6 @@ public class MCLBootstrapManagerFactory {

@Autowired private ConfigurationProvider _configurationProvider;

@Value("${bootstrap.upgradeDefaultBrowsePaths.enabled}")
private Boolean _upgradeDefaultBrowsePathsEnabled;

@Bean(name = "mclBootstrapManager")
@Scope("singleton")
@Nonnull
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import javax.annotation.Nonnull;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Configuration;
Expand All @@ -27,9 +26,6 @@ public class MCPBootstrapManagerFactory {

@Autowired private ConfigurationProvider _configurationProvider;

@Value("${bootstrap.upgradeDefaultBrowsePaths.enabled}")
private Boolean _upgradeDefaultBrowsePathsEnabled;

@Bean(name = "mcpBootstrapManager")
@Scope("singleton")
@Nonnull
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,12 +343,6 @@ incidents:
consumerGroupSuffix: ${INCIDENTS_HOOK_CONSUMER_GROUP_SUFFIX:}

bootstrap:
upgradeDefaultBrowsePaths:
enabled: ${UPGRADE_DEFAULT_BROWSE_PATHS_ENABLED:false} # enable to run the upgrade to migrate legacy default browse paths to new ones
backfillBrowsePathsV2:
enabled: ${BACKFILL_BROWSE_PATHS_V2:false} # Enables running the backfill of browsePathsV2 upgrade step. There are concerns about the load of this step so hiding it behind a flag. Deprecating in favor of running through SystemUpdate
reprocessDefaultBrowsePathsV2:
enabled: ${REPROCESS_DEFAULT_BROWSE_PATHS_V2:false} # reprocess V2 browse paths which were set to the default: {"path":[{"id":"Default"}]}
policies:
file: ${BOOTSTRAP_POLICIES_FILE:classpath:boot/policies.json}
# eg for local file
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import com.linkedin.metadata.boot.BootstrapManager;
import com.linkedin.metadata.boot.BootstrapStep;
import com.linkedin.metadata.boot.dependencies.BootstrapDependency;
import com.linkedin.metadata.boot.steps.BackfillBrowsePathsV2Step;
import com.linkedin.metadata.boot.steps.IndexDataPlatformsStep;
import com.linkedin.metadata.boot.steps.IngestDataPlatformInstancesStep;
import com.linkedin.metadata.boot.steps.IngestDataPlatformsStep;
Expand All @@ -25,7 +24,6 @@
import com.linkedin.metadata.boot.steps.RestoreColumnLineageIndices;
import com.linkedin.metadata.boot.steps.RestoreDbtSiblingsIndices;
import com.linkedin.metadata.boot.steps.RestoreGlossaryIndices;
import com.linkedin.metadata.boot.steps.UpgradeDefaultBrowsePathsStep;
import com.linkedin.metadata.boot.steps.WaitForSystemUpdateStep;
import com.linkedin.metadata.entity.AspectMigrationsDao;
import com.linkedin.metadata.entity.EntityService;
Expand Down Expand Up @@ -89,12 +87,6 @@ public class BootstrapManagerFactory {

@Autowired private ConfigurationProvider _configurationProvider;

@Value("${bootstrap.upgradeDefaultBrowsePaths.enabled}")
private Boolean _upgradeDefaultBrowsePathsEnabled;

@Value("${bootstrap.backfillBrowsePathsV2.enabled}")
private Boolean _backfillBrowsePathsV2Enabled;

@Value("${bootstrap.policies.file}")
private Resource _policiesResource;

Expand Down Expand Up @@ -154,14 +146,6 @@ protected BootstrapManager createInstance(
ingestDataTypesStep,
ingestEntityTypesStep));

if (_upgradeDefaultBrowsePathsEnabled) {
finalSteps.add(new UpgradeDefaultBrowsePathsStep(_entityService));
}

if (_backfillBrowsePathsV2Enabled) {
finalSteps.add(new BackfillBrowsePathsV2Step(_entityService, _searchService));
}

return new BootstrapManager(finalSteps);
}
}

This file was deleted.

Loading

0 comments on commit 9342689

Please sign in to comment.