1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-01 15:18:20 +00:00
Commit Graph

439 Commits

Author SHA1 Message Date
Darren Shepherd
e39bcf5ee4 If map, don't encode 2018-02-14 16:40:03 -07:00
Darren Shepherd
94b274ab75 add get to schemas that CanGet 2018-02-14 15:51:17 -07:00
Darren Shepherd
69f36e04a9 404 on schema not found 2018-02-14 15:51:17 -07:00
Darren Shepherd
bfea703723 Transform helper method 2018-02-14 10:59:23 -07:00
Darren Shepherd
27b53dd2b6 If you hit /v3/projects/{ID}/schemas make sure schemas have correct URLs 2018-02-14 10:59:23 -07:00
Darren Shepherd
45214c311d Return 404 when no store is configured (not 200) 2018-02-14 10:59:23 -07:00
Darren Shepherd
c814e62e43 Fix a series of url parsing issues 2018-02-13 16:44:25 -07:00
Darren Shepherd
0f7c2968c9 Make controller and client more generic 2018-02-13 08:57:47 -07:00
Darren Shepherd
63f413add2 Drop password fields from response 2018-02-09 18:04:03 -07:00
Darren Shepherd
722cedfe01 Major refactor of subcontexts 2018-02-09 13:45:22 -07:00
Daishan Peng
b62e043067 only update when obj is not nil 2018-02-07 13:48:17 -08:00
Raul Sanchez
aa9c66a519 Feat: Added token suport to clientbase auth 2018-02-07 13:48:11 -08: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
Darren Shepherd
339468f119 Only record forgetError if there is no message at all 2018-02-06 05:03:25 +00:00
Darren Shepherd
70200ed19c Disable event logging for the moment 2018-02-06 05:03:25 +00:00
Darren Shepherd
d63581239c Fix non-updating condition 2018-02-03 06:44:14 +00:00
Craig Jellick
151aa66e3e Merge pull request #82 from cjellick/auth-config2
Better support for subtyping
2018-02-01 08:15:36 -07: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
Craig Jellick
536d36c706 Fixes for subtypes
Change key method (used to find CRD that backs the schema) to use
baseType of the schema when it differs from the schema ID. This
will allow subtypes to use their base type's CRD store.

When creating CRD stores, do not create one for a schema if it is
a baseType.
2018-01-31 19:28:26 -07:00
Dan Ramich
d2d5892f3f Add option to pass in CAcert for verification
Problem:
Running a server with a self signed cert will cause tls errors

Solution:
Add abillity to pass in a cert file to use for tls verification
2018-01-31 20:57:39 +00: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
1369734139 Fix panic when posting to / 2018-01-26 04:16:12 +00:00
Darren Shepherd
2cdc1aa00a Fix standard dump 2018-01-24 01:18:27 +00:00
Darren Shepherd
d7d3712fd1 Dump standard goroutine also 2018-01-23 21:49:55 +00:00
Darren Shepherd
0b548c23c7 Fix typo 2018-01-23 03:43:51 +00:00
Darren Shepherd
60fa30a605 Fix scheme detection in URL 2018-01-23 02:08:21 +00:00
Darren Shepherd
0d8fd60120 Move gorouting dump 2018-01-22 23:53:21 +00:00
Darren Shepherd
7f68e1b49d Move gorouting dump handler to norman 2018-01-22 23:45:38 +00:00
Darren Shepherd
ac16cabfd1 Make conditions not modify as much 2018-01-22 23:45:38 +00:00
Daishan Peng
1e15dbfbdc fix nil pointer exceptions 2018-01-22 22:57:59 +00:00
Darren Shepherd
da40fa7b06 don't validate empty string as DNS name 2018-01-21 06:24:22 +00:00
Darren Shepherd
ef71925351 Update rate limit on the controller 2018-01-21 06:24:22 +00:00
Craig Jellick
5bfe8991b1 more collection action changes 2018-01-20 01:32:04 -07:00
Craig Jellick
990db51407 more collection action code 2018-01-20 01:12:19 -07:00
Darren Shepherd
d170661103 Add CollectionFormatter 2018-01-19 23:28:57 -07:00
Alena Prokharchyk
69d780d557 DNS label validation 2018-01-20 04:32:10 +00: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
dfade4fcef status => Status 2018-01-20 04:31:39 +00:00
Darren Shepherd
8982c1cc59 write writeOnly fields on create 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
e4d341fa65 Switch args in namespace methods 2018-01-18 23:41:45 +00:00
Darren Shepherd
986c94965f Add helper method 2018-01-18 05:42:53 +00:00
Daishan Peng
409b391766 don't return nonnullable error if default is set 2018-01-18 00:10:57 +00:00
Darren Shepherd
d4e7ad28b8 Don't check for object in collection actions 2018-01-17 23:37: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