This file contains hidden or 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
| # Deploy in Ganache Development network | |
| yarn deploy:ganache | |
| # Deploy in Ropsten testnet | |
| yarn deploy:ropsten |
This file contains hidden or 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
| yarn compile |
This file contains hidden or 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
| ETHERSCAN_API_KEY=ABC123ABC123ABC123ABC123ABC123ABC1 | |
| ROPSTEN_URL=https://eth-ropsten.alchemyapi.io/v2/<YOUR ALCHEMY KEY> | |
| PRIVATE_KEY=0xabc123abc123abc123abc123abc123abc123abc123abc123abc123abc123abc1 |
This file contains hidden or 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
| package com.noodles; | |
| import com.noodles.util.Constants; | |
| import org.camunda.bpm.scenario.ProcessScenario; | |
| import org.camunda.bpm.scenario.Scenario; | |
| import org.junit.jupiter.api.BeforeEach; | |
| import org.junit.jupiter.api.Test; | |
| import org.mockito.Mock; | |
| import org.mockito.MockitoAnnotations; | |
| import org.springframework.boot.test.context.SpringBootTest; |
This file contains hidden or 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
| <dependency> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-starter-test</artifactId> | |
| <scope>test</scope> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.junit.vintage</groupId> | |
| <artifactId>junit-vintage-engine</artifactId> | |
| </exclusion> | |
| <exclusion> |
This file contains hidden or 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
| import com.noodles.util.Constants; | |
| import org.camunda.bpm.engine.delegate.DelegateExecution; | |
| import org.camunda.bpm.extension.mockito.CamundaMockito; | |
| import org.junit.jupiter.api.Assertions; | |
| import org.junit.jupiter.api.BeforeEach; | |
| import org.junit.jupiter.api.Test; | |
| import org.mockito.InjectMocks; | |
| import org.mockito.MockitoAnnotations; | |
| class OrderOnlineTest { |
This file contains hidden or 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
| import org.junit.jupiter.api.Assertions; | |
| import org.junit.jupiter.api.Test; | |
| class CalculatorTest { | |
| Calculator calculator = new Calculator(); | |
| @Test | |
| void add() { | |
| Assertions.assertEquals(5, calculator.add(2, 3); | |
| } | |
| } |
This file contains hidden or 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
| package com.example.demo.entity; | |
| public class Destination { | |
| private String name; | |
| private String description; | |
| public String getName() { | |
| return name; | |
| } |
This file contains hidden or 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
| @RestController | |
| public class TextractController { | |
| private final Logger logger = LoggerFactory.getLogger(this.getClass()); | |
| @PostMapping(value = "/document/text-extract", consumes = {"multipart/form-data"}) | |
| @Operation(summary = "Submit Document for OCR with firstname, lastname") | |
| @ApiResponses(value = { | |
| @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "200", description = "Document Submitted for OCR", | |
| content = {@Content(mediaType = "application/json", schema = @Schema(implementation = ApiResponse.class))}), |
This file contains hidden or 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
| Timestamp:1624562624142:workflow-service-info:Check Ingredients:Check ingredients to make veg masala noodles | |
| Timestamp:1624562624142:workflow-service-error:Check Ingredients:we cannot make veg masala noodles as required ingredient is missing. Instant Noodles, Water, Pan and Spatula are required. | |
| Timestamp:1624562624144:workflow-service-info:Order Online:Veg masala noodles was no success.. Let's order online... | |
| Timestamp:1624562624145:workflow-service-info:Order Online:Ordering is not part of this flow yet... Try your local apps... |