geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dschnei...@apache.org
Subject [geode] 01/02: renamed JdbcConnectorService to JdbcConnectorServiceImpl
Date Tue, 02 Jan 2018 19:41:48 GMT
This is an automated email from the ASF dual-hosted git repository.

dschneider pushed a commit to branch feature/GEODE-4009
in repository https://gitbox.apache.org/repos/asf/geode.git

commit bd95f06cd4e343f1313f430cae1945c6011819be
Author: Darrel Schneider <dschneider@pivotal.io>
AuthorDate: Tue Jan 2 11:33:32 2018 -0800

    renamed JdbcConnectorService to JdbcConnectorServiceImpl
---
 .../{JdbcConnectorService.java => JdbcConnectorServiceImpl.java}    | 2 +-
 .../geode/connectors/jdbc/internal/JdbcConnectorServiceTest.java    | 4 ++--
 .../apache/geode/connectors/jdbc/internal/TestConfigService.java    | 4 ++--
 .../jdbc/internal/xml/JdbcConnectorServiceXmlIntegrationTest.java   | 6 +++---
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/geode-connectors/src/main/java/org/apache/geode/connectors/jdbc/internal/JdbcConnectorService.java
b/geode-connectors/src/main/java/org/apache/geode/connectors/jdbc/internal/JdbcConnectorServiceImpl.java
similarity index 98%
rename from geode-connectors/src/main/java/org/apache/geode/connectors/jdbc/internal/JdbcConnectorService.java
rename to geode-connectors/src/main/java/org/apache/geode/connectors/jdbc/internal/JdbcConnectorServiceImpl.java
index 7bf513b..11d15a6 100644
--- a/geode-connectors/src/main/java/org/apache/geode/connectors/jdbc/internal/JdbcConnectorService.java
+++ b/geode-connectors/src/main/java/org/apache/geode/connectors/jdbc/internal/JdbcConnectorServiceImpl.java
@@ -29,7 +29,7 @@ import org.apache.geode.internal.cache.xmlcache.XmlGenerator;
 import org.apache.geode.management.internal.beans.CacheServiceMBeanBase;
 
 @Experimental
-public class JdbcConnectorService implements InternalJdbcConnectorService {
+public class JdbcConnectorServiceImpl implements InternalJdbcConnectorService {
 
   private final Map<String, ConnectionConfiguration> connectionsByName = new ConcurrentHashMap<>();
   private final Map<String, RegionMapping> mappingsByRegion = new ConcurrentHashMap<>();
diff --git a/geode-connectors/src/test/java/org/apache/geode/connectors/jdbc/internal/JdbcConnectorServiceTest.java
b/geode-connectors/src/test/java/org/apache/geode/connectors/jdbc/internal/JdbcConnectorServiceTest.java
index cbefbb0..7f1bb38 100644
--- a/geode-connectors/src/test/java/org/apache/geode/connectors/jdbc/internal/JdbcConnectorServiceTest.java
+++ b/geode-connectors/src/test/java/org/apache/geode/connectors/jdbc/internal/JdbcConnectorServiceTest.java
@@ -41,7 +41,7 @@ public class JdbcConnectorServiceTest {
   private ConnectionConfiguration configToAlter;
   private RegionMapping mapping;
 
-  private JdbcConnectorService service;
+  private JdbcConnectorServiceImpl service;
 
   @Before
   public void setUp() throws Exception {
@@ -60,7 +60,7 @@ public class JdbcConnectorServiceTest {
     when(config2.getName()).thenReturn(TEST_CONFIG_NAME);
     when(mapping.getRegionName()).thenReturn(TEST_REGION_NAME);
 
-    service = new JdbcConnectorService();
+    service = new JdbcConnectorServiceImpl();
     service.init(cache);
   }
 
diff --git a/geode-connectors/src/test/java/org/apache/geode/connectors/jdbc/internal/TestConfigService.java
b/geode-connectors/src/test/java/org/apache/geode/connectors/jdbc/internal/TestConfigService.java
index 09421a7..ec0e64e 100644
--- a/geode-connectors/src/test/java/org/apache/geode/connectors/jdbc/internal/TestConfigService.java
+++ b/geode-connectors/src/test/java/org/apache/geode/connectors/jdbc/internal/TestConfigService.java
@@ -32,12 +32,12 @@ public class TestConfigService {
   private static final String CONNECTION_URL = "jdbc:derby:memory:" + DB_NAME + ";create=true";
   private static final String CONNECTION_CONFIG_NAME = "testConnectionConfig";
 
-  public static JdbcConnectorService getTestConfigService()
+  public static JdbcConnectorServiceImpl getTestConfigService()
       throws ConnectionConfigExistsException, RegionMappingExistsException {
     InternalCache cache = mock(InternalCache.class);
     when(cache.getExtensionPoint()).thenReturn(mock(ExtensionPoint.class));
 
-    JdbcConnectorService service = new JdbcConnectorService();
+    JdbcConnectorServiceImpl service = new JdbcConnectorServiceImpl();
     service.init(cache);
     service.createConnectionConfig(createConnectionConfig());
     service.createRegionMapping(createRegionMapping());
diff --git a/geode-connectors/src/test/java/org/apache/geode/connectors/jdbc/internal/xml/JdbcConnectorServiceXmlIntegrationTest.java
b/geode-connectors/src/test/java/org/apache/geode/connectors/jdbc/internal/xml/JdbcConnectorServiceXmlIntegrationTest.java
index 796b706..6c29c52 100644
--- a/geode-connectors/src/test/java/org/apache/geode/connectors/jdbc/internal/xml/JdbcConnectorServiceXmlIntegrationTest.java
+++ b/geode-connectors/src/test/java/org/apache/geode/connectors/jdbc/internal/xml/JdbcConnectorServiceXmlIntegrationTest.java
@@ -35,7 +35,7 @@ import org.apache.geode.connectors.jdbc.internal.ConnectionConfigBuilder;
 import org.apache.geode.connectors.jdbc.internal.ConnectionConfigExistsException;
 import org.apache.geode.connectors.jdbc.internal.ConnectionConfiguration;
 import org.apache.geode.connectors.jdbc.internal.InternalJdbcConnectorService;
-import org.apache.geode.connectors.jdbc.internal.JdbcConnectorService;
+import org.apache.geode.connectors.jdbc.internal.JdbcConnectorServiceImpl;
 import org.apache.geode.connectors.jdbc.internal.RegionMapping;
 import org.apache.geode.connectors.jdbc.internal.RegionMappingBuilder;
 import org.apache.geode.connectors.jdbc.internal.RegionMappingExistsException;
@@ -72,8 +72,8 @@ public class JdbcConnectorServiceXmlIntegrationTest {
   @Test
   public void canRecreateJdbcConnectorServiceFromXml() throws Exception {
     createCacheUsingXml();
-    JdbcConnectorService service =
-        (JdbcConnectorService) cache.getExtensionPoint().getExtensions().iterator().next();
+    JdbcConnectorServiceImpl service =
+        (JdbcConnectorServiceImpl) cache.getExtensionPoint().getExtensions().iterator().next();
     assertThat(service.getConnectionConfig(config1.getName())).isEqualTo(config1);
     assertThat(service.getConnectionConfig(config2.getName())).isEqualTo(config2);
     assertThat(service.getMappingForRegion(regionMapping1.getRegionName()))

-- 
To stop receiving notification emails like this one, please contact
"commits@geode.apache.org" <commits@geode.apache.org>.

Mime
View raw message