spad.ltip.alibaba.configure_oss_bucket ​
Configure Alibaba OSS bucket for static website serving
Configure Alibaba OSS bucket for static website serving (website config + CORS).
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-spad |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
oss_bucket_name | string | Yes | — | OSS bucket to configure (set by create_oss_bucket) |
cloud_connection_uuid | string | Yes | — | Alibaba CloudConnection.id for the bucket owner |
oss_region | string | No | oss-cn-hangzhou | OSS region (e.g. oss-cn-hangzhou) |
site_uuid | string | No | — | SpadSite.id for context propagation |
organization_uuid | string | No | — | Organization that owns the site |
workflow_run_id | string | No | — | Injected by the parent DAG; propagated through state_data |
workflow_run_uuid | string | No | — | Parent workflow run ID stamped by the DAG engine (legacy alias) |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
oss_website_configured | boolean | Yes | — | True once the bucket static-website/CORS config is applied |
completed_at | string | No | — | ISO8601 timestamp when the step reached COMPLETED |
failed_at | string | No | — | ISO8601 timestamp when the step reached FAILED |
failure_reason | string | No | — | Reason recorded on the failure path |
workflow_run_id | string | No | — | Injected by the parent DAG; propagated through state_data |
oss_bucket_name | string | No | — | OSS bucket to configure (set by create_oss_bucket) |
cloud_connection_uuid | string | No | — | Alibaba CloudConnection.id for the bucket owner |
oss_region | string | No | — | OSS region (e.g. oss-cn-hangzhou) |
site_uuid | string | No | — | SpadSite.id for context propagation |
organization_uuid | string | No | — | Organization that owns the site |
workflow_run_uuid | string | No | — | Parent workflow run ID stamped by the DAG engine (legacy alias) |
error | string | No | — | Engine-stamped failure metadata |
error_type | string | No | — | Engine-stamped failure metadata |
failed_at_state | json | No | — | Engine-stamped failure metadata |
failed_layer | json | No | — | Engine-stamped failure metadata |
failed_step | json | No | — | Engine-stamped failure metadata |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
initiated | Yes | No | — | run | Step accepted |
run | No | No | — | complete | Configuring OSS bucket |
completed | No | Yes | Yes | — | OSS bucket configured |
failed | No | Yes | No | — | OSS bucket configuration failed |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
initiated | run | run | Start configuration |
run | complete | completed | Mark step completed |
* (any state) | fail | failed | Mark step failed |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "spad.ltip.alibaba.configure_oss_bucket",
"initial_data": {
"oss_bucket_name": "value",
"cloud_connection_uuid": "value"
}
}