mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 07:25:10 +00:00
fix
This commit is contained in:
parent
54faad550f
commit
496073053c
2 changed files with 4 additions and 4 deletions
|
|
@ -146,7 +146,7 @@ public class VacunaController {
|
|||
|
||||
private VacunaDto mapToDto(Vacuna vacuna) {
|
||||
VacunaDto dto = new VacunaDto();
|
||||
dto.setIdentificador(vacuna.getIdentificador());
|
||||
dto.setIdentificador(vacuna.getIdentifier());
|
||||
dto.setStatus(vacuna.getStatus());
|
||||
dto.setStatusChange(vacuna.getStatusChange());
|
||||
dto.setStatusReason(vacuna.getStatusReason());
|
||||
|
|
|
|||
|
|
@ -9,20 +9,20 @@ import io.grpc.Grpc;
|
|||
import io.grpc.ManagedChannel;
|
||||
import io.grpc.TlsChannelCredentials;
|
||||
import lombok.SneakyThrows;
|
||||
import main.java.com.code.hyperledger.models.VacunaDto;
|
||||
import com.code.hyperledger.models.VacunaDto;
|
||||
|
||||
import org.hyperledger.fabric.client.*;
|
||||
import org.hyperledger.fabric.client.identity.*;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.hyperledger.fabric.client.identity.Signer;
|
||||
import org.hyperledger.fabric.client.identity.Identity;
|
||||
|
||||
import javax.annotation.PostConstruct;
|
||||
import java.io.IOException;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.nio.file.Paths;
|
||||
import java.security.Identity;
|
||||
import java.security.InvalidKeyException;
|
||||
import java.security.Signer;
|
||||
import java.security.cert.CertificateException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
|
|
|||
Loading…
Reference in a new issue