aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmso-robot/red.xml57
-rw-r--r--cmso-ticketmgt/src/main/java/org/onap/observations/Mdc.java3
-rw-r--r--cmso-topology/src/main/java/org/onap/observations/Mdc.java3
3 files changed, 2 insertions, 61 deletions
diff --git a/cmso-robot/red.xml b/cmso-robot/red.xml
deleted file mode 100644
index 2936755..0000000
--- a/cmso-robot/red.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<!--
- Copyright © 2017-2019 AT&T Intellectual Property.
- Modifications Copyright © 2018 IBM.
-
- 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.
-
-
- Unless otherwise specified, all documentation contained herein is licensed
- under the Creative Commons License, Attribution 4.0 Intl. (the "License");
- you may not use this documentation except in compliance with the License.
- You may obtain a copy of the License at
-
- https://creativecommons.org/licenses/by/4.0/
-
- Unless required by applicable law or agreed to in writing, documentation
- 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.
--->
-<projectConfiguration>
- <configVersion>1</configVersion>
- <relativeTo>WORKSPACE</relativeTo>
- <referencedLibrary type="PYTHON" name="RequestsLibrary" path="cmso-robot/library"/>
- <referencedLibrary type="PYTHON" name="SeleniumLibrary" path="cmso-robot/library"/>
- <referencedLibrary type="PYTHON" name="selenium" path="cmso-robot/library"/>
- <referencedLibrary type="PYTHON" name="SSHLibrary" path="cmso-robot/library"/>
- <referencedLibrary type="PYTHON" name="StringTemplater" path="cmso-robot/robot/locallibrary/cmsoUtils"/>
- <referencedLibrary type="PYTHON" name="UUID" path="cmso-robot/robot/locallibrary/cmsoUtils"/>
- <referencedLibrary type="PYTHON" name="OSUtils" path="cmso-robot/robot/locallibrary/cmsoUtils"/>
- <referencedLibrary type="PYTHON" name="HTTPUtils" path="cmso-robot/robot/locallibrary/cmsoUtils"/>
- <referencedLibrary type="PYTHON" name="JSONUtils" path="cmso-robot/robot/locallibrary/cmsoUtils"/>
-
- <pythonpath>
- <path location="cmso-robot/library"/>
- </pythonpath>
- <classpath/>
- <variableFiles path="cmso-robot/robot/assets/test_properties.py"/>
-
- <excludedForValidation/>
- <isValidatedFileSizeCheckingEnabled>true</isValidatedFileSizeCheckingEnabled>
- <validatedFileMaxSize>1024</validatedFileMaxSize>
- <isReferencedLibrariesAutoReloadEnabled>true</isReferencedLibrariesAutoReloadEnabled>
- <isReferencedLibrariesAutoDiscoveringEnabled>true</isReferencedLibrariesAutoDiscoveringEnabled>
- <isLibrariesAutoDiscoveringSummaryWindowEnabled>false</isLibrariesAutoDiscoveringSummaryWindowEnabled>
-</projectConfiguration>
diff --git a/cmso-ticketmgt/src/main/java/org/onap/observations/Mdc.java b/cmso-ticketmgt/src/main/java/org/onap/observations/Mdc.java
index 41fd3df..5109b70 100644
--- a/cmso-ticketmgt/src/main/java/org/onap/observations/Mdc.java
+++ b/cmso-ticketmgt/src/main/java/org/onap/observations/Mdc.java
@@ -144,8 +144,7 @@ public class Mdc {
* @return the map
*/
public static Map<String, String> save() {
- Map<String, String> save = MDC.getCopyOfContextMap();
- return save;
+ return MDC.getCopyOfContextMap();
}
/**
diff --git a/cmso-topology/src/main/java/org/onap/observations/Mdc.java b/cmso-topology/src/main/java/org/onap/observations/Mdc.java
index 403ca27..f040437 100644
--- a/cmso-topology/src/main/java/org/onap/observations/Mdc.java
+++ b/cmso-topology/src/main/java/org/onap/observations/Mdc.java
@@ -140,8 +140,7 @@ public class Mdc {
* @return the map
*/
public static Map<String, String> save() {
- Map<String, String> save = MDC.getCopyOfContextMap();
- return save;
+ return MDC.getCopyOfContextMap();
}
/**