{"push_id":1767265858,"size":3,"distinct_size":1,"ref":"refs/heads/andy/add-exc-attrs","head":"e3a845f7baa0629beb9bbe89521df69bff88fbf0","before":"a36ba6efcb0fa3b04b826f6101dc6bf4230e0e1e","commits":[{"sha":"f1caa6175dfbb876ce6c4cb1077875eb6e2c9583","author":{"name":"Andreas Maier","email":"09eea454902a0a0e7ce97ef39ca648af84c1a80a@de.ibm.com"},"message":"CPI: Improvements for dealing with LPAR status 'exceptions'.\n\nThis change provides some improvement for the zhmc CLI when dealing\nwith the LPAR status \"exceptions\" when activating, deactivating or\nloading the LPAR.\n\nThe main change is to add a command line option `--allow-status-exceptions`\nfor the `lpar activate/deactivate/load` commands. Setting this option causes\nthe LPAR status \"exceptions\" to be considered an additional valid end status.\n\nSome other changes were needed as part of that:\n\n* Allowed `None` as a value for the `load_parameter` argument of\n  `Lpar.load(), and changed the default to be `None` (which does not change\n  the behavior).\n\n* Added actual status, desired statuses and status timeout as attributes to\n  the `StatusTimeout` exception, for programmatic processing by callers.\n  This is not yet exploited in the zhmc CLI, but it can already be\n  exploited by users of the zhmcclient API.\n\nSigned-off-by: Andreas Maier <maiera@de.ibm.com>","distinct":false,"url":"https://api.github.com/repos/zhmcclient/python-zhmcclient/commits/f1caa6175dfbb876ce6c4cb1077875eb6e2c9583"},{"sha":"d2647c184633964f2862206b6bc515be12873d13","author":{"name":"Andreas Maier","email":"9d352938a26ca72ef57f297fb3ca8eb895b4c24e@users.noreply.github.com"},"message":"Merge pull request #300 from zhmcclient/andy/fix-status-timeout\n\nCLI: Improvements for dealing with LPAR status 'exceptions'.","distinct":false,"url":"https://api.github.com/repos/zhmcclient/python-zhmcclient/commits/d2647c184633964f2862206b6bc515be12873d13"},{"sha":"e3a845f7baa0629beb9bbe89521df69bff88fbf0","author":{"name":"Andreas Maier","email":"09eea454902a0a0e7ce97ef39ca648af84c1a80a@de.ibm.com"},"message":"Improved exceptions by splitting classes and adding attributes.\n\nDetails:\n\n* Clarified in the documentation of all exceptions that have a `details`\n  instance variable, that it is never `None`.\n\n* Simplified the message of the `OperationTimeout` exception.\n\n* Split the `AuthError` exception into `ClientAuthError` and\n  `ServerAuthError` that are used depending on where the authentication issue\n  is detected. Reason for the split was that the two subclasses have different\n  instance variables. The `AuthError` exception class is now an abstract\n  base class that is never raised but can be used to catch exceptions.\n\n* Made error data available as instance variables of the following exceptions:\n  `ConnectTimeout`, `ReadTimeout`, `RetriesExceeded`,\n  `ClientAuthError`, `ServerAuthError`, `OperationTimeout`, and\n  `StatusTimeout`, `NotFound`, `NoUniqueMatch`.\n\n* Improved unit test cases for `zhmcclient._exceptions` module.\n\n* Changed the return value of `repr()` for all exceptions to make\n  sure the instance variables are represented also using `repr()`.\n\nSigned-off-by: Andreas Maier <maiera@de.ibm.com>","distinct":true,"url":"https://api.github.com/repos/zhmcclient/python-zhmcclient/commits/e3a845f7baa0629beb9bbe89521df69bff88fbf0"}]}
{"actor":{"display_login":"andy-maier"}}