Skip to content

Deployment API clean-up ICSHWI-11790

Zoltan Runyo requested to merge deployment-api-clean-up-ICSHWI-11790 into develop
  • /api/v1/deployments can be eliminated, /api/v1/deployment/operations?type=DEPLOYMENT should be used instead
  • /api/v1/deployment/operations/{operation_id}: extended with 'alerts'
  • /api/v1/deployments/commands can be eliminated, /api/v1/deployment/operations?type=COMMAND should be used instead
  • /api/v1/deployments/commands/{command_id} could be eliminated, /api/v1/deployment/operations/{operation_id} could be used instead
  • /api/v1/deployments/commands/ongoing/{ioc_id}: replaced by /api/v1/deployments/operations?ioc_id=&type=COMMAND&status=NOT_FINISHED
  • /api/v1/iocs/{ioc_id}/stop_job and /api/v1/iocs/{ioc_id}/start_job: return Operation object (instead of AdHocCommand object)

Merge request reports