diff options
author | 2019-10-18 12:58:21 -0400 | |
---|---|---|
committer | 2019-10-18 12:58:21 -0400 | |
commit | 40d60912a2de47be35379c5fe786e1d2d0b180c8 (patch) | |
tree | aea4ea40cdbce183238cff741cff6dd1cd260b1b /reference/logging-filter/logging-filter-spring/src | |
parent | 1427488ec214a6605cbe2270206157710aa6f37e (diff) |
Generate InvocationID UUID on outgoing requests and use X-InvocationID
Issue-ID: LOG-1170
Change-Id: I89fd007bf80fbea1a743d6eb4776fddb07103b46
Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>
Diffstat (limited to 'reference/logging-filter/logging-filter-spring/src')
-rw-r--r-- | reference/logging-filter/logging-filter-spring/src/test/java/org/onap/logging/filter/spring/SpringClientFilterTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reference/logging-filter/logging-filter-spring/src/test/java/org/onap/logging/filter/spring/SpringClientFilterTest.java b/reference/logging-filter/logging-filter-spring/src/test/java/org/onap/logging/filter/spring/SpringClientFilterTest.java index 8a592d2..c9925eb 100644 --- a/reference/logging-filter/logging-filter-spring/src/test/java/org/onap/logging/filter/spring/SpringClientFilterTest.java +++ b/reference/logging-filter/logging-filter-spring/src/test/java/org/onap/logging/filter/spring/SpringClientFilterTest.java @@ -131,7 +131,7 @@ public class SpringClientFilterTest extends SpringClientFilter { assertEquals("0a908a5d-e774-4558-96ff-6edcbba65483", headers.getFirst(Constants.HttpHeaders.TRANSACTION_ID)); assertEquals("0a908a5d-e774-4558-96ff-6edcbba65483", headers.getFirst(Constants.HttpHeaders.TRANSACTION_ID)); assertEquals("0a908a5d-e774-4558-96ff-6edcbba65483", headers.getFirst(Constants.HttpHeaders.ECOMP_REQUEST_ID)); - assertEquals("8819bfb4-69d2-43fc-b0d6-81d2690533ea", headers.getFirst(ONAPLogConstants.Headers.INVOCATION_ID)); + assertNotNull(headers.getFirst(ONAPLogConstants.Headers.INVOCATION_ID)); assertEquals("UNKNOWN", headers.getFirst(ONAPLogConstants.Headers.PARTNER_NAME)); } |