klesh opened a new pull request, #4968:
URL: https://github.com/apache/incubator-devlake/pull/4968

   ### Summary
   1. remove unused cicd_pipelines/cicd_tasks api endpoints
   2. remove filenames to reflect their true purpose
   3. make `start_time` and `end_time` compulsory for DORA metrics
   4. added `repo_id` `ref_name` `create_time` `pipeline_id` as Optional fields
   5. `pipeline_id` fallback to `deployment_commit_it` instead of a different 
value
   
   ### Does this close any open issues?
   Part of #4869
   
   ### Screenshots
   Post the following content to deployments
   ```json
   {
       "commit_sha":"015e3d3b480e417aede5a1293bd61de9b0fd051d",
       "repo_url":"https://github.com/apache/incubator-devlake/";,
       "repo_id": "optional-repo-id",
       "ref_name": "optional-release-v0.17",
       "environment":"PRODUCTION",
       "create_time":"2020-01-01T11:00:00+00:00",
       "start_time":"2020-01-01T12:00:00+00:00",
       "end_time":"2020-01-02T12:00:00+00:00"
     }
   ```
   Would create/update a record like the following:
   
![image](https://user-images.githubusercontent.com/61080/233023675-e476d4a1-d96c-4a0b-a726-b6594cdfc69a.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to