Skip to content

Commit

Permalink
airflow: Fix software migration workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ish-hcc committed Nov 15, 2024
1 parent 657b012 commit 28fbf45
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "honeybee_task_get_software",
"description": "Get saved software information by honeybee.",
"api_connection_id": "honeybee_api",
"swagger_yaml_endpoint": "/honeybee/api/doc.yaml",
"endpoint": "/source_group/{sgId}/software"
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,30 @@
"sgId": "ddcfa917-17e0-4718-a878-f1e99f97ed6d"
}
},
{
"name": "get_software",
"task_component": "honeybee_task_get_software",
"path_params": {
"sgId": "ddcfa917-17e0-4718-a878-f1e99f97ed6d"
},
"dependencies": [
"import_software"
]
},
{
"name": "software_migration_nfs_server",
"task_component": "grasshopper_task_software_migration",
"request_body": "{\n \"software_ids\": [\n \"78d3664e-3eb7-4d37-bf8b-b57b7a238693\",\n \"aaf49384-1a7c-4b91-9fdc-c7c46aed0882\"\n ],\n \"source_connection_info_id\": \"829e9c15-a24c-4c39-9e1b-162fcae8f21b\",\n \"target\": {\n \"mci_id\": \"mmci01\",\n \"namespace_id\": \"mig01\",\n \"vm_id\": \"rehosted-test-cm-nfs-1\"\n }\n}",
"dependencies": [
"import_software"
"get_software"
]
},
{
"name": "software_migration_web_server",
"task_component": "grasshopper_task_software_migration",
"request_body": "{\n \"software_ids\": [\n \"78d3664e-3eb7-4d37-bf8b-b57b7a238693\",\n \"aa34795f-3401-4c28-bbe9-157a5788fd75\"\n ],\n \"source_connection_info_id\": \"d0b6a2a6-4cd8-4b36-ba41-a5f9a7aeef26\",\n \"target\": {\n \"mci_id\": \"mmci01\",\n \"namespace_id\": \"mig01\",\n \"vm_id\": \"rehosted-test-cm-web-1\"\n }\n}",
"dependencies": [
"import_software"
"get_software"
]
},
{
Expand Down

0 comments on commit 28fbf45

Please sign in to comment.