Class RemoteDomainControllerAdapter
java.lang.Object
ai.astraform.remote.domain.sdk.spring.RemoteDomainControllerAdapter
- All Implemented Interfaces:
RemoteDomainProtocolApi
@RestController
@CrossOrigin(originPatterns="*")
public class RemoteDomainControllerAdapter
extends Object
implements RemoteDomainProtocolApi
-
Field Summary
Fields inherited from interface ai.astraform.remote.domain.openapi.controller.RemoteDomainProtocolApi
PATH_EXECUTE_REMOTE_DOMAIN_CONTROL_ACTION, PATH_EXECUTE_REMOTE_DOMAIN_SYSTEM_WORK_WINDOW, PATH_EXECUTE_REMOTE_DOMAIN_WORK, PATH_GET_REMOTE_DOMAIN_MANIFEST, PATH_PREPARE_REMOTE_DOMAIN_AGENT, PATH_PROJECT_REMOTE_DOMAIN_INSPECTION, PATH_PROJECT_REMOTE_DOMAIN_STATUS, PATH_SHUTDOWN_REMOTE_DOMAIN_AGENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<RemoteDomainControlActionResponse> executeRemoteDomainControlAction(RemoteDomainControlActionRequest remoteDomainControlActionRequest) POST /api/remote-domain/v1/control-actions:execute : Execute a domain-owned operator control action during a simulation run Executes a domain-owned intervention against the supplied agent state.org.springframework.http.ResponseEntity<RemoteDomainSystemWorkWindowResponse> executeRemoteDomainSystemWorkWindow(RemoteDomainSystemWorkWindowRequest remoteDomainSystemWorkWindowRequest) POST /api/remote-domain/v1/domain-system-work-window : Let the remote domain evaluate and execute domain-owned work for a simulated time windoworg.springframework.http.ResponseEntity<RemoteDomainExecuteWorkResponse> executeRemoteDomainWork(RemoteDomainExecuteWorkRequest remoteDomainExecuteWorkRequest) POST /api/remote-domain/v1/execute-work : Apply one host-owned work cycle to the current opaque stateorg.springframework.http.ResponseEntity<RemoteDomainManifest> GET /api/remote-domain/v1/manifest : Fetch remote domain manifest and capability declarationorg.springframework.http.ResponseEntity<RemoteDomainPrepareResponse> prepareRemoteDomainAgent(RemoteDomainPrepareRequest remoteDomainPrepareRequest) POST /api/remote-domain/v1/prepare : Validate persona input and produce initial opaque stateorg.springframework.http.ResponseEntity<RemoteDomainInspectionResponse> projectRemoteDomainInspection(RemoteDomainInspectionRequest remoteDomainInspectionRequest) POST /api/remote-domain/v1/inspection : Project a detailed inspection fragment from opaque stateorg.springframework.http.ResponseEntity<RemoteDomainStatusResponse> projectRemoteDomainStatus(RemoteDomainStatusRequest remoteDomainStatusRequest) POST /api/remote-domain/v1/status : Project a public runtime status fragment from opaque stateorg.springframework.http.ResponseEntity<RemoteDomainShutdownResponse> shutdownRemoteDomainAgent(RemoteDomainShutdownRequest remoteDomainShutdownRequest) POST /api/remote-domain/v1/shutdown : Best-effort advisory shutdown notificationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ai.astraform.remote.domain.openapi.controller.RemoteDomainProtocolApi
getRequest
-
Constructor Details
-
RemoteDomainControllerAdapter
-
-
Method Details
-
getRemoteDomainManifest
Description copied from interface:RemoteDomainProtocolApiGET /api/remote-domain/v1/manifest : Fetch remote domain manifest and capability declaration- Specified by:
getRemoteDomainManifestin interfaceRemoteDomainProtocolApi- Returns:
- Manifest returned successfully (status code 200) or Internal server error (status code 500)
-
getPopulationCatalog
-
prepareRemoteDomainAgent
public org.springframework.http.ResponseEntity<RemoteDomainPrepareResponse> prepareRemoteDomainAgent(RemoteDomainPrepareRequest remoteDomainPrepareRequest) Description copied from interface:RemoteDomainProtocolApiPOST /api/remote-domain/v1/prepare : Validate persona input and produce initial opaque state- Specified by:
prepareRemoteDomainAgentin interfaceRemoteDomainProtocolApi- Parameters:
remoteDomainPrepareRequest- (required)- Returns:
- Prepare request succeeded (status code 200) or Bad request (status code 400) or Domain rejected the persona/configuration (status code 422) or Internal server error (status code 500)
-
executeRemoteDomainWork
public org.springframework.http.ResponseEntity<RemoteDomainExecuteWorkResponse> executeRemoteDomainWork(RemoteDomainExecuteWorkRequest remoteDomainExecuteWorkRequest) Description copied from interface:RemoteDomainProtocolApiPOST /api/remote-domain/v1/execute-work : Apply one host-owned work cycle to the current opaque state- Specified by:
executeRemoteDomainWorkin interfaceRemoteDomainProtocolApi- Parameters:
remoteDomainExecuteWorkRequest- (required)- Returns:
- Work execution succeeded (status code 200) or Bad request (status code 400) or Domain rejected the supplied state or work context (status code 422) or Internal server error (status code 500)
-
executeRemoteDomainSystemWorkWindow
public org.springframework.http.ResponseEntity<RemoteDomainSystemWorkWindowResponse> executeRemoteDomainSystemWorkWindow(RemoteDomainSystemWorkWindowRequest remoteDomainSystemWorkWindowRequest) Description copied from interface:RemoteDomainProtocolApiPOST /api/remote-domain/v1/domain-system-work-window : Let the remote domain evaluate and execute domain-owned work for a simulated time window- Specified by:
executeRemoteDomainSystemWorkWindowin interfaceRemoteDomainProtocolApi- Parameters:
remoteDomainSystemWorkWindowRequest- (required)- Returns:
- Domain-system work window execution succeeded (status code 200) or Bad request (status code 400) or Domain rejected the supplied state or work-window context (status code 422) or Internal server error (status code 500)
-
executeRemoteDomainControlAction
public org.springframework.http.ResponseEntity<RemoteDomainControlActionResponse> executeRemoteDomainControlAction(RemoteDomainControlActionRequest remoteDomainControlActionRequest) Description copied from interface:RemoteDomainProtocolApiPOST /api/remote-domain/v1/control-actions:execute : Execute a domain-owned operator control action during a simulation run Executes a domain-owned intervention against the supplied agent state. The host owns authorization, target selection, fan-out, audit, and evidence persistence. The remote domain owns the available action catalog, validation, state effects, evidence events, and business interpretation.- Specified by:
executeRemoteDomainControlActionin interfaceRemoteDomainProtocolApi- Parameters:
remoteDomainControlActionRequest- (required)- Returns:
- Control action execution succeeded (status code 200) or Bad request (status code 400) or Domain rejected the supplied control action (status code 422) or Internal server error (status code 500)
-
projectRemoteDomainStatus
public org.springframework.http.ResponseEntity<RemoteDomainStatusResponse> projectRemoteDomainStatus(RemoteDomainStatusRequest remoteDomainStatusRequest) Description copied from interface:RemoteDomainProtocolApiPOST /api/remote-domain/v1/status : Project a public runtime status fragment from opaque state- Specified by:
projectRemoteDomainStatusin interfaceRemoteDomainProtocolApi- Parameters:
remoteDomainStatusRequest- (required)- Returns:
- Status projection succeeded (status code 200) or Bad request (status code 400) or Internal server error (status code 500)
-
projectRemoteDomainInspection
public org.springframework.http.ResponseEntity<RemoteDomainInspectionResponse> projectRemoteDomainInspection(RemoteDomainInspectionRequest remoteDomainInspectionRequest) Description copied from interface:RemoteDomainProtocolApiPOST /api/remote-domain/v1/inspection : Project a detailed inspection fragment from opaque state- Specified by:
projectRemoteDomainInspectionin interfaceRemoteDomainProtocolApi- Parameters:
remoteDomainInspectionRequest- (required)- Returns:
- Inspection projection succeeded (status code 200) or Bad request (status code 400) or Internal server error (status code 500)
-
shutdownRemoteDomainAgent
public org.springframework.http.ResponseEntity<RemoteDomainShutdownResponse> shutdownRemoteDomainAgent(RemoteDomainShutdownRequest remoteDomainShutdownRequest) Description copied from interface:RemoteDomainProtocolApiPOST /api/remote-domain/v1/shutdown : Best-effort advisory shutdown notification- Specified by:
shutdownRemoteDomainAgentin interfaceRemoteDomainProtocolApi- Parameters:
remoteDomainShutdownRequest- (required)- Returns:
- Shutdown acknowledged (status code 200) or Bad request (status code 400) or Internal server error (status code 500)
-