@JsonProperty("correlation-id")
private String correlationID;
- private final static String defaultCambriaPartition = "MSO";
+ private static final String defaultCambriaPartition = "MSO";
@JsonProperty("cambria.partition")
private String cambriaPartition = defaultCambriaPartition;
import com.att.eelf.i18n.EELFResourceManager;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
-import com.fasterxml.jackson.databind.node.ObjectNode;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang.ObjectUtils;
package org.onap.appc.workflow.impl;
import org.apache.commons.lang.ObjectUtils;
-import org.apache.commons.lang3.StringUtils;
import org.onap.appc.common.constant.Constants;
import org.onap.appc.configuration.Configuration;
import org.onap.appc.configuration.ConfigurationFactory;
import org.osgi.framework.FrameworkUtil;
import org.osgi.framework.ServiceReference;
import java.util.ArrayList;
-import java.util.List;
import org.onap.ccsdk.sli.core.dblib.DbLibService;
import org.onap.ccsdk.sli.core.sli.SvcLogicGraph;
import javax.sql.rowset.CachedRowSet;
import java.sql.SQLException;
-import java.sql.Blob;
import java.io.ObjectInputStream;
import java.io.IOException;
import org.slf4j.MDC;
import org.opendaylight.controller.sal.binding.api.BindingAwareBroker.RpcRegistration;
import org.opendaylight.controller.sal.binding.api.RpcProviderRegistry;
import org.opendaylight.yang.gen.v1.org.onap.appc.interfaces.service.rev170818.InterfacesServiceService;
-import org.onap.appc.interfaces.service.InterfacesServiceProviderImpl;
import com.att.eelf.configuration.EELFLogger;
import com.att.eelf.configuration.EELFManager;
/**
* Invalid state message format with fliexible operation, appc name and state values
*/
- public final static String INVALID_STATE_MESSAGE_FORMAT = "%s API is not allowed when %s is in the %s state.";
+ public static final String INVALID_STATE_MESSAGE_FORMAT = "%s API is not allowed when %s is in the %s state.";
private final EELFLogger logger = EELFManager.getInstance().getLogger(AppcOam.class);
* Utility class provides general bundle operational helps.
*/
public class BundleHelper {
- private final static String PROP_BUNDLE_TO_STOP = "appc.OAM.ToStop.properties";
- private final static String PROP_BUNDLES_TO_NOT_STOP = "appc.OAM.ToNotStop.properties";
+ private static final String PROP_BUNDLE_TO_STOP = "appc.OAM.ToStop.properties";
+ private static final String PROP_BUNDLES_TO_NOT_STOP = "appc.OAM.ToNotStop.properties";
private final EELFLogger logger;
private final StateHelper stateHelper;
* Utility class provides general configuration helps
*/
public class ConfigurationHelper {
- final static String PROP_KEY_APPC_NAME = Constants.PROPERTY_APPLICATION_NAME;
- final static String PROP_KEY_METRIC_STATE = "metric.enabled";
+ static final String PROP_KEY_APPC_NAME = Constants.PROPERTY_APPLICATION_NAME;
+ static final String PROP_KEY_METRIC_STATE = "metric.enabled";
private final String OAM_OPERATION_TIMEOUT_SECOND = "appc.OAM.api.timeout";
/** Default operation timeout set to 1 minute */
private final int DEFAULT_OAM_OPERATION_TIMEOUT = 60;