fix(Claiming devices): resolve SerializationFailedException
when use redis as the cache, this interface http(s)://host:port/api/v1/$ACCESS_TOKEN/claim throw a SerializationFailedException but ignored by AbstractTransformFuture ,and when do Device Claiming API Request(http(s)://host:port/api/customer/device/$DEVICE_NAME/claim),the system show :Failed to claim the device
This commit is contained in:
parent
ee62dbf771
commit
d3c51ca1c7
@ -18,9 +18,11 @@ package org.thingsboard.server.dao.device.claim;
|
|||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@Data
|
@Data
|
||||||
public class ClaimData {
|
public class ClaimData implements Serializable {
|
||||||
|
|
||||||
private final String secretKey;
|
private final String secretKey;
|
||||||
private final long expirationTime;
|
private final long expirationTime;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user