Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,813 changes: 1,733 additions & 1,080 deletions .generator/schemas/v2/openapi.yaml

Large diffs are not rendered by default.

208 changes: 85 additions & 123 deletions features/v2/fleet_automation.feature

Large diffs are not rendered by default.

52 changes: 26 additions & 26 deletions features/v2/given.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,4 @@
[
{
"parameters": [
{
"name": "body",
"value": "{\n \"data\": {\n \"type\": \"deployment\",\n \"attributes\": {\n \"filter_query\": \"env:prod AND service:{{ unique_lower }}\",\n \"config_operations\": [\n {\n \"file_op\": \"merge-patch\",\n \"file_path\": \"/datadog.yaml\",\n \"patch\": {\n \"log_level\": \"info\"\n }\n }\n ]\n }\n }\n}"
}
],
"source": "data",
"step": "there is a valid \"deployment\" in the system",
"key": "deployment",
"tag": "Fleet Automation",
"operationId": "CreateFleetDeploymentConfigure"
},
{
"parameters": [
{
"name": "body",
"value": "{\n \"data\": {\n \"type\": \"deployment\",\n \"attributes\": {\n \"filter_query\": \"env:prod AND service:{{ unique_lower }}\",\n \"target_packages\": [\n {\n \"name\": \"datadog-agent\",\n \"version\": \"7.52.0\"\n }\n ]\n }\n }\n}"
}
],
"source": "data",
"step": "there is a valid \"package_deployment\" in the system",
"key": "package_deployment",
"tag": "Fleet Automation",
"operationId": "CreateFleetDeploymentUpgrade"
},
{
"parameters": [
{
Expand Down Expand Up @@ -498,6 +472,32 @@
"tag": "Feature Flags",
"operationId": "UpdateAllocationsForFeatureFlagInEnvironment"
},
{
"parameters": [
{
"name": "body",
"value": "{\n \"data\": {\n \"type\": \"deployment\",\n \"attributes\": {\n \"filter_query\": \"env:prod AND service:{{ unique_lower }}\",\n \"config_operations\": [\n {\n \"file_op\": \"merge-patch\",\n \"file_path\": \"/datadog.yaml\",\n \"patch\": {\n \"log_level\": \"info\"\n }\n }\n ]\n }\n }\n}"
}
],
"source": "data",
"step": "there is a valid \"deployment\" in the system",
"key": "deployment",
"tag": "Fleet Automation",
"operationId": "CreateFleetDeploymentConfigureV2"
},
{
"parameters": [
{
"name": "body",
"value": "{\n \"data\": {\n \"type\": \"deployment\",\n \"attributes\": {\n \"filter_query\": \"env:prod AND service:{{ unique_lower }}\",\n \"target_packages\": [\n {\n \"name\": \"datadog-agent\",\n \"version\": \"7.52.0\"\n }\n ]\n }\n }\n}"
}
],
"source": "data",
"step": "there is a valid \"package_deployment\" in the system",
"key": "package_deployment",
"tag": "Fleet Automation",
"operationId": "CreateFleetDeploymentUpgradeV2"
},
{
"parameters": [
{
Expand Down
148 changes: 74 additions & 74 deletions features/v2/undo.json
Original file line number Diff line number Diff line change
@@ -1,78 +1,10 @@
{
"ListFleetAgentVersions": {
"tag": "Fleet Automation",
"undo": {
"type": "safe"
}
},
"ListFleetAgents": {
"tag": "Fleet Automation",
"undo": {
"type": "safe"
}
},
"GetFleetAgentInfo": {
"tag": "Fleet Automation",
"undo": {
"type": "safe"
}
},
"ListFleetAgentTracers": {
"tag": "Fleet Automation",
"undo": {
"type": "safe"
}
},
"ListFleetDeployments": {
"tag": "Fleet Automation",
"undo": {
"type": "safe"
}
},
"CreateFleetDeploymentConfigure": {
"tag": "Fleet Automation",
"undo": {
"operationId": "CancelFleetDeployment",
"parameters": [
{
"name": "deployment_id",
"source": "data.id"
}
],
"type": "unsafe"
}
},
"CreateFleetDeploymentUpgrade": {
"tag": "Fleet Automation",
"undo": {
"operationId": "CancelFleetDeployment",
"parameters": [
{
"name": "deployment_id",
"source": "data.id"
}
],
"type": "unsafe"
}
},
"GetFleetDeployment": {
"tag": "Fleet Automation",
"undo": {
"type": "safe"
}
},
"CancelFleetDeployment": {
"tag": "Fleet Automation",
"undo": {
"type": "idempotent"
}
},
"ListFleetSchedules": {
"tag": "Fleet Automation",
"undo": {
"type": "safe"
}
},
"CreateFleetSchedule": {
"tag": "Fleet Automation",
"undo": {
Expand All @@ -92,12 +24,6 @@
"type": "unsafe"
}
},
"GetFleetSchedule": {
"tag": "Fleet Automation",
"undo": {
"type": "safe"
}
},
"UpdateFleetSchedule": {
"tag": "Fleet Automation",
"undo": {
Expand Down Expand Up @@ -2747,6 +2673,80 @@
"type": "idempotent"
}
},
"ListFleetAgentVersionsV2": {
"tag": "Fleet Automation",
"undo": {
"type": "safe"
}
},
"ListFleetAgentsV2": {
"tag": "Fleet Automation",
"undo": {
"type": "safe"
}
},
"GetFleetAgentDetailV2": {
"tag": "Fleet Automation",
"undo": {
"type": "safe"
}
},
"ListFleetDeploymentsV2": {
"tag": "Fleet Automation",
"undo": {
"type": "safe"
}
},
"CreateFleetDeploymentConfigureV2": {
"tag": "Fleet Automation",
"undo": {
"operationId": "CancelFleetDeploymentV2",
"parameters": [
{
"name": "deployment_id",
"source": "data.id"
}
],
"type": "unsafe"
}
},
"CreateFleetDeploymentUpgradeV2": {
"tag": "Fleet Automation",
"undo": {
"operationId": "CancelFleetDeploymentV2",
"parameters": [
{
"name": "deployment_id",
"source": "data.id"
}
],
"type": "unsafe"
}
},
"GetFleetDeploymentV2": {
"tag": "Fleet Automation",
"undo": {
"type": "safe"
}
},
"CancelFleetDeploymentV2": {
"tag": "Fleet Automation",
"undo": {
"type": "idempotent"
}
},
"ListFleetSchedulesV2": {
"tag": "Fleet Automation",
"undo": {
"type": "safe"
}
},
"GetFleetScheduleV2": {
"tag": "Fleet Automation",
"undo": {
"type": "safe"
}
},
"ListForms": {
"tag": "Forms",
"undo": {
Expand Down
Loading
Loading