mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-22 09:35:10 +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>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-parent</artifactId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||||||
<version>3.1.3</version>
|
<version>2.7.18</version>
|
||||||
<relativePath/>
|
<relativePath/>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -73,8 +73,11 @@ public class RecetaService {
|
||||||
.commitStatusOptions(options -> options.withDeadlineAfter(1, TimeUnit.MINUTES));
|
.commitStatusOptions(options -> options.withDeadlineAfter(1, TimeUnit.MINUTES));
|
||||||
|
|
||||||
try (var gateway = builder.connect()) {
|
try (var gateway = builder.connect()) {
|
||||||
|
System.out.println("LLEGO ACA 2");
|
||||||
this.setContract(gateway);
|
this.setContract(gateway);
|
||||||
|
System.out.println("LLEGO ACA 3");
|
||||||
this.initLedger();
|
this.initLedger();
|
||||||
|
System.out.println("LLEGO ACA 4");
|
||||||
} /*finally {
|
} /*finally {
|
||||||
channel.shutdownNow().awaitTermination(5, TimeUnit.SECONDS);
|
channel.shutdownNow().awaitTermination(5, TimeUnit.SECONDS);
|
||||||
}*/
|
}*/
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,13 @@ package com.code.main;
|
||||||
|
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
import org.springframework.boot.test.context.SpringBootTest;
|
import org.springframework.boot.test.context.SpringBootTest;
|
||||||
|
/*
|
||||||
@SpringBootTest
|
@SpringBootTest(classes = MainApplication.class) // Especifica la clase de configuración
|
||||||
class MainApplicationTests {
|
class MainApplicationTests {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void contextLoads() {
|
void contextLoads() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
Loading…
Reference in a new issue