summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/sdc/common/onaplog
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/onap/sdc/common/onaplog')
-rw-r--r--src/main/java/org/onap/sdc/common/onaplog/OnapLogConfiguration.java22
-rw-r--r--src/main/java/org/onap/sdc/common/onaplog/OnapLoggerAudit.java20
-rw-r--r--src/main/java/org/onap/sdc/common/onaplog/OnapLoggerDebug.java20
-rw-r--r--src/main/java/org/onap/sdc/common/onaplog/OnapLoggerError.java20
-rw-r--r--src/main/java/org/onap/sdc/common/onaplog/OnapLoggerFactory.java20
-rw-r--r--src/main/java/org/onap/sdc/common/onaplog/OnapLoggerMetric.java20
-rw-r--r--src/main/java/org/onap/sdc/common/onaplog/OnapMDCWrapper.java22
-rw-r--r--src/main/java/org/onap/sdc/common/onaplog/Stopwatch.java22
-rw-r--r--src/main/java/org/onap/sdc/common/onaplog/enums/LogLevel.java20
-rw-r--r--src/main/java/org/onap/sdc/common/onaplog/enums/LogMarkers.java20
-rw-r--r--src/main/java/org/onap/sdc/common/onaplog/enums/OnapLoggerErrorCode.java20
-rw-r--r--src/main/java/org/onap/sdc/common/onaplog/enums/Severity.java20
-rw-r--r--src/main/java/org/onap/sdc/common/onaplog/enums/StatusCode.java20
-rw-r--r--src/main/java/org/onap/sdc/common/onaplog/interfaces/IOnapLogger.java20
-rw-r--r--src/main/java/org/onap/sdc/common/onaplog/interfaces/IOnapMdcWrapper.java20
-rw-r--r--src/main/java/org/onap/sdc/common/onaplog/interfaces/IStopWatch.java20
16 files changed, 323 insertions, 3 deletions
diff --git a/src/main/java/org/onap/sdc/common/onaplog/OnapLogConfiguration.java b/src/main/java/org/onap/sdc/common/onaplog/OnapLogConfiguration.java
index bd34a5a..1ffdd4a 100644
--- a/src/main/java/org/onap/sdc/common/onaplog/OnapLogConfiguration.java
+++ b/src/main/java/org/onap/sdc/common/onaplog/OnapLogConfiguration.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * sdc-dcae-d-dt-be-property
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * 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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
package org.onap.sdc.common.onaplog;
public class OnapLogConfiguration {
@@ -28,4 +48,4 @@ public class OnapLogConfiguration {
public static String MDC_OPT_FIELD2 = "CustomField2";
public static String MDC_OPT_FIELD3 = "CustomField3";
public static String MDC_OPT_FIELD4 = "CustomField4";
-} \ No newline at end of file
+}
diff --git a/src/main/java/org/onap/sdc/common/onaplog/OnapLoggerAudit.java b/src/main/java/org/onap/sdc/common/onaplog/OnapLoggerAudit.java
index 1057234..fefcd25 100644
--- a/src/main/java/org/onap/sdc/common/onaplog/OnapLoggerAudit.java
+++ b/src/main/java/org/onap/sdc/common/onaplog/OnapLoggerAudit.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * sdc-dcae-d-dt-be-property
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * 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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
package org.onap.sdc.common.onaplog;
import org.onap.sdc.common.onaplog.enums.LogMarkers;
diff --git a/src/main/java/org/onap/sdc/common/onaplog/OnapLoggerDebug.java b/src/main/java/org/onap/sdc/common/onaplog/OnapLoggerDebug.java
index 23ede18..5f58f08 100644
--- a/src/main/java/org/onap/sdc/common/onaplog/OnapLoggerDebug.java
+++ b/src/main/java/org/onap/sdc/common/onaplog/OnapLoggerDebug.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * sdc-dcae-d-dt-be-property
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * 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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
package org.onap.sdc.common.onaplog;
import org.onap.sdc.common.onaplog.enums.LogLevel;
diff --git a/src/main/java/org/onap/sdc/common/onaplog/OnapLoggerError.java b/src/main/java/org/onap/sdc/common/onaplog/OnapLoggerError.java
index 472b99b..41460e3 100644
--- a/src/main/java/org/onap/sdc/common/onaplog/OnapLoggerError.java
+++ b/src/main/java/org/onap/sdc/common/onaplog/OnapLoggerError.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * sdc-dcae-d-dt-be-property
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * 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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
package org.onap.sdc.common.onaplog;
import org.onap.sdc.common.onaplog.enums.LogLevel;
diff --git a/src/main/java/org/onap/sdc/common/onaplog/OnapLoggerFactory.java b/src/main/java/org/onap/sdc/common/onaplog/OnapLoggerFactory.java
index 6c5d879..fae12fb 100644
--- a/src/main/java/org/onap/sdc/common/onaplog/OnapLoggerFactory.java
+++ b/src/main/java/org/onap/sdc/common/onaplog/OnapLoggerFactory.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * sdc-dcae-d-dt-be-property
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * 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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
package org.onap.sdc.common.onaplog;
/**
diff --git a/src/main/java/org/onap/sdc/common/onaplog/OnapLoggerMetric.java b/src/main/java/org/onap/sdc/common/onaplog/OnapLoggerMetric.java
index 95c0ef4..ea94a96 100644
--- a/src/main/java/org/onap/sdc/common/onaplog/OnapLoggerMetric.java
+++ b/src/main/java/org/onap/sdc/common/onaplog/OnapLoggerMetric.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * sdc-dcae-d-dt-be-property
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * 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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
package org.onap.sdc.common.onaplog;
import org.onap.sdc.common.onaplog.enums.LogMarkers;
diff --git a/src/main/java/org/onap/sdc/common/onaplog/OnapMDCWrapper.java b/src/main/java/org/onap/sdc/common/onaplog/OnapMDCWrapper.java
index 9fbcabd..a9b7887 100644
--- a/src/main/java/org/onap/sdc/common/onaplog/OnapMDCWrapper.java
+++ b/src/main/java/org/onap/sdc/common/onaplog/OnapMDCWrapper.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * sdc-dcae-d-dt-be-property
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * 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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
package org.onap.sdc.common.onaplog;
import org.onap.sdc.common.onaplog.enums.Severity;
@@ -263,4 +283,4 @@ public class OnapMDCWrapper implements IOnapMdcWrapper {
public String getHostAddress() {
return hostAddress;
}
-} \ No newline at end of file
+}
diff --git a/src/main/java/org/onap/sdc/common/onaplog/Stopwatch.java b/src/main/java/org/onap/sdc/common/onaplog/Stopwatch.java
index 3c6c0da..7955c32 100644
--- a/src/main/java/org/onap/sdc/common/onaplog/Stopwatch.java
+++ b/src/main/java/org/onap/sdc/common/onaplog/Stopwatch.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * sdc-dcae-d-dt-be-property
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * 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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
package org.onap.sdc.common.onaplog;
import org.onap.sdc.common.onaplog.interfaces.IStopWatch;
@@ -55,4 +75,4 @@ public class Stopwatch implements IStopWatch {
return String.valueOf(LocalDateTime.now(Clock.systemUTC()));
}
-} \ No newline at end of file
+}
diff --git a/src/main/java/org/onap/sdc/common/onaplog/enums/LogLevel.java b/src/main/java/org/onap/sdc/common/onaplog/enums/LogLevel.java
index 609b5a3..0a5dead 100644
--- a/src/main/java/org/onap/sdc/common/onaplog/enums/LogLevel.java
+++ b/src/main/java/org/onap/sdc/common/onaplog/enums/LogLevel.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * sdc-dcae-d-dt-be-property
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * 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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
package org.onap.sdc.common.onaplog.enums;
public enum LogLevel {
diff --git a/src/main/java/org/onap/sdc/common/onaplog/enums/LogMarkers.java b/src/main/java/org/onap/sdc/common/onaplog/enums/LogMarkers.java
index 032066a..81e87ef 100644
--- a/src/main/java/org/onap/sdc/common/onaplog/enums/LogMarkers.java
+++ b/src/main/java/org/onap/sdc/common/onaplog/enums/LogMarkers.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * sdc-dcae-d-dt-be-property
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * 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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
package org.onap.sdc.common.onaplog.enums;
public enum LogMarkers {
diff --git a/src/main/java/org/onap/sdc/common/onaplog/enums/OnapLoggerErrorCode.java b/src/main/java/org/onap/sdc/common/onaplog/enums/OnapLoggerErrorCode.java
index 219a929..c3dc8bc 100644
--- a/src/main/java/org/onap/sdc/common/onaplog/enums/OnapLoggerErrorCode.java
+++ b/src/main/java/org/onap/sdc/common/onaplog/enums/OnapLoggerErrorCode.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * sdc-dcae-d-dt-be-property
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * 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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
package org.onap.sdc.common.onaplog.enums;
public enum OnapLoggerErrorCode {
diff --git a/src/main/java/org/onap/sdc/common/onaplog/enums/Severity.java b/src/main/java/org/onap/sdc/common/onaplog/enums/Severity.java
index 580e263..c264112 100644
--- a/src/main/java/org/onap/sdc/common/onaplog/enums/Severity.java
+++ b/src/main/java/org/onap/sdc/common/onaplog/enums/Severity.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * sdc-dcae-d-dt-be-property
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * 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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
package org.onap.sdc.common.onaplog.enums;
public enum Severity {
diff --git a/src/main/java/org/onap/sdc/common/onaplog/enums/StatusCode.java b/src/main/java/org/onap/sdc/common/onaplog/enums/StatusCode.java
index bc8f33a..9654de9 100644
--- a/src/main/java/org/onap/sdc/common/onaplog/enums/StatusCode.java
+++ b/src/main/java/org/onap/sdc/common/onaplog/enums/StatusCode.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * sdc-dcae-d-dt-be-property
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * 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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
package org.onap.sdc.common.onaplog.enums;
public enum StatusCode {
diff --git a/src/main/java/org/onap/sdc/common/onaplog/interfaces/IOnapLogger.java b/src/main/java/org/onap/sdc/common/onaplog/interfaces/IOnapLogger.java
index 4891a73..918eee9 100644
--- a/src/main/java/org/onap/sdc/common/onaplog/interfaces/IOnapLogger.java
+++ b/src/main/java/org/onap/sdc/common/onaplog/interfaces/IOnapLogger.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * sdc-dcae-d-dt-be-property
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * 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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
package org.onap.sdc.common.onaplog.interfaces;
import org.onap.sdc.common.onaplog.enums.LogLevel;
diff --git a/src/main/java/org/onap/sdc/common/onaplog/interfaces/IOnapMdcWrapper.java b/src/main/java/org/onap/sdc/common/onaplog/interfaces/IOnapMdcWrapper.java
index 661761c..a2cac24 100644
--- a/src/main/java/org/onap/sdc/common/onaplog/interfaces/IOnapMdcWrapper.java
+++ b/src/main/java/org/onap/sdc/common/onaplog/interfaces/IOnapMdcWrapper.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * sdc-dcae-d-dt-be-property
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * 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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
package org.onap.sdc.common.onaplog.interfaces;
import org.onap.sdc.common.onaplog.OnapMDCWrapper;
diff --git a/src/main/java/org/onap/sdc/common/onaplog/interfaces/IStopWatch.java b/src/main/java/org/onap/sdc/common/onaplog/interfaces/IStopWatch.java
index dc1cb81..d18372f 100644
--- a/src/main/java/org/onap/sdc/common/onaplog/interfaces/IStopWatch.java
+++ b/src/main/java/org/onap/sdc/common/onaplog/interfaces/IStopWatch.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * sdc-dcae-d-dt-be-property
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * 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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
package org.onap.sdc.common.onaplog.interfaces;
public interface IStopWatch {