@Test public void testDescribeImages() throws Exception { toTest.execute(getCommonInputs("DescribeImages", HEADERS), getDescribeImagesInputs(), getDescribeImagesCustomInputs()); verify(amazonSignatureServiceMock, times(1)).signRequestHeaders(any(InputsWrapper.class), eq(getHeadersMap()), eq(getQueryParamsMap("DescribeImages"))); runCommonVerifiersForQueryApi(); }
@SafeVarargs public final <T> Map<String, String> execute(CommonInputs commonInputs, T... builders) throws Exception { InputsWrapper inputs = InputsWrapperBuilder.getWrapper(commonInputs, builders); Map<String, String> queryParamsMap = ParamsMapBuilder.getParamsMap(inputs); Map<String, String> headersMap = HeadersMapBuilder.getHeadersMap(inputs); setQueryApiParams(inputs, queryParamsMap); setQueryApiHeaders(inputs, headersMap, queryParamsMap); Map<String, String> awsResponse = new HttpClientService().execute(inputs.getHttpClientInputs()); return getValidResponse(awsResponse); }
QueryApiExecutor { @SafeVarargs public final <T> Map<String, String> execute(CommonInputs commonInputs, T... builders) throws Exception { InputsWrapper inputs = InputsWrapperBuilder.getWrapper(commonInputs, builders); Map<String, String> queryParamsMap = ParamsMapBuilder.getParamsMap(inputs); Map<String, String> headersMap = HeadersMapBuilder.getHeadersMap(inputs); setQueryApiParams(inputs, queryParamsMap); setQueryApiHeaders(inputs, headersMap, queryParamsMap); Map<String, String> awsResponse = new HttpClientService().execute(inputs.getHttpClientInputs()); return getValidResponse(awsResponse); } }
QueryApiExecutor { @SafeVarargs public final <T> Map<String, String> execute(CommonInputs commonInputs, T... builders) throws Exception { InputsWrapper inputs = InputsWrapperBuilder.getWrapper(commonInputs, builders); Map<String, String> queryParamsMap = ParamsMapBuilder.getParamsMap(inputs); Map<String, String> headersMap = HeadersMapBuilder.getHeadersMap(inputs); setQueryApiParams(inputs, queryParamsMap); setQueryApiHeaders(inputs, headersMap, queryParamsMap); Map<String, String> awsResponse = new HttpClientService().execute(inputs.getHttpClientInputs()); return getValidResponse(awsResponse); }  }
QueryApiExecutor { @SafeVarargs public final <T> Map<String, String> execute(CommonInputs commonInputs, T... builders) throws Exception { InputsWrapper inputs = InputsWrapperBuilder.getWrapper(commonInputs, builders); Map<String, String> queryParamsMap = ParamsMapBuilder.getParamsMap(inputs); Map<String, String> headersMap = HeadersMapBuilder.getHeadersMap(inputs); setQueryApiParams(inputs, queryParamsMap); setQueryApiHeaders(inputs, headersMap, queryParamsMap); Map<String, String> awsResponse = new HttpClientService().execute(inputs.getHttpClientInputs()); return getValidResponse(awsResponse); }  @SafeVarargs final Map<String, String> execute(CommonInputs commonInputs, T... builders); }
QueryApiExecutor { @SafeVarargs public final <T> Map<String, String> execute(CommonInputs commonInputs, T... builders) throws Exception { InputsWrapper inputs = InputsWrapperBuilder.getWrapper(commonInputs, builders); Map<String, String> queryParamsMap = ParamsMapBuilder.getParamsMap(inputs); Map<String, String> headersMap = HeadersMapBuilder.getHeadersMap(inputs); setQueryApiParams(inputs, queryParamsMap); setQueryApiHeaders(inputs, headersMap, queryParamsMap); Map<String, String> awsResponse = new HttpClientService().execute(inputs.getHttpClientInputs()); return getValidResponse(awsResponse); }  @SafeVarargs final Map<String, String> execute(CommonInputs commonInputs, T... builders);  }