diff options
Diffstat (limited to 'base/common/python/pki/system.py')
-rw-r--r-- | base/common/python/pki/system.py | 13 |
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): """ |