DaZuiZui opened a new pull request, #479:
URL: https://github.com/apache/airavata-custos/pull/479

   ## Summary
   
   - Require `application/json` content type and reject trailing JSON values in 
API request bodies.
   - Map duplicate-key and invalid database constraint errors to client-facing 
`409`/`400` responses instead of generic `500` responses.
   - Add service-layer validation for lifecycle statuses, required time ranges, 
and non-negative resource/SU amounts.
   - Add focused tests and update API documentation to match enforced 
request-body behavior.
   
   Fixes #478
   
   ## Tests
   
   ```bash
   go build ./...
   go vet ./...
   go test ./...
   ```
   


-- 
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