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

com.boozallen.aiops.mda.basic.ExampleSyncStep 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 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!");

    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy