Skip to content

Draft: Build/query occmd from tool api

This MR contains changes for implementing the OCCMD standalone tool. It also serves as an example of what to change in data-provider when adding a tool to a pipeline.

Changes:

  • Added OCCMD endpoint to application.properties
  • Added OCCMD serializable data classes
  • Changed OCCMD service to query to tool API instead of executing occmd script
  • Changed ToolRunService's OCCMD async call to its updated methods
  • Added tests for OCCMD service
  • Added OCCMD field to the opencode tool api properties
    • Because of this, I needed to updated ORT service test too
  • Added HTTP request 5 minute timeout to handle long response from tool API
Edited by Hutomo Saleh

Merge request reports

Loading