Skip to content
Merged

V0.11 #423

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
517 commits
Select commit Hold shift + click to select a range
a6ffd3a
Bump github.com/bradleyfalzon/ghinstallation/v2 from 2.10.0 to 2.11.0
dependabot[bot] Sep 6, 2024
cee6cfa
Merge pull request #322 from marle3003/dependabot/go_modules/v0.11/gi…
github-actions[bot] Sep 6, 2024
c1a803e
Bump vite from 5.4.3 to 5.4.4 in /webui
dependabot[bot] Sep 13, 2024
fdd862b
Merge pull request #341 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Sep 13, 2024
a5946b6
Bump vue from 3.5.3 to 3.5.4 in /webui
dependabot[bot] Sep 13, 2024
47702e1
Merge pull request #342 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Sep 13, 2024
4d1a5f2
Bump @playwright/test from 1.43.1 to 1.47.0 in /webui
dependabot[bot] Sep 13, 2024
52fa47d
Merge pull request #345 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Sep 13, 2024
65f4a48
Bump typescript from 5.5.4 to 5.6.2 in /webui
dependabot[bot] Sep 13, 2024
495f2d5
Merge pull request #343 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Sep 13, 2024
c3e5270
Bump vue-router from 4.4.3 to 4.4.5 in /webui
dependabot[bot] Sep 13, 2024
1cc4bf3
Merge pull request #344 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Sep 13, 2024
3ce03d5
Bump @types/node from 22.5.4 to 22.5.5 in /webui
dependabot[bot] Sep 20, 2024
0abf2c4
Merge pull request #347 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Sep 20, 2024
0f2dbcd
Bump @playwright/test from 1.47.0 to 1.47.1 in /webui
dependabot[bot] Sep 20, 2024
c9c6337
Bump eslint-plugin-vue from 9.27.0 to 9.28.0 in /webui
dependabot[bot] Sep 20, 2024
1b9ba44
Merge pull request #349 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Sep 20, 2024
60b9485
Merge pull request #350 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Sep 20, 2024
e551e5c
Bump @vitejs/plugin-vue from 5.1.3 to 5.1.4 in /webui
dependabot[bot] Sep 20, 2024
f86f4c1
Merge pull request #348 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Sep 20, 2024
0e5fc64
Bump eslint from 8.57.0 to 8.57.1 in /webui
dependabot[bot] Sep 20, 2024
d467e74
Merge pull request #351 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Sep 20, 2024
b323dba
Bump vite from 5.4.4 to 5.4.8 in /webui
dependabot[bot] Sep 27, 2024
c2a16ad
Bump vue from 3.5.4 to 3.5.9 in /webui
dependabot[bot] Sep 27, 2024
b805832
Merge pull request #353 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Sep 27, 2024
dbcee26
Merge pull request #354 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Sep 27, 2024
3a82d78
Bump @types/node from 22.5.5 to 22.7.3 in /webui
dependabot[bot] Sep 27, 2024
e3ac1f1
Bump @playwright/test from 1.47.1 to 1.47.2 in /webui
dependabot[bot] Sep 27, 2024
14a77a1
Merge pull request #355 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Sep 27, 2024
2797f23
Merge pull request #356 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Sep 27, 2024
838fab9
Bump @types/node from 22.7.3 to 22.7.4 in /webui
dependabot[bot] Oct 4, 2024
6c78905
Merge pull request #357 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Oct 4, 2024
52caa96
Bump vue from 3.5.9 to 3.5.11 in /webui
dependabot[bot] Oct 4, 2024
a5c117b
Merge pull request #358 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Oct 4, 2024
b960acf
Bump golang.org/x/net from 0.29.0 to 0.30.0
dependabot[bot] Oct 11, 2024
1a6bf5b
Merge pull request #359 from marle3003/dependabot/go_modules/v0.11/go…
github-actions[bot] Oct 11, 2024
f4b85e1
Bump eslint-plugin-vue from 9.28.0 to 9.29.0 in /webui
dependabot[bot] Oct 11, 2024
a9098d5
Bump @vue/eslint-config-prettier from 9.0.0 to 10.0.0 in /webui
dependabot[bot] Oct 11, 2024
122cb7f
Merge pull request #361 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Oct 11, 2024
b0174b7
Bump typescript from 5.6.2 to 5.6.3 in /webui
dependabot[bot] Oct 11, 2024
8cc5fe0
Merge pull request #362 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Oct 11, 2024
0db5892
Bump @playwright/test from 1.47.2 to 1.48.0 in /webui
dependabot[bot] Oct 11, 2024
d87593b
Merge pull request #363 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Oct 11, 2024
547952d
Bump @types/node from 22.7.4 to 22.7.5 in /webui
dependabot[bot] Oct 11, 2024
b538459
Merge pull request #364 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Oct 11, 2024
262e14e
Merge pull request #365 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Oct 11, 2024
7a18175
Bump @types/node from 22.7.5 to 22.7.6 in /webui
dependabot[bot] Oct 18, 2024
f15b165
Merge pull request #367 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Oct 18, 2024
404e731
Bump vue from 3.5.11 to 3.5.12 in /webui
dependabot[bot] Oct 18, 2024
409f29f
Bump vite from 5.4.8 to 5.4.9 in /webui
dependabot[bot] Oct 18, 2024
73a0736
Merge pull request #368 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Oct 18, 2024
9b9a981
Bump @playwright/test from 1.48.0 to 1.48.1 in /webui
dependabot[bot] Oct 18, 2024
c98f942
Merge pull request #369 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Oct 18, 2024
b0acecd
Merge pull request #370 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Oct 18, 2024
bedfd23
Bump del-cli from 5.1.0 to 6.0.0 in /webui
dependabot[bot] Oct 18, 2024
e53d5af
Merge pull request #366 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Oct 18, 2024
dcbcc0d
Bump @types/node from 22.7.6 to 22.7.9 in /webui
dependabot[bot] Oct 25, 2024
b63b952
Bump @vue/eslint-config-prettier from 10.0.0 to 10.1.0 in /webui
dependabot[bot] Oct 25, 2024
99a0dea
Merge pull request #371 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Oct 25, 2024
7e9e8bb
Bump eslint-plugin-vue from 9.29.0 to 9.29.1 in /webui
dependabot[bot] Oct 25, 2024
b7d7076
Merge pull request #372 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Oct 25, 2024
03f28d2
Merge pull request #373 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Oct 25, 2024
06a4c98
Bump vite from 5.4.9 to 5.4.10 in /webui
dependabot[bot] Oct 25, 2024
6d78757
Bump ace-builds from 1.36.2 to 1.36.3 in /webui
dependabot[bot] Oct 25, 2024
48742da
Merge pull request #374 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Oct 25, 2024
8c149eb
Merge pull request #375 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Oct 25, 2024
732a867
add parameter maxRedirects
marle3003 Oct 25, 2024
6f28587
improve error message
marle3003 Oct 25, 2024
841973f
improve AllOf allowing all types
marle3003 Oct 25, 2024
ece0c03
add HTML support in markdown fields in the dashboard
marle3003 Oct 29, 2024
c31624b
write info log when executing scripts
marle3003 Oct 29, 2024
1e04204
add support for schema that set no type
marle3003 Oct 29, 2024
23a6af1
fix test changed number of log messages
marle3003 Oct 29, 2024
a201862
Bump eslint-plugin-vue from 9.29.1 to 9.30.0 in /webui
dependabot[bot] Nov 1, 2024
69353c4
Bump vue-tsc from 2.1.6 to 2.1.10 in /webui
dependabot[bot] Nov 1, 2024
cfd2e3a
Merge pull request #376 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Nov 1, 2024
8212eeb
Merge pull request #377 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Nov 1, 2024
0fe85d5
Bump @types/node from 22.7.9 to 22.8.6 in /webui
dependabot[bot] Nov 1, 2024
e12def0
Merge pull request #378 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Nov 1, 2024
4312113
Bump github.com/fsnotify/fsnotify from 1.7.0 to 1.8.0
dependabot[bot] Nov 1, 2024
9232664
Merge pull request #380 from marle3003/dependabot/go_modules/v0.11/gi…
github-actions[bot] Nov 1, 2024
6009d5f
Bump golang.org/x/text from 0.19.0 to 0.20.0
dependabot[bot] Nov 8, 2024
0296f05
Merge pull request #382 from marle3003/dependabot/go_modules/v0.11/go…
github-actions[bot] Nov 8, 2024
167b922
Bump @types/node from 22.8.6 to 22.9.0 in /webui
dependabot[bot] Nov 8, 2024
c20ab31
Merge pull request #383 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Nov 8, 2024
da32622
Bump ace-builds from 1.36.3 to 1.36.4 in /webui
dependabot[bot] Nov 8, 2024
9fdb476
Merge pull request #384 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Nov 8, 2024
aa9bcb3
Bump github.com/bradleyfalzon/ghinstallation/v2 from 2.11.0 to 2.12.0
dependabot[bot] Nov 15, 2024
ed33531
Merge pull request #385 from marle3003/dependabot/go_modules/v0.11/gi…
github-actions[bot] Nov 15, 2024
19a903d
Bump @vitejs/plugin-vue from 5.1.4 to 5.2.0 in /webui
dependabot[bot] Nov 15, 2024
6040a96
Merge pull request #387 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Nov 15, 2024
f306cf4
Bump eslint-plugin-vue from 9.30.0 to 9.31.0 in /webui
dependabot[bot] Nov 15, 2024
2e490f4
Merge pull request #388 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Nov 15, 2024
044d197
Bump @vue/tsconfig from 0.5.1 to 0.6.0 in /webui
dependabot[bot] Nov 15, 2024
2eba814
Merge pull request #389 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Nov 15, 2024
7315602
Bump vite from 5.4.10 to 5.4.11 in /webui
dependabot[bot] Nov 15, 2024
c5824ba
Merge pull request #390 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Nov 15, 2024
8c58d39
Bump ace-builds from 1.36.4 to 1.36.5 in /webui
dependabot[bot] Nov 15, 2024
cf8592d
Merge pull request #391 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Nov 15, 2024
329dedf
Bump @playwright/test from 1.48.1 to 1.49.0 in /webui
dependabot[bot] Nov 22, 2024
e30c00a
Merge pull request #392 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Nov 22, 2024
2d0beea
Bump @types/node from 22.9.0 to 22.9.1 in /webui
dependabot[bot] Nov 22, 2024
39691c7
Bump vue from 3.5.12 to 3.5.13 in /webui
dependabot[bot] Nov 22, 2024
97ee67b
Merge pull request #393 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Nov 22, 2024
4c858e2
Merge pull request #394 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Nov 22, 2024
97db2ee
Bump vue-router from 4.4.5 to 4.5.0 in /webui
dependabot[bot] Nov 29, 2024
23580b0
Bump @types/node from 22.9.1 to 22.10.1 in /webui
dependabot[bot] Nov 29, 2024
316dd2c
Merge pull request #395 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Nov 29, 2024
fe22e3f
Bump prettier from 3.3.3 to 3.4.1 in /webui
dependabot[bot] Nov 29, 2024
75e0f2a
Merge pull request #396 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Nov 29, 2024
8560b1a
Merge pull request #397 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Nov 29, 2024
67a738a
Bump @vue/tsconfig from 0.6.0 to 0.7.0 in /webui
dependabot[bot] Nov 29, 2024
5e3fb37
Merge pull request #399 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Nov 29, 2024
ff35ee6
Bump typescript from 5.6.3 to 5.7.2 in /webui
dependabot[bot] Nov 29, 2024
bd1f214
Merge pull request #398 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Nov 29, 2024
38c07d9
Bump @vitejs/plugin-vue from 5.2.0 to 5.2.1 in /webui
dependabot[bot] Nov 29, 2024
a56e077
Merge pull request #400 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Nov 29, 2024
c124e6e
Bump github.com/stretchr/testify from 1.9.0 to 1.10.0
dependabot[bot] Nov 29, 2024
8850a35
Merge pull request #401 from marle3003/dependabot/go_modules/v0.11/gi…
github-actions[bot] Nov 29, 2024
90fcfaa
Bump golang.org/x/net from 0.30.0 to 0.31.0
dependabot[bot] Nov 29, 2024
4c7edaf
Merge pull request #386 from marle3003/dependabot/go_modules/v0.11/go…
github-actions[bot] Nov 29, 2024
26a739b
WIP asyncapi 3.0
marle3003 Dec 2, 2024
46f8bb0
Merge branch 'v0.11' of https://github.com/marle3003/mokapi into v0.11
marle3003 Dec 2, 2024
e24ef70
downgrade typescript due to https://github.com/vuejs/language-tools/i…
marle3003 Dec 2, 2024
4602748
Bump golang.org/x/text from 0.20.0 to 0.21.0
dependabot[bot] Dec 6, 2024
7ba9ef9
Merge pull request #402 from marle3003/dependabot/go_modules/v0.11/go…
github-actions[bot] Dec 6, 2024
1e98ff9
Bump golang.org/x/net from 0.31.0 to 0.32.0
dependabot[bot] Dec 6, 2024
b416a05
Merge pull request #403 from marle3003/dependabot/go_modules/v0.11/go…
github-actions[bot] Dec 6, 2024
c029ec3
Bump prettier from 3.4.1 to 3.4.2 in /webui
dependabot[bot] Dec 6, 2024
e14152e
Merge pull request #404 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Dec 6, 2024
d3bef5a
Bump vite from 5.4.11 to 6.0.3 in /webui
dependabot[bot] Dec 6, 2024
5174150
Bump eslint-plugin-vue from 9.31.0 to 9.32.0 in /webui
dependabot[bot] Dec 6, 2024
8517a45
Merge pull request #405 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Dec 6, 2024
e96ec23
Merge pull request #406 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Dec 6, 2024
9117064
fix image url
marle3003 Dec 8, 2024
11e6c3e
Merge remote-tracking branch 'origin/v0.11' into v0.11
marle3003 Dec 8, 2024
ceadfec
Bump @playwright/test from 1.49.0 to 1.49.1 in /webui
dependabot[bot] Dec 13, 2024
fabf28f
Bump typescript from 5.6.3 to 5.7.2 in /webui
dependabot[bot] Dec 13, 2024
26646af
Merge pull request #408 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Dec 13, 2024
c88c054
Bump @types/node from 22.10.1 to 22.10.2 in /webui
dependabot[bot] Dec 13, 2024
8b86c96
Merge pull request #409 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Dec 13, 2024
10c4f7c
Merge pull request #410 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Dec 13, 2024
00a53bd
add support for asyncapi 3.0
marle3003 Dec 15, 2024
c55376a
fix tests
marle3003 Dec 15, 2024
c0dc074
Merge remote-tracking branch 'origin/v0.11' into v0.11
marle3003 Dec 15, 2024
ce7f41d
revert typescript version
marle3003 Dec 15, 2024
60614b1
fix npm resolved url
marle3003 Dec 15, 2024
97d8485
fix test
marle3003 Dec 15, 2024
528f1e5
upgrade to golang 1.23.4
marle3003 Dec 15, 2024
dbbbc65
merge
marle3003 Dec 15, 2024
8051e04
update go version
marle3003 Dec 15, 2024
dfec9a5
improve fail message
marle3003 Dec 15, 2024
023c0b3
fix tests
marle3003 Dec 15, 2024
e838670
add JavaScript base64 encoding
marle3003 Dec 16, 2024
3702cfe
add doc
marle3003 Dec 16, 2024
9c33bf8
Merge branch 'v0.11' of https://github.com/marle3003/mokapi into v0.11
marle3003 Dec 16, 2024
1253dc0
fix doc
marle3003 Dec 16, 2024
2594282
fix and improve handling of JSON schema AllOf
marle3003 Dec 17, 2024
dc2f6a7
fix GitHub authentication
marle3003 Dec 19, 2024
196f8b1
Bump golang.org/x/net from 0.32.0 to 0.33.0
dependabot[bot] Dec 20, 2024
3f03e56
Bump vite from 6.0.3 to 6.0.4 in /webui
dependabot[bot] Dec 20, 2024
f40113e
Merge pull request #413 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Dec 20, 2024
8948acd
Bump ace-builds from 1.36.5 to 1.37.0 in /webui
dependabot[bot] Dec 20, 2024
7829002
Merge pull request #414 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Dec 20, 2024
17bbd92
fix schema patching missed fields
marle3003 Dec 20, 2024
ae7e43a
add convert tests
marle3003 Dec 20, 2024
d3bdc8b
Merge branch 'v0.11' of https://github.com/marle3003/mokapi into v0.11
marle3003 Dec 20, 2024
cfcef4a
fix missing patching compositions
marle3003 Dec 20, 2024
f365e39
fix convert tests
marle3003 Dec 20, 2024
4930fab
add oneOf tests and improve error messages
marle3003 Dec 21, 2024
0544cf1
Merge branch 'v0.11' into dependabot/go_modules/v0.11/golang.org/x/ne…
marle3003 Dec 21, 2024
2102f8b
Merge pull request #412 from marle3003/dependabot/go_modules/v0.11/go…
github-actions[bot] Dec 21, 2024
9d185aa
add more support of json schema
marle3003 Dec 25, 2024
6288895
Merge remote-tracking branch 'origin/v0.11' into v0.11
marle3003 Dec 25, 2024
40c7086
improve test stability
marle3003 Dec 25, 2024
db81b2f
change error message
marle3003 Dec 25, 2024
9306a1a
fix test
marle3003 Dec 25, 2024
4da00e9
fix header order after triggered event
marle3003 Dec 25, 2024
6315232
fix set header after triggered event
marle3003 Dec 25, 2024
9722177
extend json schema array validation
marle3003 Dec 25, 2024
05c1b24
fix json schema const
marle3003 Dec 25, 2024
4883a05
add json schema 'not'
marle3003 Dec 25, 2024
b370e82
add json schema 'dependentRequired' validation
marle3003 Dec 25, 2024
7914a8a
add json schema dependentSchemas and if-then-else
marle3003 Dec 26, 2024
e7cf129
fix and refactor anyOf
marle3003 Dec 26, 2024
17956b8
fix unevaluatedProperties for anyOf, oneOf and allOf
marle3003 Dec 26, 2024
aeb1320
improve test random order of attributes
marle3003 Dec 26, 2024
5f64c90
update OpenAPI schema and convert to JSON schema
marle3003 Dec 26, 2024
0062eb0
Bump vue-tsc from 2.1.10 to 2.2.0 in /webui
dependabot[bot] Dec 27, 2024
c78e0f6
Merge pull request #417 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Dec 27, 2024
182eb45
Bump ace-builds from 1.37.0 to 1.37.1 in /webui
dependabot[bot] Dec 27, 2024
1559f24
Merge pull request #416 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Dec 27, 2024
65ae71b
Bump typescript from 5.6.3 to 5.7.2 in /webui
dependabot[bot] Dec 27, 2024
2616674
Merge pull request #415 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Dec 27, 2024
7ae70f1
Bump vite from 6.0.4 to 6.0.6 in /webui
dependabot[bot] Dec 27, 2024
e385afe
Merge pull request #418 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Dec 27, 2024
c058076
fix patch kafka bindings
marle3003 Dec 29, 2024
97d5d4e
set default kafka schema validation to true
marle3003 Dec 30, 2024
e4b6605
Merge remote-tracking branch 'origin/v0.11' into v0.11
marle3003 Dec 30, 2024
6d4df07
add supported avro types to parser
marle3003 Dec 31, 2024
d7f699a
fix test order is random
marle3003 Dec 31, 2024
069eb72
fix update topic config: partitions and validation
marle3003 Dec 31, 2024
b4b45e6
improve kafka record validation
marle3003 Dec 31, 2024
5b2f10a
Bump github.com/bradleyfalzon/ghinstallation/v2 from 2.12.0 to 2.13.0
dependabot[bot] Jan 3, 2025
aa11320
Bump github.com/go-git/go-git/v5 from 5.12.0 to 5.13.1
dependabot[bot] Jan 3, 2025
8a909e1
Bump @types/node from 22.10.2 to 22.10.5 in /webui
dependabot[bot] Jan 3, 2025
4d6accd
add support conditional json schema in generator
marle3003 Jan 4, 2025
846b8d4
fix build error in webui
marle3003 Jan 4, 2025
a08f438
fix test
marle3003 Jan 4, 2025
bc21264
add test message
marle3003 Jan 4, 2025
c22e494
fix e2e test
marle3003 Jan 4, 2025
b468e1f
improve json unmarshal schema ref
marle3003 Jan 4, 2025
d528c4e
add build time to /api/info
marle3003 Jan 4, 2025
f7eeeb1
fix test
marle3003 Jan 4, 2025
782d428
fix e2e port for api
marle3003 Jan 4, 2025
429c6f9
fix e2e
marle3003 Jan 4, 2025
04b3e05
debug e2e
marle3003 Jan 4, 2025
d8b9662
debug e2e
marle3003 Jan 4, 2025
2bc1edb
debug e2e
marle3003 Jan 4, 2025
a2bb71b
debug e2e
marle3003 Jan 4, 2025
df944da
debug e2e
marle3003 Jan 4, 2025
9760740
debug e2e
marle3003 Jan 4, 2025
fba85f5
fix e2e
marle3003 Jan 4, 2025
b88fddd
add avro parser for json data
marle3003 Jan 5, 2025
cefbe1a
improve test stability
marle3003 Jan 5, 2025
c0730c5
Merge branch 'v0.11' into dependabot/npm_and_yarn/webui/v0.11/types/n…
marle3003 Jan 5, 2025
dc0b6a1
Merge pull request #422 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Jan 5, 2025
64036eb
Bump vite from 6.0.6 to 6.0.7 in /webui
dependabot[bot] Jan 5, 2025
da07f00
Merge pull request #421 from marle3003/dependabot/npm_and_yarn/webui/…
github-actions[bot] Jan 5, 2025
c9bd585
Merge branch 'v0.11' into dependabot/go_modules/v0.11/github.com/go-g…
marle3003 Jan 5, 2025
b6bf682
Merge pull request #420 from marle3003/dependabot/go_modules/v0.11/gi…
github-actions[bot] Jan 5, 2025
fd9557e
Merge branch 'v0.11' into dependabot/go_modules/v0.11/github.com/brad…
marle3003 Jan 5, 2025
31fcfed
Merge pull request #419 from marle3003/dependabot/go_modules/v0.11/gi…
github-actions[bot] Jan 5, 2025
99f3621
fix unmarshal json multi schema format
marle3003 Jan 5, 2025
ea524ed
Merge remote-tracking branch 'origin/v0.11' into v0.11
marle3003 Jan 5, 2025
4ff169b
fix unmarshal json without schemaformat
marle3003 Jan 5, 2025
5762815
refactor schema reuse from asyncapi3
marle3003 Jan 5, 2025
e32c75d
add support multi schema in JS produce
marle3003 Jan 5, 2025
fc101fa
fix JS produce to support multi schema format
marle3003 Jan 5, 2025
ce13af6
change log messages
marle3003 Jan 5, 2025
a30b9cd
update goreleaser
marle3003 Jan 5, 2025
5ecc827
Merge remote-tracking branch 'origin/v0.11' into v0.11
marle3003 Jan 5, 2025
10950d8
update golang
marle3003 Jan 5, 2025
6ad73b2
update golang
marle3003 Jan 5, 2025
1cc09a8
fix kafka key generation
marle3003 Jan 6, 2025
5e448cc
fix schema reference resolving
marle3003 Jan 6, 2025
f69d03f
refactoring variable names
marle3003 Jan 6, 2025
09f9e5b
fix parsing multipart/form-data
marle3003 Jan 6, 2025
3d9fe90
Merge remote-tracking branch 'origin/v0.11' into v0.11
marle3003 Jan 6, 2025
d720fed
Merge branch 'main' into v0.11
marle3003 Jan 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions .github/actions/publish-website/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,27 @@ inputs:
server:
required: true
description: ftp server
token:
required: true
description: GITHUB Token
runs:
using: "composite"
steps:
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- id: release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: marle3003/mokapi
excludes: prerelease, draft
token: ${{ inputs.token }}
- name: build website
working-directory: ./webui
run: |
npm install
npm version ${{ steps.release.outputs.release }}
npm run copy-docs
npm run build-sitemap
npm run build-website
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/run-frontend-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ runs:
run: docker load --input /tmp/mokapi.tar
shell: bash
- name: Run mokapi image
run: docker run --name mokapi --rm -d -p 8090:8090 --mount type=bind,source=$(pwd)/examples/mokapi,target=/data --env MOKAPI_Log_Level=Debug --env MOKAPI_Api_Port=8090 --env MOKAPI_Providers_File_Directory=/data ${{ inputs.image-name }}
run: docker run --name mokapi --rm -d -p 8090:8090 -p 8091:8091 --mount type=bind,source=$(pwd)/examples/mokapi,target=/data --env MOKAPI_Log_Level=Debug --env MOKAPI_Api_Port=8091 --env MOKAPI_Api_Path=/mokapi --env MOKAPI_Providers_File_Directory=/data ${{ inputs.image-name }}
shell: bash
- uses: actions/setup-node@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@ jobs:
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
server: ${{ secrets.FTP_SERVER }}
token: ${{ secrets.GITHUB_TOKEN }}

45 changes: 0 additions & 45 deletions .github/workflows/beta.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.20.1
go-version: 1.23.4

- name: Check out code
uses: actions/checkout@v2
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
with:
username: marle3003
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20.1
go-version: 1.23.4
- uses: actions/setup-node@v4
with:
node-version: 20
Expand All @@ -35,12 +35,13 @@ jobs:
env:
CGO_ENABLED: 0
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
- name: Publish npm
run: task publish-npm-package VERSION=${GITHUB_REF##*/v}
env:
Expand All @@ -49,9 +50,9 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20.1
go-version: 1.23.4
- uses: actions/setup-node@v4
with:
node-version: 20
Expand All @@ -64,7 +65,7 @@ jobs:
env:
CGO_ENABLED: 0
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release -f .goreleaser.windows.yml --clean
Expand Down
2 changes: 2 additions & 0 deletions .goreleaser.windows.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
version: 2
project_name: mokapi
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -X mokapi/version.BuildVersion={{ .Version }}
- -X mokapi/version.BuildTime={{ .Date }}
main: ./cmd/mokapi
goos:
- windows
Expand Down
13 changes: 11 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
version: 2
project_name: mokapi
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -X mokapi/version.BuildVersion={{ .Version }}
- -X mokapi/version.BuildTime={{ .Date }}
main: ./cmd/mokapi
goos:
- linux
Expand All @@ -25,14 +27,21 @@ dockers:
image_templates:
- "mokapi/mokapi:latest"
- "mokapi/mokapi:{{ .Tag }}"
dockerfile: Dockerfile-linux
dockerfile: images/release-alpine.Dockerfile
use: buildx
- goos: linux
goarch: amd64
image_templates:
- "mokapi/mokapi:noble"
- "mokapi/mokapi:{{ .Tag }}-noble"
dockerfile: images/release-ubuntu.Dockerfile
use: buildx

brews:
- repository:
owner: marle3003
name: homebrew-tap
directory: Formula
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
homepage: https://mokapi.io
description: "Easy and flexible API mocking using Go and Javascript - https://mokapi.io"

Expand Down
33 changes: 0 additions & 33 deletions .goreleaser_beta.yml

This file was deleted.

5 changes: 0 additions & 5 deletions Dockerfile-windows

This file was deleted.

1 change: 1 addition & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ tasks:
cmds:
- npm run clean
- npm run copy-docs
- npm version {{.VERSION}}
- npm run build
build-npm-package:
deps: [build-vue-app]
Expand Down
4 changes: 1 addition & 3 deletions acceptance/acceptance_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
package acceptance

import (
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"
"io"
"mokapi/acceptance/cmd"
"mokapi/config/static"
"mokapi/runtime/events"
Expand All @@ -25,7 +23,7 @@ type BaseSuite struct {
}

func (suite *BaseSuite) initCmd(cfg *static.Config) {
logrus.SetOutput(io.Discard)
//logrus.SetOutput(io.Discard)

events.SetStore(20, events.NewTraits().WithNamespace("http"))
events.SetStore(20, events.NewTraits().WithNamespace("kafka"))
Expand Down
30 changes: 24 additions & 6 deletions acceptance/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ import (
"mokapi/config/dynamic/mail"
"mokapi/config/static"
"mokapi/engine"
"mokapi/feature"
"mokapi/providers/asyncapi3"
"mokapi/providers/openapi"
"mokapi/providers/swagger"
"mokapi/runtime"
"mokapi/safe"
"mokapi/server"
"mokapi/server/cert"
"mokapi/version"
)

type Cmd struct {
Expand All @@ -33,6 +36,8 @@ func Start(cfg *static.Config) (*Cmd, error) {
return nil, errors.New("static configuration Services are no longer supported. Use patching instead.")
}

feature.Enable(cfg.Features)

registerDynamicTypes()
app := runtime.New()

Expand All @@ -42,7 +47,7 @@ func Start(cfg *static.Config) (*Cmd, error) {
if err != nil {
return nil, err
}
scriptEngine := engine.New(watcher, app, cfg.Js, true)
scriptEngine := engine.New(watcher, app, cfg, true)

http := server.NewHttpManager(scriptEngine, certStore, app)
kafka := server.NewKafkaManager(scriptEngine, app)
Expand Down Expand Up @@ -87,9 +92,22 @@ func (cmd *Cmd) Stop() {
}

func registerDynamicTypes() {
dynamic.Register("openapi", &openapi.Config{})
dynamic.Register("asyncapi", &asyncApi.Config{})
dynamic.Register("swagger", &swagger.Config{})
dynamic.Register("ldap", &directory.Config{})
dynamic.Register("smtp", &mail.Config{})
dynamic.Register("openapi", func(v version.Version) bool {
return true
}, &openapi.Config{})
dynamic.Register("asyncapi", func(v version.Version) bool {
return v.Major == 2
}, &asyncApi.Config{})
dynamic.Register("asyncapi", func(v version.Version) bool {
return v.Major == 3
}, &asyncapi3.Config{})
dynamic.Register("swagger", func(v version.Version) bool {
return true
}, &swagger.Config{})
dynamic.Register("ldap", func(v version.Version) bool {
return true
}, &directory.Config{})
dynamic.Register("smtp", func(v version.Version) bool {
return true
}, &mail.Config{})
}
2 changes: 1 addition & 1 deletion acceptance/ldap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type LdapSuite struct {

func (suite *LdapSuite) SetupSuite() {
cfg := static.NewConfig()
cfg.Providers.File.Directory = "./ldap"
cfg.Providers.File.Directories = []string{"./ldap"}
suite.initCmd(cfg)
// ensure scripts are executed
time.Sleep(2 * time.Second)
Expand Down
7 changes: 3 additions & 4 deletions acceptance/mail_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@ type MailSuite struct{ BaseSuite }

func (suite *MailSuite) SetupSuite() {
cfg := static.NewConfig()
cfg.Providers.File.Directory = "./mail"
cfg.Providers.File.Directories = []string{"./mail"}
suite.initCmd(cfg)
}

func (suite *MailSuite) TestSendMail() {
ca, err := cert.DefaultRootCert()
require.NoError(suite.T(), err)
ca := cert.DefaultRootCert()

err = smtptest.SendMail("from@foo.bar",
err := smtptest.SendMail("from@foo.bar",
"rcipient@foo.bar",
"smtps://localhost:8025",
smtptest.WithSubject("Test Mail"),
Expand Down
4 changes: 2 additions & 2 deletions acceptance/petstore/petstore.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import {on} from 'mokapi'
import kafka from 'mokapi/kafka'

export default function() {
export default async function() {
on('kafka', function (record) {
record.headers = { foo: 'bar' }
})
kafka.produce({ topic: 'petstore.order-event' })
on('http', function(request, response) {
if (request.operationId === "getPetById") {
switch (request.path.petId) {
Expand All @@ -30,4 +29,5 @@ export default function() {
}
return false
});
await kafka.produceAsync({ topic: 'petstore.order-event', messages: [{partition: 0}] })
}
Loading
Loading