1
0
mirror of https://github.com/rancher/norman.git synced 2025-06-24 06:27:08 +00:00
Commit Graph

14 Commits

Author SHA1 Message Date
Darren Shepherd
f33accee7c Add InputFormatter that runs before the builder/validation 2018-07-19 10:23:17 -07:00
Dan Ramich
aecae32b4a Fix pagination
Problem:
Pagination is not showing up

Solution:
Pagination was being created properly but then dropped in favor of an
empty version. Save the pagination on the context so it can be accessed
later and not reset.
2018-06-25 15:34:52 -07:00
Nathan Jenan
7fed8b17a8 Filter resources on default fields
This change gives norman the ability to filter api requests based on the
default value of fields.  Before, it would filter on the actual data in
the resource, and then apply default values to the resource before
returning.

Issue:
https://github.com/rancher/rancher/issues/13418
2018-05-16 10:15:34 -07:00
Darren Shepherd
b5aef8d08d Don't log conflicts as much 2018-03-22 15:55:44 -07:00
Craig Jellick
723fdccf80 Add function for parsing and validating an action 2018-03-15 09:10:03 -07:00
Darren Shepherd
2a6c821309 Add subContext data to validation 2018-02-26 16:14:39 -07:00
Darren Shepherd
45214c311d Return 404 when no store is configured (not 200) 2018-02-14 10:59:23 -07:00
Darren Shepherd
87d5ab06b9 Change RequestHandler signature 2018-01-30 23:56:30 +00:00
Darren Shepherd
942bde06d7 Validate subtypes in create/update 2018-01-17 23:37:53 +00:00
Darren Shepherd
eec4103473 Make queryopts be a pointer 2017-12-28 16:49:51 +00:00
Darren Shepherd
480747082c Return deleted object on delete if possible 2017-12-16 01:30:46 -07:00
Darren Shepherd
406c0d9999 Many enhancements 2017-12-11 20:58:53 -07:00
Darren Shepherd
389d27b3e5 Updates 2017-11-28 14:28:25 -07:00
Darren Shepherd
38c9c5c6c3 Subcontext and mapping updates 2017-11-21 15:37:22 -07:00