summaryrefslogtreecommitdiffstats
path: root/base/common/python/pki
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2016-05-04 10:36:50 +0200
committerEndi S. Dewata <edewata@redhat.com>2016-05-04 11:19:19 +0200
commit0ffd7b46e1c09ec01f0d016deb895e49e5e11781 (patch)
treeb9772895165b649b86444f129b441ccb45358816 /base/common/python/pki
parent79508bee86ab18d92fe83a83845429be50417ea6 (diff)
downloadpki-0ffd7b46e1c09ec01f0d016deb895e49e5e11781.tar.gz
pki-0ffd7b46e1c09ec01f0d016deb895e49e5e11781.tar.xz
pki-0ffd7b46e1c09ec01f0d016deb895e49e5e11781.zip
Refactored SystemConfigService.finalizeConfiguration().
Diffstat (limited to 'base/common/python/pki')
-rw-r--r--base/common/python/pki/system.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/base/common/python/pki/system.py b/base/common/python/pki/system.py
index 45aa0d637..46b1d4051 100644
--- a/base/common/python/pki/system.py
+++ b/base/common/python/pki/system.py
@@ -275,6 +275,19 @@ class SystemConfigClient(object):
headers)
return response.json()
+ def finalize(self):
+ """
+ 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'}
+ response = self.connection.post('/rest/installer/finalize', None,
+ headers)
+ return response.json()
+
class SystemStatusClient(object):
"""