Darren Shepherd
ee25c89cfd
More mappers
2018-02-27 15:20:09 -07:00
Alena Prokharchyk
ef95950ff9
Transfrom fix
2018-02-27 10:16:20 -07:00
Darren Shepherd
47b787887b
Delete unused code
2018-02-26 16:14:39 -07:00
Darren Shepherd
2a6c821309
Add subContext data to validation
2018-02-26 16:14:39 -07:00
Alena Prokharchyk
5bce948e06
Merge pull request #100 from alena1108/feb26
...
Translate field to annotation only when not nil
2018-02-26 12:02:31 -08:00
Alena Prokharchyk
50be08fe26
Translate field to annotation only when not nil
2018-02-26 11:29:35 -08:00
Darren Shepherd
2399924e8c
Marshal default to correct type
2018-02-22 08:23:39 -07:00
Darren Shepherd
ad73d37172
Update vendor
2018-02-20 12:51:55 -07:00
Darren Shepherd
3985a73858
Add leader election wrapper
2018-02-20 12:51:55 -07:00
Craig Jellick
193c79e3fb
Merge pull request #97 from cjellick/api-errors
...
API error improvements
2018-02-15 17:04:48 -07:00
Craig Jellick
daaccc2c2c
API error improvements
...
Log underlying causes of APIErrors (if it is available).
Also, some general cleanup.
2018-02-15 17:01:31 -07:00
Alena Prokharchyk
6753a90143
Options to transformer
2018-02-15 09:58:09 -07:00
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