aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/java/org/onap/portal/history/logging/StatusCode.java
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-12-12 11:49:43 +0100
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-12-12 11:52:17 +0100
commit79322e1eaabd39210dc855ca1e78f734c1790fc4 (patch)
tree0adb15ff4dd898fdb06791c0d8e319b1842b08d1 /app/src/main/java/org/onap/portal/history/logging/StatusCode.java
parent71322adbc15045c62537b2c590d0b24758634ecf (diff)
Enrich log messages with further metadata about requests
This includes: - endpoint - execution time - trace id Issue-ID: PORTALNG-69 Change-Id: I5d07c89313811875bff8c1c519464e53381b5db1 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'app/src/main/java/org/onap/portal/history/logging/StatusCode.java')
-rw-r--r--app/src/main/java/org/onap/portal/history/logging/StatusCode.java28
1 files changed, 28 insertions, 0 deletions
diff --git a/app/src/main/java/org/onap/portal/history/logging/StatusCode.java b/app/src/main/java/org/onap/portal/history/logging/StatusCode.java
new file mode 100644
index 0000000..1c93bd9
--- /dev/null
+++ b/app/src/main/java/org/onap/portal/history/logging/StatusCode.java
@@ -0,0 +1,28 @@
+/*
+ *
+ * Copyright (c) 2023. Deutsche Telekom AG
+ *
+ * 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.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ *
+ */
+
+package org.onap.portal.history.logging;
+
+public enum StatusCode {
+ REQUEST,
+ COMPLETE,
+ ERROR
+}