summaryrefslogtreecommitdiffstats
path: root/base/common/python
diff options
context:
space:
mode:
Diffstat (limited to 'base/common/python')
-rw-r--r--base/common/python/pki/system.py13
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