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

com.boozallen.aiops.mda.basic.cdi.PipelinesCdiContext 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.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;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy