@Test public void testBasePath() { doReturn(MOCK_BASE_PATH).when(properties).getSymphonyUrl(); String expected = MOCK_BASE_PATH + "/integrationapi"; assertEquals(expected, httpApiClient.getBasePath()); }
@Override protected String getBasePath() { String url = properties.getSymphonyUrl(); if (StringUtils.isBlank(url)) { throw new MissingConfigurationException(SERVICE_NAME.toString(), REQUIRED_KEY); } return String.format("%s/%s", url, API_PATH); }
IntegrationHttpApiClient extends SymphonyApiClient { @Override protected String getBasePath() { String url = properties.getSymphonyUrl(); if (StringUtils.isBlank(url)) { throw new MissingConfigurationException(SERVICE_NAME.toString(), REQUIRED_KEY); } return String.format("%s/%s", url, API_PATH); } }
IntegrationHttpApiClient extends SymphonyApiClient { @Override protected String getBasePath() { String url = properties.getSymphonyUrl(); if (StringUtils.isBlank(url)) { throw new MissingConfigurationException(SERVICE_NAME.toString(), REQUIRED_KEY); } return String.format("%s/%s", url, API_PATH); } IntegrationHttpApiClient(); }
IntegrationHttpApiClient extends SymphonyApiClient { @Override protected String getBasePath() { String url = properties.getSymphonyUrl(); if (StringUtils.isBlank(url)) { throw new MissingConfigurationException(SERVICE_NAME.toString(), REQUIRED_KEY); } return String.format("%s/%s", url, API_PATH); } IntegrationHttpApiClient();  }
IntegrationHttpApiClient extends SymphonyApiClient { @Override protected String getBasePath() { String url = properties.getSymphonyUrl(); if (StringUtils.isBlank(url)) { throw new MissingConfigurationException(SERVICE_NAME.toString(), REQUIRED_KEY); } return String.format("%s/%s", url, API_PATH); } IntegrationHttpApiClient();   }