Skip to content

Add safety check when passing Json into the EDC. #61

@ununhexium

Description

@ununhexium

About

Describes how to add a patch on a forked Eclipse EDC.

Version 0.14.0+

Task:

  • Change the transformer's input to be ExpandedJsonLd, and thus force the user to think about what to send there.

Something like

interface ExpandedJsonLd: JsonValue
interface CompactedJsonLd: JsonValue
interface UnknownJsonLd: JsonValue
public @Nullable DataFlowSuspendMessage transform(@NotNull JsonObject object, @NotNull TransformerContext context) {
=>
public @Nullable DataFlowSuspendMessage transform(@NotNull ExpandedJsonLd object, @NotNull TransformerContext context) {
  • Identify the version to patch
    • e.g VERSION=0.7.2
  • Checkout that version from the fork
    • git checkout sovity/VERSION
  • Checkout a new branch
    • git checkout my-crucial-patch
  • Implement the workaround as needed
  • Open a PR with
    • base repository: sovity/core-edc
    • base: sovity/VERSION
    • compare: my-crucial-patch

Before being done developing the patch changes, all pushed commits to sovity/A.B.C will be built in the Test Azure Maven Repository.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions