Skip to content

Commit

Permalink
CORE-16626 Replace string UUIDs with UUID objects (#1290)
Browse files Browse the repository at this point in the history
# Changes
- Change type of groupId field in `IntropIdentityInfo` from string to UUID object.
- Change type of groupId parameter of `callFacade()` in `FlowMessaging` from string to UUID object.
- Bump API version to 24.
  • Loading branch information
ac101m authored Oct 24, 2023
1 parent fd1d20c commit 44b9561
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import net.corda.v5.base.annotations.CordaSerializable;
import org.jetbrains.annotations.NotNull;
import java.util.List;
import java.util.UUID;

/**
* This interface represents the InterOp Identity Info that have been registered with the User.
Expand All @@ -27,7 +28,7 @@ public interface InterOpIdentityInfo {
List<FacadeId> getFacadeIds();

@NotNull
String getGroupId();
UUID getGroupId();

@NotNull
String getX500Name();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.UUID;

/**
* {@link FlowMessaging} allows a flow to initiate and communicate with one or more 3rd party flows.
Expand Down Expand Up @@ -162,7 +163,7 @@ public interface FlowMessaging {
@NotNull
String callFacade(
@NotNull MemberX500Name memberName,
@NotNull String interopGroupId,
@NotNull UUID interopGroupId,
@NotNull String facadeName,
@NotNull String methodName,
@NotNull String payload);
Expand Down
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 = 23
cordaApiRevision = 24

# Main
kotlinVersion = 1.8.21
Expand Down

0 comments on commit 44b9561

Please sign in to comment.