HUE-8758 [connectors] Refactor attributes of connector class and instance

Review Request #14111 - Created July 22, 2019 and submitted

Romain Rigaux
hue
master
HUE-8758
hue
jgauthier, johan, ranade, romain, weixia, yingc
commit b402a220f0fbcd6b3db0d172be6ed019f7bf961d
Author: Romain <romain.rigaux@gmail.com>
Date:   Tue Jun 25 19:10:48 2019 -0700

    HUE-8758 [connectors] Prevent kojs error on add new connector page

:100644 100644 3df438bed2 d36b1715da M	desktop/core/src/desktop/conf.py
:100644 100644 ba8aa4bdd0 e0500be6fd M	desktop/core/src/desktop/lib/connectors/api.py
:100644 100644 ac39bdeccb f1112d8a0d M	desktop/core/src/desktop/templates/connectors.mako

commit 9100992bc4e77e90c258376b8d24bd3378ce569f
Author: Romain <romain.rigaux@gmail.com>
Date:   Tue Jun 25 14:11:46 2019 -0700

    HUE-8758 [connectors] Port the fetch_result_size API

:100644 100644 793e61a916 5423b1e14a M	desktop/libs/notebook/src/notebook/connectors/hiveserver2.py

commit 81d4d3740cf288b122b9fd6bba51d0f8f8e8524b
Author: Romain <romain.rigaux@gmail.com>
Date:   Tue Jun 25 13:38:36 2019 -0700

    HUE-8758 [connectors] Remove compute name combined to snippet type

:100644 100644 a3aad2f3a8 500b2ded97 M	apps/impala/src/impala/dbms.py
:100644 100644 d2cae4b412 0294cc0a22 M	apps/jobbrowser/src/jobbrowser/apis/query_api.py
:100644 100644 c23bc10f12 d17db6c70d M	desktop/libs/notebook/src/notebook/connectors/base.py
:100644 100644 b91088426a 793e61a916 M	desktop/libs/notebook/src/notebook/connectors/hiveserver2.py
:100644 100644 b4bfba33a2 06f3a73554 M	desktop/libs/notebook/src/notebook/models.py

commit fbde29ef59760365e9d1bfa5c15e5c584f2040dd
Author: Romain <romain.rigaux@gmail.com>
Date:   Tue Jun 25 09:47:02 2019 -0700

    HUE-8758 [connectors] Fix ids of new connector instances

:100644 100644 91e35487bc ba8aa4bdd0 M	desktop/core/src/desktop/lib/connectors/api.py
:100644 100644 6c6c9fe089 ac39bdeccb M	desktop/core/src/desktop/templates/connectors.mako

commit cfd95294ddb580b087fbea697b508455d793ff4c
Author: Romain <romain.rigaux@gmail.com>
Date:   Tue Jun 25 09:26:27 2019 -0700

    HUE-8758 [connectors] Update page with the new attributes like dialect

:100644 100644 a3daff3141 91e35487bc M	desktop/core/src/desktop/lib/connectors/api.py
:100644 100644 b6df4a9955 c02fc689e3 M	desktop/core/src/desktop/lib/connectors/urls.py
:100644 100644 63062b7b81 6c6c9fe089 M	desktop/core/src/desktop/templates/connectors.mako
:100644 100644 49361f1980 3063575a5f M	desktop/libs/notebook/src/notebook/conf.py

commit 95a113b0b96a5fa6f9a55d319f9d5f36b4e95a98
Author: Romain <romain.rigaux@gmail.com>
Date:   Tue Jun 25 08:02:26 2019 -0700

    HUE-8758 [connectors] Remove hardcoding of snippet type in make_notebook

:100644 100644 85699e5eec 49361f1980 M	desktop/libs/notebook/src/notebook/conf.py
:100644 100644 6267715c1e c23bc10f12 M	desktop/libs/notebook/src/notebook/connectors/base.py
:100644 100644 2b616276db b4bfba33a2 M	desktop/libs/notebook/src/notebook/models.py

commit cb2e886dd494ea6bfd3b9bbfeb8815b314789ec3
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Jun 24 14:50:06 2019 -0700

    HUE-8758 [connectors] Refactor attributes of connector class and instance

:100644 100644 1048e5565e a3daff3141 M	desktop/core/src/desktop/lib/connectors/api.py
:100644 100644 96d84bcaf9 85699e5eec M	desktop/libs/notebook/src/notebook/conf.py
:100644 100644 3338b4b2a2 b5db6ea12b M	desktop/libs/notebook/src/notebook/connectors/hiveserver2_tests.py
:100644 100644 0a4d283cc3 2b616276db M	desktop/libs/notebook/src/notebook/models.py

commit 83bc03a26e669a882ad8de3ffa6f1452ff6187a6
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Jun 24 12:36:46 2019 -0700

    HUE-8758 [connectors] Fix get_sample() Snippet type impala is not configured

:100644 100644 87ee02f2f1 9ab4054c95 M	apps/metastore/src/metastore/views.py
:100644 100644 0759546844 950848ca02 M	desktop/core/src/desktop/auth/backend.py
:100644 100644 ca6e2b9949 3338b4b2a2 M	desktop/libs/notebook/src/notebook/connectors/hiveserver2_tests.py
:100644 100644 cee0ddaeb9 0a4d283cc3 M	desktop/libs/notebook/src/notebook/models.py

commit f5e28be785e0e57d3db2fc061d41866bc711e365
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Jun 24 11:57:33 2019 -0700

    HUE-8758 [connectors] Add test_sample_data_table_sync_impala test to hs2

:100644 100644 2392a65ffb ca6e2b9949 M	desktop/libs/notebook/src/notebook/connectors/hiveserver2_tests.py

More mocked test
Keeping removing old multi cluster properties and refactoring
Adding notion of dialect for a connector (e.g. this is SQL of type Impala, instead of just Impala like before)

  1. Ship It!
  2. 
      
Review request changed

Status: Closed (submitted)

Loading...