Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORE-16983 / CORE-16967 Atomic Swap with Facade - API #1282

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package net.corda.v5.application.interop.parameters;

import net.corda.v5.application.crypto.DigitalSignatureAndMetadata;
import org.jetbrains.annotations.NotNull;
import java.math.BigDecimal;
import java.nio.ByteBuffer;
Expand All @@ -16,7 +17,8 @@ public enum ParameterTypeLabel {
UUID(java.util.UUID.class),
TIMESTAMP(ZonedDateTime.class),
BYTES(ByteBuffer.class),
JSON(String.class);
JSON(String.class),
SIGNED_TX(DigitalSignatureAndMetadata.class);

@NotNull
private final Class<?> expectedClass;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package net.corda.v5.application.marshalling;

import net.corda.v5.application.flows.ClientStartableFlow;
import net.corda.v5.base.annotations.DoNotImplement;

/**
* {@link InteropJsonMarshallingService} marshalls to and from JSON using the registered JSON mapper.
* <p>
* The platform will provide an instance of {@link InteropJsonMarshallingService} to flows via property injection.
* <p>
* Example usage:
* @see ClientStartableFlow
*/
@DoNotImplement
public interface InteropJsonMarshallingService extends MarshallingService {
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ cordaProductVersion = 5.1.0-INTEROP
## IMPORTANT:
## The interop feature branches track api revisions separately to the mainline branch.
## API version of last merge from corda mainline: 32
cordaApiRevision = 24
cordaApiRevision = 25

# Main
kotlinVersion = 1.8.21
Expand Down