Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: 3.0.0 initial tests #540

Merged
merged 114 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
8732954
test(definitions): Info
Pakisan May 21, 2024
4d4124a
test(definitions): contact
Pakisan May 21, 2024
f13ea3e
test(definitions): license
Pakisan May 21, 2024
127fd23
test(definitions): reference
Pakisan May 21, 2024
e6a89a4
test(definitions): fix license test name
Pakisan May 21, 2024
e5726e9
test(definitions): reference object
Pakisan May 21, 2024
7c8ad0a
test(definitions): info extensions
Pakisan May 21, 2024
029003e
test(definitions): apiKey security schema
Pakisan May 21, 2024
5dffc5b
test(definitions): asymmetric encryption
Pakisan May 21, 2024
a79c607
test(definitions): gss-api
Pakisan May 21, 2024
e7097cc
test(definitions): openId connect
Pakisan May 21, 2024
66865d1
test(definitions): plain
Pakisan May 21, 2024
4a85696
test(definitions): SCRAM-SHA-256
Pakisan May 21, 2024
26f1ae7
test(definitions): SCRAM-SHA-512
Pakisan May 21, 2024
73dfdfd
test(definitions): symmetric encryption
Pakisan May 21, 2024
ef8e631
test(definitions): user password
Pakisan May 21, 2024
9703da7
test(definitions): x509
Pakisan May 21, 2024
18478b4
test(definitions): HTTP API Key
Pakisan May 21, 2024
15104d1
test(definitions): HTTP Bearer
Pakisan May 21, 2024
01a4ce7
test(definitions): http basic
Pakisan May 21, 2024
97f2e91
test(definitions): http security scheme
Pakisan May 22, 2024
6f30129
test(definitions): sasl security scheme
Pakisan May 22, 2024
32c4733
test(definitions): oauth2
Pakisan May 22, 2024
0b248c9
test(definitions): move models to models dir
Pakisan May 22, 2024
6187a47
test(definitions): regroup models
Pakisan May 23, 2024
f9457b0
test(definitions): channel
Pakisan May 23, 2024
f3914cb
test(definitions): server
Pakisan May 23, 2024
b36845e
test(definitions): operation
Pakisan May 23, 2024
c9f9810
test(definitions): tag
Pakisan May 23, 2024
d7d2106
test(definitions): add example test
Pakisan May 23, 2024
00c3025
test(definitions): add example test
Pakisan May 23, 2024
a7dd009
fix: error Missing semicolon semi
Pakisan May 23, 2024
4bb28ba
test(definitions): refactor structure
Pakisan May 26, 2024
b88325d
test(definitions): vitest and remove relative paths
Pakisan May 26, 2024
ec7a806
test(definitions): bindings
Pakisan May 27, 2024
d4634a4
test(definitions): bindings
Pakisan May 27, 2024
0c73830
test(definitions): bindings
Pakisan May 28, 2024
224f08a
test(definitions): remove debug logs
Pakisan May 28, 2024
0febb6b
test(definitions): TestHelper.validator
Pakisan May 28, 2024
5b3b904
test(definitions): use common test methods
Pakisan May 30, 2024
6ed5b8d
test(definitions): use common test methods
Pakisan May 30, 2024
bae4f8c
test(definitions): remove mocha and common test logic
Pakisan May 31, 2024
7e1b3f4
test(definitions): enable Should be able to validate
Pakisan May 31, 2024
d2ab58c
test(definitions): enable Should be able to validate
Pakisan May 31, 2024
9bfdabb
test(definitions): enable Bindings
Pakisan May 31, 2024
e7691da
test(definitions): Bindings Test Suite
Pakisan Jun 2, 2024
0e15db2
test(definitions): Security Schemes Test Suite
Pakisan Jun 2, 2024
f2e4ae7
test(definitions): Models Test Suite
Pakisan Jun 2, 2024
6cc2bb5
test(definitions): Test Suites
Pakisan Jun 2, 2024
8ec723d
test(definitions): fix linter issues
Pakisan Jun 2, 2024
291f066
test(definitions): fix linter issues
Pakisan Jun 2, 2024
c3e0af3
test(definitions): Reference new tests description
Pakisan Jun 6, 2024
50656e1
test(definitions): Server new tests description
Pakisan Jun 6, 2024
ee748ca
test(definitions): Tag new tests + description
Pakisan Jun 6, 2024
85f6522
test(definitions): Contact test review
Pakisan Jun 12, 2024
ac929b6
test(definitions): Info test review
Pakisan Jun 12, 2024
b260532
Merge branch 'master' into test/definitions
smoya Jun 13, 2024
ac4493b
Merge remote-tracking branch 'origin/test/definitions' into test/defi…
Pakisan Jun 13, 2024
ade8132
test(definitions): Info properties test
Pakisan Jun 13, 2024
e930ef1
test(definitions): use .each for amqp tests
Pakisan Jun 14, 2024
ce4bd27
test(definitions): use .each for anypointmq tests
Pakisan Jun 14, 2024
4dfb78c
test(definitions): use .each for googlepubsub tests
Pakisan Jun 14, 2024
cf29628
test(definitions): use .each for http tests
Pakisan Jun 14, 2024
b1d0f90
test(definitions): use .each for ibmmq tests
Pakisan Jun 14, 2024
368f0fd
test(definitions): use .each for jms tests
Pakisan Jun 14, 2024
0c42257
test(definitions): use .each for kafka tests
Pakisan Jun 14, 2024
6a26266
test(definitions): use .each for mqtt tests
Pakisan Jun 14, 2024
2f16869
test(definitions): use .each for nats tests
Pakisan Jun 14, 2024
234d615
test(definitions): use .each for pulsar tests
Pakisan Jun 14, 2024
06aa967
test(definitions): remove debug log
Pakisan Jun 14, 2024
ec4245c
test(definitions): uncomment schema imports
Pakisan Jun 14, 2024
81c31f2
test(definitions): use .each for sns tests
Pakisan Jun 14, 2024
079f853
test(definitions): use .each for solace tests
Pakisan Jun 14, 2024
2319846
test(definitions): use .each for sqs tests
Pakisan Jun 14, 2024
a309199
test(definitions): fix sns tests name
Pakisan Jun 14, 2024
2598143
test(definitions): fix websockets tests name
Pakisan Jun 14, 2024
71a4389
test(definitions): use pattern to launch bindings tests
Pakisan Jun 14, 2024
c34cecf
test(definitions): renames bundler and schemas test files
Pakisan Jun 14, 2024
d456dd9
test(definitions): delete unused websockets test data
Pakisan Jun 15, 2024
1817796
test(definitions): try to fix Unknown variable dynamic import on Windows
Pakisan Jun 15, 2024
46efe45
test(definitions): try to fix Unknown variable dynamic import on Windows
Pakisan Jun 15, 2024
b7b3af1
test(definitions): try to fix Unknown variable dynamic import on Windows
Pakisan Jun 15, 2024
66bcced
test(definitions): http security tests
Pakisan Jun 15, 2024
1e10bff
test(definitions): http security tests
Pakisan Jun 15, 2024
74b97ee
test(definitions): refactor security tests
Pakisan Jun 15, 2024
56293bd
test(definitions): refactor security tests
Pakisan Jun 15, 2024
03fde74
test(definitions): info new tests structure
Pakisan Jul 2, 2024
2eff358
test(definitions): tag, server, reference new tests structure
Pakisan Jul 2, 2024
39b1754
test(definitions): operation new tests structure
Pakisan Jul 24, 2024
7c909a7
test(definitions): channel new tests structure
Pakisan Jul 24, 2024
cfab401
Merge pull request #1 from Pakisan/test/extend-test-cases
Pakisan Jul 24, 2024
4e260d4
test(definitions): oauth2 flows new tests structure
Pakisan Jul 25, 2024
9ac59bc
test(definitions): remove obsolete test suite
Pakisan Jul 25, 2024
5ef1ed6
Merge pull request #2 from Pakisan/test/extend-test-cases
Pakisan Jul 25, 2024
e108553
test(definitions): amqp bindings new tests structure
Pakisan Jul 25, 2024
ac48407
test(definitions): Anypoint MQ bindings new tests structure
Pakisan Jul 25, 2024
374dd7a
test(definitions): Google Pub/Sub bindings new tests structure
Pakisan Jul 25, 2024
4f39aa0
test(definitions): HTTP bindings new tests structure
Pakisan Jul 25, 2024
3a06a07
test(definitions): IBM MQ bindings new tests structure
Pakisan Jul 26, 2024
d89bd57
test(definitions): JMS bindings new tests structure
Pakisan Jul 26, 2024
51cd022
test(definitions): Kafka bindings new tests structure
Pakisan Jul 26, 2024
dcfdd58
test(definitions): MQTT bindings new tests structure
Pakisan Jul 26, 2024
090496d
test(definitions): NATS bindings new tests structure
Pakisan Jul 26, 2024
4f0cbf3
test(definitions): Pulsar bindings new tests structure
Pakisan Jul 26, 2024
e1c3624
test(definitions): Amazon SNS bindings new tests structure
Pakisan Jul 26, 2024
cf979d5
test(definitions): Solace bindings new tests structure
Pakisan Jul 26, 2024
077e01a
test(definitions): Amazon SQS bindings new tests structure
Pakisan Jul 26, 2024
37503ab
test(definitions): WebSockets bindings new tests structure
Pakisan Jul 26, 2024
ba14458
Merge pull request #3 from Pakisan/test/extend-test-cases
Pakisan Jul 26, 2024
7b41223
Merge branch 'master' into test/definitions
Pakisan Sep 2, 2024
c206a1d
test: disable tests, blocked by schema patches
Pakisan Sep 2, 2024
392c1a5
test: exclude test folder from Sonar
Pakisan Sep 2, 2024
d281233
Merge branch 'test/extend-test-cases' into test/definitions
Pakisan Sep 2, 2024
defb236
test: proper disabling of Operation Reply test
Pakisan Sep 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
env:
node: true
es6: true
mocha: true
browser: true

plugins:
Expand Down
2 changes: 1 addition & 1 deletion .sonarcloud.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sonar.exclusions=tools/**/*
sonar.exclusions=tools/**/*,test/**/*
2 changes: 1 addition & 1 deletion definitions/3.0.0/Reference.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://asyncapi.com/definitions/3.0.0/Reference.json"
}
}
4 changes: 2 additions & 2 deletions definitions/3.0.0/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"description": "The object provides metadata about the API. The metadata can be used by the clients if needed.",
"allOf": [
{
{
"type": "object",
"required": ["version", "title"],
"additionalProperties": false,
Expand Down Expand Up @@ -70,4 +70,4 @@
},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://asyncapi.com/definitions/3.0.0/info.json"
}
}
12 changes: 12 additions & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"paths": {
"@extensions/*": ["./extensions/*"],
"@examples/*": ["./examples/*"],
"@definitions/*": ["./definitions/*"],
"@bindings/*": ["./bindings/*"],
"@common/*": ["./common/*"],
"@test/*": ["./test/*"]
}
}
}
Loading
Loading