Class PolicyWindTunnelControllerAdapter

java.lang.Object
ai.astraform.remote.domain.sdk.spring.PolicyWindTunnelControllerAdapter

@RestController @CrossOrigin(originPatterns="*") @RequestMapping("${astraform.remote-domain.policy-wind-tunnel.base-path:/policy-wind-tunnel}") public class PolicyWindTunnelControllerAdapter extends Object
  • Constructor Details

  • Method Details

    • pack

      @GetMapping("/pack") public org.springframework.http.ResponseEntity<Map<String,Object>> pack()
    • presets

      @GetMapping("/presets") public org.springframework.http.ResponseEntity<Map<String,Object>> presets()
    • startRun

      @PostMapping("/runs") public org.springframework.http.ResponseEntity<Map<String,Object>> startRun(@RequestBody(required=false) Map<String,Object> payload, @RequestHeader(value="X-Astraform-Execution-Role",required=false) String executionRole)
    • getRun

      @GetMapping("/runs/{runId}") public org.springframework.http.ResponseEntity<Map<String,Object>> getRun(@PathVariable String runId)
    • controlRun

      @PostMapping("/runs/{runId}/lifecycle") public org.springframework.http.ResponseEntity<Map<String,Object>> controlRun(@PathVariable String runId, @RequestBody(required=false) Map<String,Object> payload)
    • bundle

      @GetMapping("/runs/{runId}/bundle") public org.springframework.http.ResponseEntity<Map<String,Object>> bundle(@PathVariable String runId)
    • artifact

      @GetMapping("/runs/{runId}/artifacts/{artifactType}") public org.springframework.http.ResponseEntity<byte[]> artifact(@PathVariable String runId, @PathVariable String artifactType)
    • artifactReadiness

      @GetMapping("/runs/{runId}/artifacts/{artifactType}/readiness") public org.springframework.http.ResponseEntity<Void> artifactReadiness(@PathVariable String runId, @PathVariable String artifactType)
    • evidencePack

      @GetMapping("/runs/{runId}/evidence-pack") public org.springframework.http.ResponseEntity<byte[]> evidencePack(@PathVariable String runId)
    • evidencePackReadiness

      @GetMapping("/runs/{runId}/evidence-pack/readiness") public org.springframework.http.ResponseEntity<Void> evidencePackReadiness(@PathVariable String runId)