public static final String UEB_APP_INBOUND_MAILBOX_NAME = "ueb_app_mailbox_name";
public static final String UEB_APP_CONSUMER_GROUP_NAME = "ueb_app_consumer_group_name";
- // UebManager generates a consumer group name for special token {UUID}
+ /* UebManager generates a consumer group name for special token {UUID} */
public static final String UEB_APP_CONSUMER_GROUP_NAME_GENERATOR = "{UUID}";
public static final String UEB_APP_KEY = "ueb_app_key";
public static final String UEB_APP_SECRET = "ueb_app_secret";
package org.onap.portalsdk.core.logging.format;
import com.att.eelf.i18n.EELFResolvableErrorEnum;
-//import com.att.eelf.i18n.EELFResourceManager;
public enum ErrorCodesEnum implements EELFResolvableErrorEnum {
BERESTAPIAUTHENTICATIONERROR, BEHTTPCONNECTIONERROR_ONE_ARGUMENT, BEUEBAUTHENTICATIONERROR_ONE_ARGUMENT,
public class EELFLoggerDelegate extends SLF4jWrapper implements EELFLogger {
-
- //public static final EELFLogger errorLogger = EELFManager.getInstance().getErrorLogger();
public static final EELFLogger errorLogger = EELFManager.getInstance().getLogger("EELFError");
public static final EELFLogger metricsLogger = EELFManager.getInstance().getLogger("EELFMetrics");
public static final EELFLogger auditLogger = EELFManager.getInstance().getLogger("EELFAudit");
public static final EELFLogger applicationLogger = EELFManager.getInstance().getApplicationLogger();
- //public static final EELFLogger auditLogger = EELFManager.getInstance().getAuditLogger();
- //public static final EELFLogger metricsLogger = EELFManager.getInstance().getMetricsLogger();
public static final EELFLogger debugLogger = EELFManager.getInstance().getDebugLogger();
- // DateTime Format according to the ECOMP Application Logging Guidelines.
- private static final SimpleDateFormat ecompLogDateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSXXX");
+ private static final SimpleDateFormat ecompLogDateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSXXX");
private String className;
private static String propertyFileName = "logger.properties";
private static final Object lockObject = new Object();
-
-// private static final EELFLoggerDelegate logger = EELFLoggerDelegate.getLogger(LoggerProperties.class);
/**
* Gets the property value for the specified key. If a value is found, leading
synchronized (lockObject) {
try {
if (!initialize()) {
-// logger.error(EELFLoggerDelegate.errorLogger, "Failed to read property file " + propertyFileName);
return null;
}
} catch (IOException e) {
-// logger.error(EELFLoggerDelegate.errorLogger, "Failed to read property file " + propertyFileName ,e);
return null;
}
}
/*
* Copyright 2014-2017 the original author or authors.
*
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed under the Apache License, Version 2.0 (the "License")
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* @param creationTime the time that this {@link Session} was created.
*/
public void setCreationTime(Instant creationTime) {
- //MusicService musicService = new MusicService();
this.creationTime = creationTime;
try{
MusicService.setAttribute(MusicProperties.CREATION_TIME, creationTime, this.id);
this.sessionHandler.remove(session.getOriginalId());
session.setOriginalId(session.getId());
}
- // this.sessionHandler.put(session.getId(), new MusicSession(session));
this.sessionHandler.put(session.getId(), new MusicSession(session));
}
deleteById(saved.getId());
return null;
}
- //return sessionHandler.session(saved);
return new MusicSession(saved);
}
* ===================================================================
*
* Unless otherwise specified, all software contained herein is licensed
- * under the Apache License, Version 2.0 (the "License");
+ * under the Apache License, Version 2.0 (the "License")
* you may not use this software except in compliance with the License.
* You may obtain a copy of the License at
*