Darren Shepherd
e39bcf5ee4
If map, don't encode
2018-02-14 16:40:03 -07:00
Darren Shepherd
bfea703723
Transform helper method
2018-02-14 10:59:23 -07:00
Darren Shepherd
0f7c2968c9
Make controller and client more generic
2018-02-13 08:57:47 -07:00
Darren Shepherd
722cedfe01
Major refactor of subcontexts
2018-02-09 13:45:22 -07:00
Darren Shepherd
83916ae78f
Add helper functions in norman
2018-02-07 13:48:02 -08:00
Darren Shepherd
d95fc9147f
MetadataMapper cleanup
2018-02-07 13:48:02 -08:00
Craig Jellick
65807e9372
Distinguish between listing and getting
...
We now have resources (subtypes of authConfig) that can be retrieved
by ID but their collections are not viewable. This change is needed
to suppport that.
2018-01-31 19:30:51 -07:00
Darren Shepherd
87d5ab06b9
Change RequestHandler signature
2018-01-30 23:56:30 +00:00
Darren Shepherd
fe053853bb
Add notnullable attribute
2018-01-28 05:19:39 +00:00
Darren Shepherd
0b548c23c7
Fix typo
2018-01-23 03:43:51 +00:00
Craig Jellick
5bfe8991b1
more collection action changes
2018-01-20 01:32:04 -07:00
Darren Shepherd
d170661103
Add CollectionFormatter
2018-01-19 23:28:57 -07:00
Darren Shepherd
c970c36427
fix json float parsing
2018-01-20 04:31:39 +00:00
Darren Shepherd
aa2538a874
APIContext constructor
2018-01-20 04:31:39 +00:00
Darren Shepherd
76d8256085
Change merge logic
2018-01-18 23:41:45 +00:00
Darren Shepherd
b33c29d49e
Fix subscription dropping after 30 seconds
2018-01-18 23:41:45 +00:00
Darren Shepherd
986c94965f
Add helper method
2018-01-18 05:42:53 +00:00
Darren Shepherd
942bde06d7
Validate subtypes in create/update
2018-01-17 23:37:53 +00:00
Darren Shepherd
9e6ea56442
Changes to make conditions less chatty
2018-01-17 22:44:12 +00:00
Darren Shepherd
6f8ed342d9
Cleanup channels
2018-01-17 04:49:08 +00:00
Darren Shepherd
245c089cd5
Put in stubs for dynamic access control on schemas
2018-01-17 01:06:57 +00:00
Darren Shepherd
f7f989c4e2
precreate maps in schema
2018-01-16 19:54:43 +00:00
Darren Shepherd
04bbf46fc9
Action helper method
2018-01-16 19:54:43 +00:00
Darren Shepherd
9ce12b1644
Don't generate the ID field
2018-01-16 05:10:36 +00:00
Darren Shepherd
432219d447
Mapper updates
2018-01-12 14:39:58 +00:00
Darren Shepherd
fc7243e5c9
Add map and slice support to IsEmpty
2018-01-12 14:39:58 +00:00
Darren Shepherd
c94e18869a
Handle time.Time to string conversion
2018-01-02 05:10:22 +00:00
Darren Shepherd
5f0c700068
Turn off debug
2017-12-30 02:22:38 +00:00
Darren Shepherd
2732c0c43b
If "id" is set still prefix with namespace
2017-12-30 02:22:38 +00:00
Darren Shepherd
16783cf1d3
Add support for list in annotation field
2017-12-29 22:23:14 +00:00
Darren Shepherd
2bd0ed6014
Util method
2017-12-29 22:23:14 +00:00
Darren Shepherd
c61bcaf6c0
Random mapper fixes
2017-12-29 22:23:14 +00:00
Darren Shepherd
162f6088af
Add intOrString and dnsLabel types
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
45662fe756
Add utils methods
2017-12-28 16:49:51 +00:00
Darren Shepherd
eec4103473
Make queryopts be a pointer
2017-12-28 16:49:51 +00:00
Darren Shepherd
6d5879c98a
Add ability to rename imported types
2017-12-22 23:19:30 -07:00
Darren Shepherd
57a671459b
Various mapper changes
2017-12-22 23:19:30 -07:00
Darren Shepherd
c2d17541be
Only set ID on root types (not-embedded)
2017-12-22 23:19:30 -07:00
Darren Shepherd
34c01875c5
Have URLParser parse the query too
2017-12-22 23:19:30 -07:00
Darren Shepherd
2550f12a9a
Add offspring controller
2017-12-19 21:44:02 -07:00
Darren Shepherd
bfcad0d1b1
Enable access control
2017-12-18 13:59:56 -07:00
Daishan Peng
b7f12917ae
add resourceLinkById
2017-12-16 02:06:31 -07:00
Darren Shepherd
627e06e37f
Enable dynamic schemas
2017-12-16 01:30:46 -07:00
Darren Shepherd
480747082c
Return deleted object on delete if possible
2017-12-16 01:30:46 -07:00
Craig Jellick
f26502f753
Add action to url builder
2017-12-15 19:37:22 -07:00
Darren Shepherd
9dcef33943
Generate backreference links
2017-12-13 08:55:24 -07:00
Darren Shepherd
e656484b26
Fix codegen bug
2017-12-11 21:09:34 -07:00
Darren Shepherd
406c0d9999
Many enhancements
2017-12-11 20:58:53 -07:00