Package com.adobe.aio.event.management
Class ProviderServiceTester
- java.lang.Object
-
- com.adobe.aio.event.management.ProviderServiceTester
-
public class ProviderServiceTester extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_DESC_SUFFIX
static String
DEFAULT_PROVIDER_DOCS_URL
protected org.slf4j.Logger
logger
protected ProviderService
providerService
-
Constructor Summary
Constructors Constructor Description ProviderServiceTester()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Provider
createOrUpdateProvider(ProviderInputModel providerInputModel, Set<EventMetadata> eventMetadataSet)
Provider
createOrUpdateProvider(String providerLabel, String eventCode)
Provider
createProvider(ProviderInputModel providerInputModel, Set<EventMetadata> eventMetadataSet)
void
deleteProvider(String providerId)
ProviderService
getProviderService()
static EventMetadata.Builder
getTestEventMetadataBuilder(String eventCode)
static ProviderInputModel.Builder
getTestProviderInputModelBuilder(String label)
-
-
-
Field Detail
-
DEFAULT_DESC_SUFFIX
public static final String DEFAULT_DESC_SUFFIX
- See Also:
- Constant Field Values
-
DEFAULT_PROVIDER_DOCS_URL
public static final String DEFAULT_PROVIDER_DOCS_URL
- See Also:
- Constant Field Values
-
logger
protected final org.slf4j.Logger logger
-
providerService
protected final ProviderService providerService
-
-
Method Detail
-
getTestEventMetadataBuilder
public static EventMetadata.Builder getTestEventMetadataBuilder(String eventCode)
-
getTestProviderInputModelBuilder
public static ProviderInputModel.Builder getTestProviderInputModelBuilder(String label)
-
getProviderService
public ProviderService getProviderService()
-
createOrUpdateProvider
public Provider createOrUpdateProvider(String providerLabel, String eventCode)
-
createOrUpdateProvider
public Provider createOrUpdateProvider(ProviderInputModel providerInputModel, Set<EventMetadata> eventMetadataSet)
-
createProvider
public Provider createProvider(ProviderInputModel providerInputModel, Set<EventMetadata> eventMetadataSet)
-
deleteProvider
public void deleteProvider(String providerId)
-
-