1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-08 18:49:31 +00:00
Commit Graph

378 Commits

Author SHA1 Message Date
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
Darren Shepherd
6f8ed342d9 Cleanup channels 2018-01-17 04:49:08 +00:00
Darren Shepherd
67264fa498 Fix generator for new access control 2018-01-17 01:11:22 +00:00
Darren Shepherd
d1b13df896 Make conditions update less and communicate error better 2018-01-17 01:06:57 +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
fd47aed192 Fix checking object changes before update 2018-01-16 19:54:43 +00:00
Darren Shepherd
cdb90f4937 Only touch timestamp if the condition value actually changed 2018-01-16 19:54:43 +00:00
Darren Shepherd
e92239b78a Ensure one can read the object with an action before running actionhandler 2018-01-16 19:54:43 +00:00
Darren Shepherd
76b1e1b679 Allow lookup of object without returning it 2018-01-16 19:54:43 +00:00
Craig Jellick
905797b50f Add suport for cluster scoped controllers
Some worload controllers need to watch resoruces in the mangement plane
and react to them. But, they should only react to resources that
correspond to their cluster. This adds framework support for that.
2018-01-16 09:04:15 -07:00