-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update mvn dependency for json-schema
Dependency updates for package version Signed-off-by: S m, Aruna <aruna.mohan@walmart.com>
- Loading branch information
Showing
6 changed files
with
92 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 11 additions & 12 deletions
23
src/main/java/hlf/java/rest/client/sdk/StandardCCEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,24 @@ | ||
package hlf.java.rest.client.sdk; | ||
|
||
import com.owlike.genson.annotation.JsonProperty; | ||
import java.io.Serializable; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import lombok.Data; | ||
import org.hyperledger.fabric.contract.annotation.DataType; | ||
import org.hyperledger.fabric.contract.annotation.Property; | ||
|
||
import java.io.Serializable; | ||
|
||
/** | ||
* StandardCCEvent can be used by smart contract developers | ||
* to send a commonly wrapped event that the hlf-connector | ||
* decodes. The decoded event can be used to publish to Kafka. | ||
* StandardCCEvent can be used by smart contract developers to send a commonly wrapped event that | ||
* the hlf-connector decodes. The decoded event can be used to publish to Kafka. | ||
*/ | ||
@Data | ||
@DataType | ||
public class StandardCCEvent implements Serializable { | ||
@Property() | ||
@JsonProperty("key") | ||
private String key; | ||
@Property() | ||
@JsonProperty("key") | ||
private String key; | ||
|
||
@Property | ||
@JsonProperty("event") | ||
private String event; | ||
@Property | ||
@JsonProperty("event") | ||
private String event; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters