shivkumar dudhani
b7655ae747
introduce info struct for engine responses
2019-06-25 18:16:02 -07:00
belyshevdenis
46cbbf9568
Implemented validation across same yaml
2019-06-20 18:21:55 +03:00
Denis Belyshev
21a8ac8416
Merge branch 'master' into 50-at-least-one-exist
2019-06-18 19:34:31 +03:00
Denis Belyshev
41a932bc10
Added real test for adding anchor
2019-06-18 15:02:41 +03:00
Denis Belyshev
faf1309a55
Added tests for addingKey inside lists
2019-06-18 13:51:36 +03:00
Denis Belyshev
e467b596e1
Fixed typo "anchoredEtries"
2019-06-18 13:07:55 +03:00
Denis Belyshev
1a08ab4bda
Implemented logic "Add if not exist"
2019-06-14 17:19:32 +03:00
Denis Belyshev
ed7dfb63d6
Fixed issue with nested anchors
2019-06-13 17:33:58 +03:00
Denis Belyshev
9bacfe4363
Implemented at least one exists logic
2019-06-13 17:20:00 +03:00
Denis Belyshev
5339f44504
Added comment for applyOverlayToArrayOfMaps
2019-06-12 13:12:36 +03:00
Denis Belyshev
f89168f77a
Wrote additional comments
2019-06-12 12:21:52 +03:00
Denis Belyshev
804d610fc7
Refactored overlays and updated tests. Now new element in array is added to the end
2019-06-11 16:54:19 +03:00
Denis Belyshev
7897f1db05
Refactored pattern.go
2019-06-10 17:32:26 +03:00
Denis Belyshev
c9df93ce99
Added merge of results in map validation logic
2019-06-10 17:10:05 +03:00
Denis Belyshev
97be6ad379
Added comments and refactored array processing validation logic
2019-06-10 17:07:03 +03:00
Denis Belyshev
37f895f69a
Fixed old tests on new function ResourceMeetsDescription (added the new file utils-test.go)
...
Resource representation formatted in utils-test.go
Deleted irrelevant tests from controller-test.go
Fixed an issue with registration-test.go (tests covered ExtractCA func instead of extractCA)
2019-06-07 14:46:18 +03:00
shivdudhani
200f3fce63
refactor code
2019-06-05 17:43:59 -07:00
Denis Belyshev
50610af82d
Added nil support
2019-06-05 17:35:34 +03:00
Denis Belyshev
181a1282e0
Fixed mutation by overlays
2019-06-05 16:44:53 +03:00
Denis Belyshev
8c7ea8d741
Fixed combining of results in Mutate function
2019-06-05 15:40:31 +03:00
Denis Belyshev
3add83c1fc
Fixed output of validation messages.
...
Added test whcih validates ImagePullPolicy.
2019-06-05 15:02:58 +03:00
Denis Belyshev
e571f730b2
127: Implemented usage of result package in validation and mutation functions.
2019-06-05 13:43:07 +03:00
Denys Bielyshev
55fe28d5bf
Merge pull request #140 from nirmata/117-wildcard_asterisk_fix
...
Fixed bug #117
2019-06-05 08:26:23 +01:00
Denis Belyshev
aadb3c0140
Fixed namespaces in validation_test.go
2019-06-05 10:24:18 +03:00
belyshevdenis
18842b81a1
Fixed bug #117
...
Added validation tests
2019-06-04 17:33:21 +03:00
shivdudhani
ecca97b2a0
update namespace trigger + update documentation
2019-06-03 16:02:34 -07:00
shivdudhani
2ecc1d21f7
rebase master
2019-05-31 18:31:21 -07:00
shivdudhani
183b17828e
support generation of any resource
2019-05-31 17:59:36 -07:00
shivdudhani
c205cca38b
introduce glog, remove log.logger references
2019-05-30 12:28:56 -07:00
shivdudhani
6cc4148fac
move client to pkg, helper script for self-signed certs & update documentation
2019-05-29 14:12:09 -07:00
Denis Belyshev
2a24f8dc3b
Fixed issue: null corresponds for non-existing field, 0 for ints and empty quotes for strings
2019-05-28 20:30:48 +01:00
Denis Belyshev
f57422ef79
Fixed issue when number comes from resource as string and does not being validated
2019-05-28 14:25:29 +03:00
Denis Belyshev
cde2f2b0a0
Fixed issue: string patterns always return true
2019-05-28 14:07:15 +03:00
Denis Belyshev
b42f517093
Fixed crash when checking operator on strings lesser than 2 chars
2019-05-28 13:13:57 +03:00
Denis Belyshev
22b942d229
Added bool support
2019-05-27 18:21:23 +03:00
Denis Belyshev
a85f646bd4
Removed excess Fatal log
2019-05-27 18:11:39 +03:00
Denis Belyshev
435a19152a
I have finished implementing patterns
2019-05-27 18:07:24 +03:00
Maxim Goncharenko
ac736bbf84
Written base for patterns using TDD
2019-05-27 14:46:29 +03:00
kacejot
8e73131f02
Fixed minor issue in overlay logic. Added tests
2019-05-23 19:13:39 +03:00
kacejot
18fc6d630f
Fixed: Overlay overwrites all items in the list
2019-05-23 16:31:00 +03:00
kacejot
f57cce907a
Fixed issue: Overlay was not returning error
2019-05-23 15:53:35 +03:00
kacejot
139e83c307
Merge remote-tracking branch 'refs/remotes/origin/master'
2019-05-23 14:52:12 +03:00
kacejot
7052d4bb93
Fixed issue: Overlay was not applied
2019-05-23 14:51:41 +03:00
Max Goncharenko
2bed831aff
Merge pull request #95 from nirmata/mutating-overlay
...
Fixed issue: The first element of array was always replaced
2019-05-23 10:55:08 +01:00
Max Goncharenko
feffc6238a
Update overlay.go
2019-05-23 12:51:45 +03:00
Maxim Goncharenko
8735ee7741
Fixed issue: The first element of array was always replaced
2019-05-23 12:45:56 +03:00
shivdudhani
19e137690f
resolve merge conflicts with branch release-0.1
2019-05-22 16:17:26 -07:00
kacejot
101870fb5e
Added Overlay logic to mutation handling
2019-05-22 22:54:38 +01:00
kacejot
1219063ff8
Updated unit tests
2019-05-22 22:43:19 +01:00
kacejot
09e0065d4c
Finished mutating overlay. Added several tests
2019-05-22 22:34:25 +01:00