package blockly;

import cronapi.*;
import cronapi.rest.security.CronappSecurity;
import java.util.concurrent.Callable;
import org.springframework.web.bind.annotation.*;



@RestController
@CronapiMetaData(type = "blockly")
@CronappSecurity(post = "Public", get = "Public", execute = "Public", delete = "Public", put = "Public")
public class HelloWorld {

public static final int TIMEOUT = 300;

/**
 *
 * HelloWorld
 *
 * @author Root
 * @since 03/04/2023, 08:32:40
 *
 */
@RequestMapping(path = "/api/v1/HelloWorld", method = RequestMethod.GET, consumes = "*/*")
@CronappSecurity(post = "None", get = "Public", execute = "None", delete = "None", put = "None")
public static Var Executar() throws Exception {
 return new Callable<Var>() {

   public Var call() throws Exception {
    return
Var.valueOf("Hello, World!");
   }
 }.call();
}

}

