diff options
author | Endi S. Dewata <edewata@redhat.com> | 2016-05-05 18:10:23 +0200 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2016-05-05 19:03:18 +0200 |
commit | 8dd3aa3a0acaa786b7794744a31bb44d991c2fb1 (patch) | |
tree | 0484d36bbe3908309a69cf8c2d329187a80fe83c /base/common/python/pki/system.py | |
parent | 2be9c6eaeb178325e9564d6a47e8078b4d2f0e1f (diff) | |
download | pki-8dd3aa3a0acaa786b7794744a31bb44d991c2fb1.tar.gz pki-8dd3aa3a0acaa786b7794744a31bb44d991c2fb1.tar.xz pki-8dd3aa3a0acaa786b7794744a31bb44d991c2fb1.zip |
Added cleanUp() and cert_import scriptlet.ticket-2244-2
Diffstat (limited to 'base/common/python/pki/system.py')
-rw-r--r-- | base/common/python/pki/system.py | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/base/common/python/pki/system.py b/base/common/python/pki/system.py index 7607578df..945c06407 100644 --- a/base/common/python/pki/system.py +++ b/base/common/python/pki/system.py @@ -267,7 +267,6 @@ class SystemConfigClient(object): :param data: Configuration request containing all the input needed to configure the subsystem :type data: ConfigurationRequest - :return: ConfigurationResponse -- response from configuration servlet. """ headers = {'Content-type': 'application/json', 'Accept': 'application/json'} @@ -318,14 +317,22 @@ class SystemConfigClient(object): """ Contacts the server and invokes the Java configuration REST API to finalize subsystem configuration. - - :return: ConfigurationResponse -- response from configuration servlet. """ headers = {'Content-type': 'application/json', 'Accept': 'application/json'} self.connection.post('/rest/installer/finalizeConfiguration', None, headers) + def cleanUp(self): + """ + Contacts the server and invokes the Java configuration REST API to + clean up the configuration. + """ + headers = {'Content-type': 'application/json', + 'Accept': 'application/json'} + self.connection.post('/rest/installer/cleanUp', None, + headers) + def getConfigurationResult(self): """ Contacts the server and invokes the Java configuration REST API to |