Package io.debezium.server
Class TestConfigSource
- java.lang.Object
-
- io.debezium.server.TestConfigSource
-
- All Implemented Interfaces:
org.eclipse.microprofile.config.spi.ConfigSource
public class TestConfigSource extends Object implements org.eclipse.microprofile.config.spi.ConfigSource
A config source used during tests. Amended/overridden by values exposed from test lifecycle listeners.
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,String>config(package private) Map<String,String>integrationTest(package private) Map<String,String>kinesisTeststatic PathOFFSET_STORE_PATHstatic StringOFFSETS_FILE(package private) Map<String,String>pubsubTeststatic PathTEST_FILE_PATH(package private) Map<String,String>unitTest
-
Constructor Summary
Constructors Constructor Description TestConfigSource()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Map<String,String>getProperties()Set<String>getPropertyNames()StringgetValue(String propertyName)static booleanisItTest()static intwaitForSeconds()
-
-
-
Field Detail
-
OFFSETS_FILE
public static final String OFFSETS_FILE
- See Also:
- Constant Field Values
-
OFFSET_STORE_PATH
public static final Path OFFSET_STORE_PATH
-
TEST_FILE_PATH
public static final Path TEST_FILE_PATH
-
-
Method Detail
-
isItTest
public static boolean isItTest()
-
getProperties
public Map<String,String> getProperties()
- Specified by:
getPropertiesin interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getValue
public String getValue(String propertyName)
- Specified by:
getValuein interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getPropertyNames
public Set<String> getPropertyNames()
- Specified by:
getPropertyNamesin interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
waitForSeconds
public static int waitForSeconds()
-
-