Project

General

Profile

Idea #9618

Updated by Brett Smith almost 8 years ago

The runtime_constraints of a ContainerRequest must include a @ram@ field.    @ram@ is a number of bytes, so it must be a positive integer.    The API server must validate this on every create and update of a ContainerRequest when its state is Committed. ContainerRequest.    If a request tries to set @ram@ to an unacceptable value, the server must reject the request with HTTP error code 422, and the response JSON should include an error message close to "runtime_constraints ram must be a positive integer."

Back