forked from datahub-project/datahub
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'datahub-project:master' into master
- Loading branch information
Showing
89 changed files
with
1,516 additions
and
1,138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React from 'react'; | ||
import { EntityRegistryContext } from '../entityRegistryContext'; | ||
import useBuildEntityRegistry from './useBuildEntityRegistry'; | ||
|
||
const EntityRegistryProvider = ({ children }: { children: React.ReactNode }) => { | ||
const entityRegistry = useBuildEntityRegistry(); | ||
return <EntityRegistryContext.Provider value={entityRegistry}>{children}</EntityRegistryContext.Provider>; | ||
}; | ||
|
||
export default EntityRegistryProvider; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import EntityRegistry from './entity/EntityRegistry'; | ||
import { DashboardEntity } from './entity/dashboard/DashboardEntity'; | ||
import { ChartEntity } from './entity/chart/ChartEntity'; | ||
import { UserEntity } from './entity/user/User'; | ||
import { GroupEntity } from './entity/group/Group'; | ||
import { DatasetEntity } from './entity/dataset/DatasetEntity'; | ||
import { DataFlowEntity } from './entity/dataFlow/DataFlowEntity'; | ||
import { DataJobEntity } from './entity/dataJob/DataJobEntity'; | ||
import { TagEntity } from './entity/tag/Tag'; | ||
import { GlossaryTermEntity } from './entity/glossaryTerm/GlossaryTermEntity'; | ||
import { MLFeatureEntity } from './entity/mlFeature/MLFeatureEntity'; | ||
import { MLPrimaryKeyEntity } from './entity/mlPrimaryKey/MLPrimaryKeyEntity'; | ||
import { MLFeatureTableEntity } from './entity/mlFeatureTable/MLFeatureTableEntity'; | ||
import { MLModelEntity } from './entity/mlModel/MLModelEntity'; | ||
import { MLModelGroupEntity } from './entity/mlModelGroup/MLModelGroupEntity'; | ||
import { DomainEntity } from './entity/domain/DomainEntity'; | ||
import { ContainerEntity } from './entity/container/ContainerEntity'; | ||
import GlossaryNodeEntity from './entity/glossaryNode/GlossaryNodeEntity'; | ||
import { DataPlatformEntity } from './entity/dataPlatform/DataPlatformEntity'; | ||
import { DataProductEntity } from './entity/dataProduct/DataProductEntity'; | ||
import { DataPlatformInstanceEntity } from './entity/dataPlatformInstance/DataPlatformInstanceEntity'; | ||
import { RoleEntity } from './entity/Access/RoleEntity'; | ||
|
||
export default function buildEntityRegistry() { | ||
const registry = new EntityRegistry(); | ||
registry.register(new DatasetEntity()); | ||
registry.register(new DashboardEntity()); | ||
registry.register(new ChartEntity()); | ||
registry.register(new UserEntity()); | ||
registry.register(new GroupEntity()); | ||
registry.register(new TagEntity()); | ||
registry.register(new DataFlowEntity()); | ||
registry.register(new DataJobEntity()); | ||
registry.register(new GlossaryTermEntity()); | ||
registry.register(new MLFeatureEntity()); | ||
registry.register(new MLPrimaryKeyEntity()); | ||
registry.register(new MLFeatureTableEntity()); | ||
registry.register(new MLModelEntity()); | ||
registry.register(new MLModelGroupEntity()); | ||
registry.register(new DomainEntity()); | ||
registry.register(new ContainerEntity()); | ||
registry.register(new GlossaryNodeEntity()); | ||
registry.register(new RoleEntity()); | ||
registry.register(new DataPlatformEntity()); | ||
registry.register(new DataProductEntity()); | ||
registry.register(new DataPlatformInstanceEntity()); | ||
return registry; | ||
} |
Oops, something went wrong.