# CloudEvents inbound interop probe
# revision: 21234e38cdb9a926cbc92bb97a2aee2e4a7d2916
# cwd: /shared/codebase/clean-architecture-backend-template/src
# source: /tmp/CeProbe.java (probe only; no repository source was modified)
# classpath: :messaging:messaging-cloudevents test runtimeClasspath
# under test: DefaultCloudEventMapper.fromCloudEvent
# note: CloudEvents 1.0.2 defines id as a non-empty String with no format constraint;
#       A234-1234-1234 is the id used by the specification own example.

--- spec-conformant opaque string id
    id = A234-1234-1234
    result = REJECTED
    thrown = java.lang.IllegalArgumentException
    message = Invalid UUID string: A234-1234-1234
    is a MessagingException (carries FailureDescriptor) = false

--- UUIDv4 id
    id = 9c1f1f2e-6a1a-4d3b-8f0e-2b0d5b2f6c11
    result = REJECTED
    thrown = java.lang.IllegalArgumentException
    message = a message identity is UUIDv7 (time-ordered); this is version 4
    is a MessagingException (carries FailureDescriptor) = false

--- UUIDv7 id (what this platform mints)
    id = 01a0566b-79ca-7000-9e3d-3137b52f4488
    result = ACCEPTED

# exit=0
