1
0
mirror of https://github.com/rancher/norman.git synced 2025-07-14 23:55:31 +00:00
Commit Graph

28 Commits

Author SHA1 Message Date
Darren Shepherd
9324ec8b09 Add Optional to access mapper 2018-07-19 10:23:17 -07:00
Darren Shepherd
c29825b3db Rename IsEmpty to IsAPIObjectEmpty 2018-07-19 10:23:17 -07:00
Darren Shepherd
c0cece100c Add CodeName to Move Mapper 2018-07-19 10:23:17 -07:00
Darren Shepherd
003c94dd27 Add root mapper 2018-07-19 10:23:17 -07:00
Darren Shepherd
875bcf4b2d Change ToInternal to return error 2018-07-19 10:23:17 -07:00
Darren Shepherd
0d782dfe15 when embedding optional element if schema isn't found ignore 2018-07-19 10:23:17 -07:00
Prachi Damle
d70f95a3d6 Changes to Mapper embed to insert nil value if applicable for a schema field 2018-06-11 10:53:23 -07:00
Craig Jellick
719d3af64f Fix logic for setting annotation based fields
- Do not drop a field-to-annotation conversion if the value of the field is
nil. The user is excplicitly trying to set it to nil
- Never delete field annotations, even if they are not in the new map of
annotations sent by the user.
- Prevent the modification of the creatorId field, which is a special case
field that should be considered protected
2018-04-27 09:25:25 -07:00
Darren Shepherd
0611d5f7a1 Add copy mapper 2018-04-21 21:50:09 -07:00
Alena Prokharchyk
1d27d67ff3 do not embed map if empty 2018-04-11 17:33:53 -07:00
Darren Shepherd
e9373e3511 Preserve selfLink in data 2018-03-29 15:58:51 -07:00
Darren Shepherd
35fb4dfb92 Add Required mapper 2018-03-23 16:26:05 -07:00
Alena Prokharchyk
65e6d1cc46 Index out of range fix in batchMove 2018-02-27 18:35:08 -07:00
Darren Shepherd
ee25c89cfd More mappers 2018-02-27 15:20:09 -07:00
Alena Prokharchyk
50be08fe26 Translate field to annotation only when not nil 2018-02-26 11:29:35 -08:00
Darren Shepherd
d95fc9147f MetadataMapper cleanup 2018-02-07 13:48:02 -08:00
Darren Shepherd
432219d447 Mapper updates 2018-01-12 14:39:58 +00:00
Darren Shepherd
16783cf1d3 Add support for list in annotation field 2017-12-29 22:23:14 +00:00
Darren Shepherd
c61bcaf6c0 Random mapper fixes 2017-12-29 22:23:14 +00:00
Daishan Peng
026837668c use patch for update, fix namespace actions 2017-12-29 22:08:51 +00:00
Darren Shepherd
0d05740f8d Make all status fields readonly by default 2017-12-28 16:49:51 +00:00
Darren Shepherd
57a671459b Various mapper changes 2017-12-22 23:19:30 -07:00
Darren Shepherd
2550f12a9a Add offspring controller 2017-12-19 21:44:02 -07:00
Darren Shepherd
18d3f69aa8 Updates 2017-12-05 09:21:47 -07:00
Darren Shepherd
15e105a0ab Refactor types 2017-11-29 14:27:02 -07:00
Darren Shepherd
389d27b3e5 Updates 2017-11-28 14:28:25 -07:00
Darren Shepherd
59d2d58c3e Fix code generator 2017-11-21 16:16:52 -07:00
Darren Shepherd
38c9c5c6c3 Subcontext and mapping updates 2017-11-21 15:37:22 -07:00