
com.automationrockstars.bmo.GunterStoryReporter Maven / Gradle / Ivy
The newest version!
/*******************************************************************************
* Copyright (c) 2015, 2016 Automation RockStars Ltd.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License v2.0
* which accompanies this distribution, and is available at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Contributors:
* Automation RockStars - initial API and implementation
*******************************************************************************/
package com.automationrockstars.bmo;
import com.automationrockstars.base.ConfigLoader;
import com.automationrockstars.gunter.events.*;
import com.automationrockstars.gunter.rabbit.RabbitEventBroker;
import com.google.common.base.Joiner;
import com.google.common.collect.Lists;
import com.google.common.collect.Sets;
import org.apache.commons.configuration.Configuration;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintStream;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.atomic.AtomicBoolean;
import static com.automationrockstars.base.ConfigLoader.config;
import static com.automationrockstars.gunter.events.EventBus.fireEvent;
import static com.automationrockstars.gunter.events.EventFactory.*;
@RunReporter
public class GunterStoryReporter implements StoryReporter {
private static final AtomicBoolean isConnected = new AtomicBoolean(false);
private static final ThreadLocal start = new InheritableThreadLocal<>();
private static final Logger LOG = LoggerFactory.getLogger(GunterStoryReporter.class);
private static final ThreadLocal story = new InheritableThreadLocal<>();
private static final ThreadLocal scenario = new InheritableThreadLocal<>();
private static final ThreadLocal
© 2015 - 2025 Weber Informatics LLC | Privacy Policy