owais-maswala opened a new issue, #8687: URL: https://github.com/apache/incubator-devlake/issues/8687
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues. ### What happened PATCH requests to /api/blueprints/:id cannot update skipCollectors or fullSync fields. The values remain unchanged in the database regardless of what's sent in the request body. Other SyncPolicy fields like skipOnFail update correctly. ### What do you expect to happen skipCollectors and fullSync should be updateable via PATCH like other blueprint fields. ### How to reproduce # Check current value curl -s <devlake_url>/api/blueprints/<bp_id> | jq '{skipCollectors, fullSync}' # {"skipCollectors": true, "fullSync": false} # Attempt to update curl -X PATCH <devlake_url>/api/blueprints/<bp_id> \ -H "Content-Type: application/json" \ -d '{"skipCollectors": false, "fullSync": true}' # Check again - values unchanged curl -s <devlake_url>/api/blueprints/<bp_id> | jq '{skipCollectors, fullSync}' # {"skipCollectors": true, "fullSync": false} ### Anything else _No response_ ### Version v1.0.3-beta9 ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
