All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.boozallen.aiops.mda.basic.SparkJavaDataDeliveryBasicDefaultConfig Maven / Gradle / Ivy

Go to download

Contains a barebones model with all features turned off to verify basic MDA generation and compilation

There is a newer version: 1.10.0
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy