Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into looker-test-conne…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
shirshanka committed Sep 5, 2022
2 parents 2f0ea16 + 13f20ad commit d4a4217
Show file tree
Hide file tree
Showing 76 changed files with 2,110 additions and 1,128 deletions.
4 changes: 2 additions & 2 deletions datahub-frontend/conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ ui.new.browse.dataset = true

# React App Authentication
# ~~~~~
# React currently supports OIDC SSO + self-configured JAAS (same as Ember) for authentication. Below you can find the supported configurations for
# React currently supports OIDC SSO + self-configured JAAS for authentication. Below you can find the supported configurations for
# each mechanism.
#
# Required OIDC Configuration Values:
Expand Down Expand Up @@ -232,4 +232,4 @@ metadataService.auth.enabled=${?METADATA_SERVICE_AUTH_ENABLED}
systemClientId = __datahub_system # Change this to something random.
systemClientSecret = JohnSnowKnowsNothing # Along with this.
systemClientId=${?DATAHUB_SYSTEM_CLIENT_ID}
systemClientSecret=${?DATAHUB_SYSTEM_CLIENT_SECRET}
systemClientSecret=${?DATAHUB_SYSTEM_CLIENT_SECRET}
6 changes: 1 addition & 5 deletions datahub-frontend/play.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ configurations {
}

dependencies {
if (project.hasProperty('enableEmber') && project.getProperty('enableEmber').toBoolean()) {
assets project(path: ':datahub-web', configuration: 'assets')
} else {
assets project(path: ':datahub-web-react', configuration: 'assets')
}
assets project(path: ':datahub-web-react', configuration: 'assets')

constraints {
play('org.springframework:spring-core:5.2.3.RELEASE')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ public CompletableFuture<AppConfig> get(final DataFetchingEnvironment environmen
final VisualConfig visualConfig = new VisualConfig();
if (_visualConfiguration != null && _visualConfiguration.getAssets() != null) {
visualConfig.setLogoUrl(_visualConfiguration.getAssets().getLogoUrl());
visualConfig.setFaviconUrl(_visualConfiguration.getAssets().getFaviconUrl());
}
appConfig.setVisualConfig(visualConfig);

Expand Down
5 changes: 5 additions & 0 deletions datahub-graphql-core/src/main/resources/app.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,11 @@ type VisualConfig {
Custom logo url for the homepage & top banner
"""
logoUrl: String

"""
Custom favicon url for the homepage & top banner
"""
faviconUrl: String
}

"""
Expand Down
Loading

0 comments on commit d4a4217

Please sign in to comment.