com.boozallen.aiops.mda.basic.ExampleSyncStep 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 javax.enterprise.context.ApplicationScoped;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.time.Instant;
import java.util.Map;
/**
* Performs the business logic for ExampleSyncStep.
*
* Because this class is {@link ApplicationScoped}, exactly one managed singleton instance will exist
* in any deployment.
*
* GENERATED STUB CODE - PLEASE ***DO*** MODIFY
*
* Originally generated from: templates/data-delivery-spark/synchronous.processor.impl.java.vm
*/
@ApplicationScoped
public class ExampleSyncStep extends ExampleSyncStepBase {
private static final Logger logger = LoggerFactory.getLogger(ExampleSyncStep.class);
public ExampleSyncStep(){
super("synchronous",getDataActionDescriptiveLabel());
}
/**
* Provides a descriptive label for the action that can be used for logging (e.g., provenance details).
*
* @return descriptive label
*/
private static String getDataActionDescriptiveLabel(){
// TODO: replace with descriptive label
return"ExampleSyncStep";
}
/**
* {@inheritDoc}
*/
@Override
protected void executeStepImpl() {
// TODO: Add your business logic here for this step!
logger.error("Implement executeStepImpl(..) or remove this pipeline step!");
}
}