com.boozallen.aiops.mda.basic.SparkJavaDataDeliveryBasicDefaultConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of test-data-delivery-spark-model-basic Show documentation
Show all versions of test-data-delivery-spark-model-basic Show documentation
Contains a barebones model with all features turned off to verify basic MDA generation and compilation
package com.boozallen.aiops.mda.basic;
/*-
* #%L
* aiSSEMBLE::Test::MDA::Data Delivery Spark Basic
* %%
* Copyright (C) 2021 Booz Allen
* %%
* This software package is licensed under the Booz Allen Public License. All Rights Reserved.
* #L%
*/
import org.eclipse.microprofile.config.spi.ConfigSource;
import com.boozallen.aiops.data.delivery.messaging.PipelineMessagingConfig;
import java.util.HashMap;
import java.util.Set;
import java.util.Map;
/**
* Default configuration of the messaging for the pipeline SparkJavaDataDeliveryBasic.
*
* GENERATED CODE - DO NOT MODIFY (add your customizations in microprofile-config.properties).
*
* Generated from: templates/pipeline.default.config.java.vm
*/
public class SparkJavaDataDeliveryBasicDefaultConfig implements ConfigSource {
private final Map configProperties;
public SparkJavaDataDeliveryBasicDefaultConfig() {
configProperties = new HashMap<>();
configProperties.put("property", "value");
}
@Override
public Map getProperties() {
return configProperties;
}
@Override
public Set getPropertyNames() {
return getProperties().keySet();
}
@Override
public String getValue(String key) {
return configProperties.get(key);
}
@Override
public String getName() {
return "SparkJavaDataDeliveryBasic-default-config";
}
@Override
public int getOrdinal() {
// microprofile-config.properties is 100, and we want that file to override these properties
return 0;
}
}