com.boozallen.aiops.mda.basic.cdi.PipelinesCdiContext 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.cdi;
/*-
* #%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 java.util.List;
import javax.enterprise.inject.spi.Extension;
import com.boozallen.aissemble.core.filestore.EnvironmentVariableFileStoreConfig;
import com.boozallen.aissemble.core.metadata.producer.MetadataProducer;
import io.smallrye.reactive.messaging.kafka.KafkaCDIEvents;
import io.smallrye.reactive.messaging.kafka.KafkaConnector;
/**
* Configures the CDI context for this application.
*
* Please **DO** modify with your customizations, as appropriate.
*
* Originally generated from: templates/pipeline.cdi.context.impl.java.vm
*/
public class PipelinesCdiContext extends PipelinesCdiContextBase {
/**
* {@inheritDoc}
*/
@Override
public List> getCdiClasses() {
List> customBeans = super.getCdiClasses();
// Add any custom CDI classes here
customBeans.add(KafkaConnector.class);
customBeans.add(KafkaCDIEvents.class);
customBeans.add(MetadataProducer.class);
return customBeans;
}
/**
* {@inheritDoc}
*/
@Override
public List getExtensions() {
List extensions = super.getExtensions();
// Add any custom extensions to Weld here
return extensions;
}
}