public static void tearDownExample ( String host , int port , String user , String password , Authentication authType ) throws FailedRequestException , ResourceNotFoundException , ResourceNotResendableException , ForbiddenUserException { DatabaseClient client = DatabaseClientFactory . newClient ( host , port , user , password , authType ) ; ServerConfigurationManager configMgr = client . newServerConfigManager ( ) ; configMgr . readConfiguration ( ) ; configMgr . setUpdatePolicy ( UpdatePolicy . MERGE_METADATA ) ; configMgr . writeConfiguration ( ) ; client . release ( ) ; }
clean up by resetting the server configuration