Commit 49d3228
Yaml bean registry (#2339)
* add first examples
* add examples (-loadbalancing)
* add examples (-openapi)
* add examples (-orchestration)
* add examples (-route-traffic)
* add examples (-security/ntlm)
* add examples (-security/oauth2/google)
* add examples (-security)
* add examples (-websockets)
* add examples (done)
* Rename and fix yaml example test
* schema validation, moved BeanCache from core to annot
* working 'annot' tests
* fixed Router initialization
* removed exception declaration
* added child test
* added attribute test
* Add YamlSetterConflictTest
* use multiline string
* adde test
* added more tests
* code improvements
* add documentation
* fixed child element parsing where child element name is also name of setter
* imoprove
* fix examples
* switch spec to api
* fixes
* spec -> api
* Add Yaml examples (#2346)
* add first examples
* add examples (-loadbalancing)
* add examples (-openapi)
* add examples (-orchestration)
* add examples (-route-traffic)
* add examples (-security/ntlm)
* add examples (-security/oauth2/google)
* add examples (-security)
* add examples (-websockets)
* add examples (done)
* Rename and fix yaml example test
* fix examples
* switch spec to api
* fixes
* spec -> api
---------
Co-authored-by: Thomas Bayer <bayer@predic8.de>
* close InputStream
* smaller improvements
* added line numbers to parsing
* minor improvements
* spec -> api
* fix and add schema comment
* fixes
* fixed examples/tests
* yaml parsing: rm newline from string
* fix tests
* fix tests
* fix examples
* add missing conf element
* rm apis.yaml
* add apis.yaml to .gitignore
* enable additionalProperties when MCOtherAttributes is set
* add non top-level id setter to schema (e.g. for ClaimList.Scope)
* improve (see coderabbitai)
* fix toplevel properties
* fix test and improve error
* fix JSONYAMLSchemaValidator json parsing
* fix Yaml initialization order
* rm getParentProxy()
* add ProxyAware interface
* add LiCENSE
* fix setProxy for nested elements
* coderabbitai changes
* eliminate double unmarshalling
* Make tests tolerate 404 responses due to inconsistent external service behavior
* fix test
* added comment
* refactor: minor
* use ParsingContext
* extract MethodSetter
* extract NodeValidationUtils
* refactoring
* refactoring
* refactoring
* add comments and rename K8sHelperGenerator.java to Grammar
* rename fixes
* fix wrong context for structured setter
* refactor: minor
* minor: refactoring
* minor: refactoring
* minor: refactoring
* minor: refactoring
* minor: refactoring
* fix: yaml parsing tests
* fix: yaml parsing tests
* refactor: minor
* refactor: minor
* refactor: minor
---------
Co-authored-by: Christian Gördes <christian.goerdes@outlook.de>
Co-authored-by: Christian Gördes <118011644+christiangoerdes@users.noreply.github.com>
Co-authored-by: Thomas Bayer <bayer@predic8.de>1 parent c0bb65f commit 49d3228
183 files changed
Lines changed: 4726 additions & 1653 deletions
File tree
- .run
- annot
- src
- main/java/com/predic8/membrane/annot
- generator
- kubernetes
- yaml
- test
- java/com/predic8/membrane/annot
- util
- yaml
- resources
- core
- src
- main/java/com/predic8/membrane/core
- cli
- util
- config
- spring/k8s
- exceptions
- interceptor
- authentication/session
- flow
- groovy
- oauth2
- schemavalidation
- json
- server
- soap
- testservice
- kubernetes
- client
- openapi/serviceproxy
- proxies
- test/java/com/predic8/membrane/core
- config/spring/k8s
- interceptor/schemavalidation
- json
- kubernetes
- distribution
- examples
- api-testing/api-greasing
- deployment/docker
- extending-membrane
- error-handling/custom-error-messages
- if
- graphql/graphql-validation
- loadbalancing
- 1-static
- 2-dynamic
- 3-client
- 4-session
- 5-multiple
- logging
- access
- console
- csv
- json
- message-transformation
- json2xml
- replace
- transformation-using-javascript
- xml2json
- monitoring-tracing/prometheus
- openapi
- jwt-auth
- openapi-proxy
- validation-security
- validation-simple
- validation
- orchestration
- call-authentication
- call-get
- call-post
- for-loop
- routing-traffic
- content-based-router
- dynamic-routing
- internalproxy
- rewriter
- openapi
- regex
- shadowing
- throttle
- security
- access-control-list
- api-key/mongodb-api-key-store
- basic-auth/simple
- cors
- jwt/apikey-to-jwt-conversion
- login
- ntlm
- oauth2
- api
- authorization_server
- token_validator
- credentials
- authorization_server
- token_validator
- github
- google
- implicit
- authorization_server
- webserver
- membrane
- authorization_server
- client
- openid
- padding-header
- ssl-tls
- api-with-tls-pem
- api-with-tls-pkcs12
- to-backend
- templating
- json
- text
- xml
- validation
- form
- json-schema
- web-services-soap
- rest2soap-json
- rest2soap-template
- rest2soap
- sample-soap-service
- versioning-soap-xslt
- websockets
- stomp-over-websocket-intercepting
- websocket-intercepting
- websocket-stomp
- xml
- xml-validation
- xslt
- yaml-configuration
- router
- conf
- src/test/java/com/predic8/membrane
- examples
- withinternet
- config
- ssl
- withoutinternet/test
- tutorials
- advanced
- getting_started
- tutorials
- advanced
- getting-started
- json
- xml
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 38 | + | |
43 | 39 | | |
44 | 40 | | |
45 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
70 | 75 | | |
71 | 76 | | |
72 | 77 | | |
| |||
Lines changed: 23 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
39 | | - | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | | - | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| |||
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
| 118 | + | |
115 | 119 | | |
116 | 120 | | |
117 | 121 | | |
| |||
143 | 147 | | |
144 | 148 | | |
145 | 149 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
| 150 | + | |
159 | 151 | | |
160 | 152 | | |
161 | 153 | | |
162 | 154 | | |
163 | 155 | | |
164 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
165 | 171 | | |
166 | 172 | | |
167 | 173 | | |
168 | 174 | | |
169 | 175 | | |
170 | 176 | | |
171 | 177 | | |
| 178 | + | |
172 | 179 | | |
173 | 180 | | |
174 | 181 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
Lines changed: 33 additions & 67 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
146 | 108 | | |
147 | 109 | | |
148 | 110 | | |
| |||
180 | 142 | | |
181 | 143 | | |
182 | 144 | | |
183 | | - | |
| 145 | + | |
184 | 146 | | |
185 | 147 | | |
186 | 148 | | |
| |||
203 | 165 | | |
204 | 166 | | |
205 | 167 | | |
206 | | - | |
| 168 | + | |
207 | 169 | | |
208 | 170 | | |
209 | 171 | | |
210 | 172 | | |
211 | 173 | | |
212 | 174 | | |
213 | | - | |
214 | | - | |
215 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
216 | 182 | | |
217 | 183 | | |
218 | 184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| |||
34 | 32 | | |
35 | 33 | | |
36 | 34 | | |
37 | | - | |
| 35 | + | |
38 | 36 | | |
39 | 37 | | |
40 | 38 | | |
| |||
53 | 51 | | |
54 | 52 | | |
55 | 53 | | |
56 | | - | |
| 54 | + | |
57 | 55 | | |
58 | 56 | | |
59 | 57 | | |
| |||
0 commit comments