@Test
public void testHeaders() {
assertThat(ONAPLogConstants.Headers.REQUEST_ID, is("X-ONAP-RequestID"));
- assertThat(ONAPLogConstants.Headers.INVOCATION_ID, is("X-ONAP-InvocationID"));
+ assertThat(ONAPLogConstants.Headers.INVOCATION_ID, is("X-InvocationID"));
assertThat(ONAPLogConstants.Headers.PARTNER_NAME, is("X-ONAP-PartnerName"));
}
@Test
public void testResponseStatus() {
- assertThat(ONAPLogConstants.ResponseStatus.COMPLETED.toString(), is("COMPLETED"));
+ assertThat(ONAPLogConstants.ResponseStatus.COMPLETE.toString(), is("COMPLETE"));
assertThat(ONAPLogConstants.ResponseStatus.ERROR.toString(), is("ERROR"));
}
assertThat(ONAPLogConstants.MDCs.REQUEST_ID.toString(), is("RequestID"));
assertThat(ONAPLogConstants.MDCs.INVOCATION_ID.toString(), is("InvocationID"));
assertThat(ONAPLogConstants.MDCs.PARTNER_NAME.toString(), is("PartnerName"));
- assertThat(ONAPLogConstants.MDCs.INSTANCE_UUID.toString(), is("InstanceUUID"));
+ assertThat(ONAPLogConstants.MDCs.INSTANCE_UUID.toString(), is("InstanceID"));
assertThat(ONAPLogConstants.MDCs.SERVICE_NAME.toString(), is("ServiceName"));
assertThat(ONAPLogConstants.MDCs.TARGET_SERVICE_NAME.toString(), is("TargetServiceName"));