forked from datahub-project/datahub
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(graphql): make graphqlengine easier to use (datahub-project#…
- Loading branch information
1 parent
c1015f0
commit 36f2ba0
Showing
3 changed files
with
139 additions
and
115 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
70 changes: 70 additions & 0 deletions
70
datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/GmsGraphQLEngineArgs.java
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,70 @@ | ||
package com.linkedin.datahub.graphql; | ||
|
||
import com.datahub.authentication.AuthenticationConfiguration; | ||
import com.datahub.authentication.group.GroupService; | ||
import com.datahub.authentication.invite.InviteTokenService; | ||
import com.datahub.authentication.post.PostService; | ||
import com.datahub.authentication.token.StatefulTokenService; | ||
import com.datahub.authentication.user.NativeUserService; | ||
import com.datahub.authorization.AuthorizationConfiguration; | ||
import com.datahub.authorization.role.RoleService; | ||
import com.linkedin.datahub.graphql.analytics.service.AnalyticsService; | ||
import com.linkedin.datahub.graphql.featureflags.FeatureFlags; | ||
import com.linkedin.entity.client.EntityClient; | ||
import com.linkedin.metadata.config.DataHubConfiguration; | ||
import com.linkedin.metadata.config.IngestionConfiguration; | ||
import com.linkedin.metadata.config.TestsConfiguration; | ||
import com.linkedin.metadata.config.ViewsConfiguration; | ||
import com.linkedin.metadata.config.VisualConfiguration; | ||
import com.linkedin.metadata.entity.EntityService; | ||
import com.linkedin.metadata.graph.GraphClient; | ||
import com.linkedin.metadata.graph.SiblingGraphService; | ||
import com.linkedin.metadata.models.registry.EntityRegistry; | ||
import com.linkedin.metadata.recommendation.RecommendationsService; | ||
import com.linkedin.metadata.secret.SecretService; | ||
import com.linkedin.metadata.service.LineageService; | ||
import com.linkedin.metadata.service.SettingsService; | ||
import com.linkedin.metadata.service.ViewService; | ||
import com.linkedin.metadata.telemetry.TelemetryConfiguration; | ||
import com.linkedin.metadata.timeline.TimelineService; | ||
import com.linkedin.metadata.timeseries.TimeseriesAspectService; | ||
import com.linkedin.metadata.version.GitVersion; | ||
import com.linkedin.usage.UsageClient; | ||
import lombok.Data; | ||
|
||
@Data | ||
public class GmsGraphQLEngineArgs { | ||
EntityClient entityClient; | ||
GraphClient graphClient; | ||
UsageClient usageClient; | ||
AnalyticsService analyticsService; | ||
EntityService entityService; | ||
RecommendationsService recommendationsService; | ||
StatefulTokenService statefulTokenService; | ||
TimeseriesAspectService timeseriesAspectService; | ||
EntityRegistry entityRegistry; | ||
SecretService secretService; | ||
NativeUserService nativeUserService; | ||
IngestionConfiguration ingestionConfiguration; | ||
AuthenticationConfiguration authenticationConfiguration; | ||
AuthorizationConfiguration authorizationConfiguration; | ||
GitVersion gitVersion; | ||
TimelineService timelineService; | ||
boolean supportsImpactAnalysis; | ||
VisualConfiguration visualConfiguration; | ||
TelemetryConfiguration telemetryConfiguration; | ||
TestsConfiguration testsConfiguration; | ||
DataHubConfiguration datahubConfiguration; | ||
ViewsConfiguration viewsConfiguration; | ||
SiblingGraphService siblingGraphService; | ||
GroupService groupService; | ||
RoleService roleService; | ||
InviteTokenService inviteTokenService; | ||
PostService postService; | ||
ViewService viewService; | ||
SettingsService settingsService; | ||
LineageService lineageService; | ||
FeatureFlags featureFlags; | ||
|
||
//any fork specific args should go below this line | ||
} |
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