HUE-9073 [fb] Only enable IDBroker when on cloud.

Review Request #14498 — Created Nov. 15, 2019 and submitted

jgauthier
hue
master
HUE-9073
hue
jgauthier, johan, ranade, romain, weixia, yingc
commit 968a73dc90d2325f814496e280105acc5623fe99
Author: Jean-Francois Desjeans Gauthier <jf.desjeans.gauthier@gmail.com>
Date:   Fri Nov 15 16:26:54 2019 -0800

    HUE-9073 [fb] Only enable IDBroker when on cloud.
    
    We currently enable S3 when IDBroker is configured with S3:
    https://github.com/cloudera/hue/blob/6db70177fc1c6955340da4d7475cdda5c44c2aef/desktop/libs/aws/src/aws/conf.py#L248,
    https://github.com/cloudera/hue/blob/6db70177fc1c6955340da4d7475cdda5c44c2aef/desktop/core/src/desktop/lib/idbroker/conf.py#L60
    However, I'm noticing on that IDBroker is always configured with all 3
    cloud providers.
    Furthermore, the CM cloud connector is not being used in CDP so CM is
    currently not configuring Hue with anything. For now only enable cloud
    storage is it's specifically configured or if on cloud and IDBroker
    enabled.

:100644 100644 ffd0c81352... 3e76831e9a... M	desktop/libs/aws/src/aws/conf.py
:100644 100644 ca30f4371d... a6e8bdac35... M	desktop/libs/aws/src/aws/tests.py
:100644 100644 ba6b7ca432... 80c07c1d55... M	desktop/libs/azure/src/azure/conf.py
:100644 100644 fb1f65a553... deb6aae117... M	desktop/libs/azure/src/azure/tests.py


romain
  1. Ship It!
  2. 
      
jgauthier
Review request changed

Status: Closed (submitted)

Loading...