Requires Hyperledger Fabric network provided by the Java SDK
Main sample code is in /src/main/java/org/cr22rc/MultiDomainSample.java
Once Fabric network from SDK is running you can run this sample with:
MAVEN_OPTS=-ea mvn clean install exec:java -Dexec.mainClass="org.cr22rc.MultiDomainSample"
mvn package appassembler:assemble
now run it:
JAVA_OPTS=-ea ./target/appassembler/bin/app