mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-19 00:15:08 +00:00
se arreglaron dependencias para poder correr
This commit is contained in:
parent
1d5d09175f
commit
356622a410
4 changed files with 7 additions and 4 deletions
0
asset-transfer-basic/maven-example/mvnw
vendored
Normal file → Executable file
0
asset-transfer-basic/maven-example/mvnw
vendored
Normal file → Executable file
|
|
@ -14,7 +14,7 @@
|
|||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>3.1.3</version>
|
||||
<version>2.7.18</version>
|
||||
<relativePath/>
|
||||
</parent>
|
||||
|
||||
|
|
|
|||
|
|
@ -73,8 +73,11 @@ public class RecetaService {
|
|||
.commitStatusOptions(options -> options.withDeadlineAfter(1, TimeUnit.MINUTES));
|
||||
|
||||
try (var gateway = builder.connect()) {
|
||||
System.out.println("LLEGO ACA 2");
|
||||
this.setContract(gateway);
|
||||
System.out.println("LLEGO ACA 3");
|
||||
this.initLedger();
|
||||
System.out.println("LLEGO ACA 4");
|
||||
} /*finally {
|
||||
channel.shutdownNow().awaitTermination(5, TimeUnit.SECONDS);
|
||||
}*/
|
||||
|
|
|
|||
|
|
@ -2,13 +2,13 @@ package com.code.main;
|
|||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
@SpringBootTest
|
||||
/*
|
||||
@SpringBootTest(classes = MainApplication.class) // Especifica la clase de configuración
|
||||
class MainApplicationTests {
|
||||
|
||||
@Test
|
||||
void contextLoads() {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
*/
|
||||
Loading…
Reference in a new issue