Closed
Description
To create a CDEvent with the Java SDK, I can do:
CloudEvent prfe = CDEventTypes.createPipelineRunFinishedEvent(
CDEventConstants.CDEventTypes.PipelineRunFinishedEvent.getEventType(),
"id", uri, "name", uri,
CDEventConstants.Outcome.OutcomeSuccess, "errors", "data");
The first parameter requires is the type, but that seems redundant since the create methods are client specific anyways