private static String getProcessResponse(InputStream stream) {

    StringBuilder sb = new StringBuilder();
    BufferedReader stdInput = new BufferedReader(new InputStreamReader(stream));

    try {

      String line;

      while ((line = stdInput.readLine()) != null) {
        sb.append(line);
      }

    } catch (Exception e) {
      return null;
    }
    return sb.toString();
  }
Provider module used to install PropertyProviders required for ambari-scom.
contrib/ambari-scom/ambari-scom-server/src/main/java/org/apache/ambari/scom/SQLProviderModule.java