Class AQRestClient


  • public class AQRestClient
    extends Object
    • Constructor Detail

      • AQRestClient

        public AQRestClient()
    • Method Detail

      • getBaseURL

        public String getBaseURL()
      • getResultExternalAccessURL

        public String getResultExternalAccessURL​(String jobPid,
                                                 String tenantCode)
      • getAbortURL

        public String getAbortURL​(String jobPid)
      • setUpBaseURL

        public void setUpBaseURL​(String baseURL,
                                 String tenantCode)
      • getJobSummary

        public org.json.simple.JSONObject getJobSummary​(long runPid,
                                                        String apiKey,
                                                        String userId)
      • triggerJob

        public org.json.simple.JSONObject triggerJob​(String apiKey,
                                                     String userId,
                                                     String jobId,
                                                     String runParam,
                                                     int maxWaitTime)
                                              throws IOException,
                                                     org.json.simple.parser.ParseException
        Throws:
        IOException
        org.json.simple.parser.ParseException
      • setUpProxy

        public void setUpProxy​(String proxyHost,
                               int proxyPort)
      • disableSSLChecks

        public void disableSSLChecks​(Boolean check)