Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#[UIC-2157]:SSL hive connection support http transport mode #274

Merged
merged 6 commits into from
Nov 20, 2019

Conversation

jitendra-kumawat
Copy link

@jitendra-kumawat jitendra-kumawat commented Nov 19, 2019

CATEGORY

SSL hive connection support http transport mode

SSL/TLS + Kerberos + http tansport_mode Hive Connection
Steps:-
Using Deployment File

  • Update ENABLE_SSL_HIVE_CONNECTION variable to "True" in raf-viz-fwk-deployment.yml file deployed at RAF cluster (default location of .crt file is /etc/cert/ca.crt)

Using Create Database Connection( use this to override deployment variables)

  • Open Add Database page from superset UI ( Source Tab > Databases > add new record )
  • Set Connection URL at SQLAlchemy URI option
  • Set params in Extra option's as follows
 
{
    "metadata_params": {},
    "engine_params": {
           "connect_args": {
                    "transport_mode": "http",
                     "auth": "KERBEROS",
                     "scheme":"https",
                     "verify":"<path to .cert file available in container>"
                    }
       },
     "metadata_cache_timeout": {},
    "schemas_allowed_for_csv_upload": []
}
  • possible values of scheme in above configuration "http"|"https"
  • possible values of verify in above configuration True"|"False"|" <path to .cert file available in container> "

Choose one

  • Bug Fix
  • Enhancement (new features, refinement)
  • Refactor
  • Add tests
  • Build / Development Environment
  • Documentation

SUMMARY

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Requires DB Migration.
  • Confirm DB Migration upgrade and downgrade tested.
  • Introduces new feature or API
  • Removes existing feature or API

REVIEWERS

exposed vars for ssl

UIC-2157
updated curl version

UIC-2157
updated curl version

UIC-2157
updated curl version

UIC-2157
configure vars

UIC-2157
configure vars  and reset jenkins file

UIC-2157
Copy link

@bipinsoniguavus bipinsoniguavus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jitendra-kumawat jitendra-kumawat merged commit da82c7b into master Nov 20, 2019
@jitendra-kumawat jitendra-kumawat deleted the feat/UIC-2157-ssl-hive branch November 20, 2019 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants