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

Update services.py #38

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Update services.py #38

wants to merge 10 commits into from

Commits on Apr 6, 2015

  1. Added TLS support for cm_shell

    There is now a new command line option [-t|-tls] that will enable TLS for the connection to the Cloudera API. Note that enabling TLS will not automatically change the port the client connects to CM on, so -p 7183 (default CM TLS port) needs to be added to the command line for the connection to succeed.
    
    jims-air:cm_shell jhalfpenny$ ./cmps.py -H test-cluster.cloudera.com -p 7183 -t
    Enter Username: admin
    Enter Password:
    Welcome to the Cloudera Manager Console
    Select a cluster using 'show clusters' and 'use'
    cloudera>
    
    (cherry picked from commit 995297a)
    Jimvin authored and Philip Langdale committed Apr 6, 2015
    Configuration menu
    Copy the full SHA
    83111b7 View commit details
    Browse the repository at this point in the history
  2. Added TLS parameter to timeseries.py example

    (cherry picked from commit 33afb30)
    Jimvin authored and Philip Langdale committed Apr 6, 2015
    Configuration menu
    Copy the full SHA
    8bf307e View commit details
    Browse the repository at this point in the history
  3. Python API: Add Makefile target to generate api docs.

    We currently generate the epydocs from the publishing script, which
    means someone just looking at the repo doesn't know what command line
    to use. Let's add a Makefile rule to do the work.
    
    This work is based on: cloudera#15
    
    (cherry picked from commit 6b402f8)
    Philip Langdale committed Apr 6, 2015
    Configuration menu
    Copy the full SHA
    d7754d6 View commit details
    Browse the repository at this point in the history
  4. Update README.md

    gramatical typo
    
    (cherry picked from commit ebea21f)
    Sean Story authored and Philip Langdale committed Apr 6, 2015
    Configuration menu
    Copy the full SHA
    56cfd42 View commit details
    Browse the repository at this point in the history
  5. Update timeseries.py

    just a typo
    
    (cherry picked from commit d55932e)
    arindamchoudhury authored and Philip Langdale committed Apr 6, 2015
    Configuration menu
    Copy the full SHA
    5ce9cc6 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2015

  1. Add optional support for SOCKS proxies via PySocks.

    (cherry picked from commit a114839)
    slmnhq authored and Philip Langdale committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    7df9745 View commit details
    Browse the repository at this point in the history
  2. [python tests] Make test_yarn consistent with respect to importing 'j…

    …son'
    
    It's unclear if this is futile or not. I don't believe the library works
    on Python < 2.6 any more, and I'm very sure unit tests don't work on
    Python < 2.7.
    
    (cherry picked from commit 2d6be54)
    Philip Langdale committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    9996d8b View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2015

  1. OPSAPS-26038. Conditionalize 'roles' argument.

    Tests running against older CM versions had the following
    error:
        test_support_bundle45 fails with error: Unrecognized property: 'roles' (error 400)
    
    As it turns out, we have the capability to set an API
    version when using the python client, and the client
    should take care of things like this, so I've done so.
    
    To test this, I ran:
    
      $ cp ~/src/cm_api/python/src/cm_api/endpoints/cms.py ./target/env/lib/python2.7/site-packages/cm_api/endpoints/cms.py
      $ systest.py --agents="cdh5+parcels@nightly53-{1..4}.ent.cloudera.com" run_tests -n "test_support_bundle:SupportBundleTests.test_support_bundle_45" --disable-pre-validations  --version cm53
    
    Before my change (that I manually cherrypicked in the first hand):
    
            ApiException: Unrecognized property: 'roles' (error 400)
    
            ----------------------------------------------------------------------
            Ran 1 test in 0.499s
    
            FAILED (errors=1)
            False
    
    After:
    
        ***********************************************************************
        * End test_support_bundle_45 (test_support_bundle.SupportBundleTests) *
        ***********************************************************************
    
        ----------------------------------------------------------------------
        Ran 1 test in 128.929s
    
    I also tested against nightly (5.5) to make sure this didn't regress.
    It passed.
    
        $./systest.py --agents="cdh5+parcels@nightly-{1..4}.ent.cloudera.com" run_tests -n "test_support_bundle:SupportBundleTests.test_support_bundle_45"
        --disable-pre-validations
    
    (cherry picked from commit e58b3cc)
    Philip Zeyliger committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    0d437f9 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2015

  1. [java] Updated with v10 java source

    mthakkar committed Apr 24, 2015
    Configuration menu
    Copy the full SHA
    042a8cd View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2016

  1. Update services.py

    Add roleInstanceUrl and entityStatus for API V11
    bms231 committed Jan 5, 2016
    Configuration menu
    Copy the full SHA
    568aeb7 View commit details
    Browse the repository at this point in the history