HUE-7820 [assist] Use the new data catalog for the left and right assist trees

Review Request #12339 - Created Jan. 12, 2018 and submitted

Johan Åhlén
hue
master
hue
enricoberti, jgauthier, ranade, romain, roohi, weixia, yingc
commit 3013248cdee70c195024c1204172bb63f8f27fde
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Fri Jan 12 09:54:28 2018 +0100

    HUE-7820 [assist] Use the new data catalog for the left and right assist trees

:100644 100644 aecb087f5c... 0b53d17382... M	desktop/core/src/desktop/static/desktop/js/assist/assistDbEntry.js
:100644 100644 d98fbf88ca... 11988690c3... M	desktop/core/src/desktop/static/desktop/js/assist/assistDbSource.js
:100644 100644 ddbc0a96d7... 549b5c519b... M	desktop/core/src/desktop/static/desktop/js/dataCatalog.js
:100644 100644 5be2b4e6d9... cd8a2a0fff... M	desktop/core/src/desktop/templates/assist.mako

commit 6c1fa178d73d2fea0c3b0a0310a8dbe70ebd9242
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Tue Jan 9 11:26:11 2018 +0100

    HUE-7820 [metadata] Refresh the navigator cache after setting the comment

:100644 100644 2dae3b8bad... 4ffa2eb779... M	desktop/core/src/desktop/static/desktop/js/apiHelper.js
:100644 100644 b5972885f6... ddbc0a96d7... M	desktop/core/src/desktop/static/desktop/js/dataCatalog.js

commit 5bb75a936c42c04f23ce9b24c6dad3a422ca53f0
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Tue Jan 9 10:48:27 2018 +0100

    HUE-7820 [metadata] Introduce a generic data catalog that handles metadata for any datasource

:100644 100644 e68a375812... aecb087f5c... M	desktop/core/src/desktop/static/desktop/js/assist/assistDbEntry.js
:100644 100644 2f1fcf44bd... b5972885f6... R072	desktop/core/src/desktop/static/desktop/js/sqlMetadata.js	desktop/core/src/desktop/static/desktop/js/dataCatalog.js
:100644 100644 8849e35b75... b7fc5e4c7d... M	desktop/core/src/desktop/templates/common_header.mako
:100644 100644 6312109632... 0921ce7c2c... M	desktop/core/src/desktop/templates/hue.mako
:100644 100644 08cf28c6f2... 6592facce9... M	desktop/core/src/desktop/templates/jasmineRunner.html

commit 5c389591edc70db9979b1970edfa1bc45c1066b9
Author: Romain Rigaux <romain@cloudera.com>
Date:   Mon Jan 8 10:37:25 2018 -0800

    HUE-7820 [metadata] Properly update entities properties or custom metadata
    
    There was a mix between entity properties (e.g. name, description...) and its custom metadata (properties dict).
    Add bunch of protection to not fail on json parse in API.
    Delete custom metadata API not used anywhere.

:100644 100644 c96caf6034... 7800aacf50... M	desktop/libs/metadata/src/metadata/navigator_api.py
:100644 100644 362d75cf67... be2f49252b... M	desktop/libs/metadata/src/metadata/navigator_client.py
:100644 100644 14d9c7ae2e... 3d12fb3648... M	desktop/libs/metadata/src/metadata/navigator_tests.py
:100644 100644 0c157277dd... 27a242d56e... M	desktop/libs/metadata/src/metadata/urls.py

commit 5087ba375500ac675a2b630d3c18f53208ec261d
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Mon Jan 8 16:20:52 2018 +0100

    HUE-7820 [core] Add ability to load navigator metadata for all children of a sqlMetadata instance in one go

:100644 100644 505d3d38ce... 2dae3b8bad... M	desktop/core/src/desktop/static/desktop/js/apiHelper.js
:100644 100644 2c25bd9766... e68a375812... M	desktop/core/src/desktop/static/desktop/js/assist/assistDbEntry.js
:100644 100644 3678595e61... 2f1fcf44bd... M	desktop/core/src/desktop/static/desktop/js/sqlMetadata.js
:100644 100644 555072eaf4... 5be2b4e6d9... M	desktop/core/src/desktop/templates/assist.mako

commit db5687910a3266b95b00bed109d9cdd194ef8606
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Mon Jan 8 16:12:39 2018 +0100

    HUE-7820 [metadata] Allow raw querying of the navigator entity search API

:100644 100644 7f48c6c19f... c96caf6034... M	desktop/libs/metadata/src/metadata/navigator_api.py
:100644 100644 46a7da36bc... 362d75cf67... M	desktop/libs/metadata/src/metadata/navigator_client.py

commit a609269019eefcf0dd77cfce38b1b9992c1a6ee3
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Mon Jan 8 13:11:42 2018 +0100

    HUE-7820 [core] Add ability to set comments through the sqlMetadata object

:100644 100644 c756a4b4a1... 505d3d38ce... M	desktop/core/src/desktop/static/desktop/js/apiHelper.js
:100644 100644 b4de2abde6... 3678595e61... M	desktop/core/src/desktop/static/desktop/js/sqlMetadata.js

commit 48d917a100dc5d6053d3c393ea35d4cd255cace4
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Fri Jan 5 16:29:45 2018 +0100

    HUE-7820 [core] Introduce a comment observable in sqlMeta

:100644 100644 042e706f58... b4de2abde6... M	desktop/core/src/desktop/static/desktop/js/sqlMetadata.js

commit 8c676e44092ae5c0cbbff8563d686ba96828ecd1
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Fri Jan 5 14:32:51 2018 +0100

    HUE-7820 [core] Add Navigator metadata to the sqlMetadata object

:100644 100644 a49a3b5821... c756a4b4a1... M	desktop/core/src/desktop/static/desktop/js/apiHelper.js
:100644 100644 81800e6488... 2c25bd9766... M	desktop/core/src/desktop/static/desktop/js/assist/assistDbEntry.js
:100644 100644 0d63324fc3... 042e706f58... M	desktop/core/src/desktop/static/desktop/js/sqlMetadata.js
:100644 100644 261656a8fe... 575a4f09bf... M	desktop/core/src/desktop/templates/global_js_constants.mako
:100644 100644 d16492d43e... 9b6beb316e... M	desktop/core/src/desktop/templates/ko_components/ko_nav_tags.mako

commit 0e8a0f27c276e352deeae7b1deba073a3246ab50
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Thu Jan 4 16:44:58 2018 +0100

    HUE-7820 [core] Introduce a generic sqlMetadata object

:100644 100644 e680071f29... a49a3b5821... M	desktop/core/src/desktop/static/desktop/js/apiHelper.js
:100644 100644 97e1473931... 81800e6488... M	desktop/core/src/desktop/static/desktop/js/assist/assistDbEntry.js
:100644 100644 62595b9318... 185cb7913e... M	desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js
:000000 100644 0000000000... 0d63324fc3... A	desktop/core/src/desktop/static/desktop/js/sqlMetadata.js
:100644 100644 0e9fad3940... 8849e35b75... M	desktop/core/src/desktop/templates/common_header.mako
:100644 100644 ddc401ff80... 6312109632... M	desktop/core/src/desktop/templates/hue.mako
:100644 100644 7fbcadb5ef... 08cf28c6f2... M	desktop/core/src/desktop/templates/jasmineRunner.html
:100644 100644 798b5206c0... 7943b9e947... M	desktop/core/src/desktop/templates/ko_components/ko_context_popover.mako

Manual on Chrome

Note that this is mostly about the plumbing needed to properly handle metadata from various sources. Left to do is autocomplete and metastore, and start surfacing comments etc. throughout.

  1. Woah!

  2. 
      
Review request changed

Status: Closed (submitted)

Loading...