-
Notifications
You must be signed in to change notification settings - Fork 42
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
384 new feature integrate asyncapi files #418
Open
jemacineiras
wants to merge
67
commits into
master
Choose a base branch
from
384-new-feature-integrate-asyncapi-files
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 62 commits
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
e75064f
Fixing the code
jemacineiras f64d6ff
Add Async Api GUI
jemacineiras 6bec073
Fixing the code
jemacineiras 44eea5f
Fixing the code
jemacineiras ce2315b
Add Async Api GUI
jemacineiras 8b8e673
AsyncApi integration Skeleton
jemacineiras af0f2f4
AsyncApi integration Skeleton
jemacineiras f41b94d
Merge remote-tracking branch 'origin/384-new-feature-integrate-asynca…
jemacineiras 901fe36
Merge branch 'master' into 384-new-feature-integrate-asyncapi-files
jemacineiras d2ec0c3
384 Support for reference Schemas
jemacineiras e7afd3a
340 Fix read schema file
jemacineiras b5fe862
340 Fix read schema file
jemacineiras e64d467
AsyncApi parser support
jemacineiras 55dcb94
get The Parser un and Running
jemacineiras 4f1ab29
#340 update dependencies
jemacineiras 0e429ef
#332 Fix styles and pom version
jemacineiras a8de0fc
#332 Fix styles and pom version
jemacineiras 82d1d4e
Add Async Api GUI
jemacineiras cf6eef3
Add Async Api GUI
jemacineiras 92737c2
#332 Fix checkstyle issues
jemacineiras 9650c36
#332 Fix checkstyle issues
jemacineiras 733f6e4
#332 Fix checkstyle issues
jemacineiras f46699f
#332 Fix checkstyle issues
jemacineiras 35d07da
#332 Fix checkstyle issues
jemacineiras a29c662
#332 Fix checkstyle issues
jemacineiras 7549d3a
#332 Fix checkstyle issues
jemacineiras 09acc9c
#332 Fix checkstyle issues
jemacineiras e78d570
#332 Fix checkstyle issues
jemacineiras 1b58369
#384 Add documentation
jemacineiras 1a3e419
Merge branch 'master' into 384-new-feature-integrate-asyncapi-files
jemacineiras fd6b1e3
#384 Add documentation
jemacineiras ed43cef
Fix AvroSchema cast
GraciMndzSNG d0e48dc
Merge branch 'master' into 384-new-feature-integrate-asyncapi-files
jemacineiras 55863cb
#384 merge
jemacineiras ad65f0d
#384 Fix schema key generation issues
jemacineiras ba1d97e
Fix event-api.yml and fix empty fields validation
GraciMndzSNG 565322e
Merge branch '384-new-feature-integrate-asyncapi-files' of https://gi…
GraciMndzSNG b2e5770
Fix all non-requiered and empty fields issues
GraciMndzSNG 3ac589f
#384 Fix schema key generation issues
jemacineiras 162823f
#384 Codacy issues
jemacineiras f5a3d52
#384 Codacy issues
jemacineiras adf99bc
#384 Codacy issues
jemacineiras 5a86cfe
Fix some checkstyle issues
GraciMndzSNG 167188e
Fix some checkstyle issues
GraciMndzSNG 3f75a44
Fix Codacy issues and some warnings
GraciMndzSNG ab70449
AsyncApiextractorImplTest completed
GraciMndzSNG 336ce4c
Fix Codacy issues
GraciMndzSNG 35bdb28
Fix Codacy issues
GraciMndzSNG 43317a5
AsyncApiextractorImplTest completed
GraciMndzSNG 620f676
Fix Codacy issues
GraciMndzSNG 510cecf
Merge branch 'master' into 384-new-feature-integrate-asyncapi-files
jemacineiras 5413095
Merge remote-tracking branch 'origin/384-new-feature-integrate-asynca…
jemacineiras 06d0dde
#384 fix style codacy
jemacineiras 55bd5ca
Test AsyncApiSampler
GraciMndzSNG 0a74291
AsyncApiSamplerTest issue
1f79027
"Changes"
6226e34
"Fix AsyncApiSamplerTest issues"
f1bf5ec
"Fix Codacy and Extractor issues"
3754b7c
#384 Refactor Extractor. Fix some Codacy issues
jemacineiras 82baa76
#384 Fix Codacy issues. Add license on files
jemacineiras e12d7a5
"Change AsyncApiSamplerTest"
c2cb2b2
#384 Update POM. Update Documentation.
jemacineiras 4c9d1ed
#384 Update POM. Update Documentation.
jemacineiras 3273838
#384 Update POM. Update Documentation.
jemacineiras 077e60f
#384 fix styles
jemacineiras 1c5e5e9
#384 fix styles
jemacineiras 2160a8d
#332 Merge with master
jemacineiras File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Asyncapi Support | ||
|
||
Here you can find the way to use your asyncapi.yml definition (v. 2.X.X) to produce a performance load test. | ||
The only requirement is to use the AsyncApi Sampler component. There you can load the asyncapi file into the plugin. | ||
|
||
![AsyncApi Component](images/AsyncapiComponent.png) | ||
|
||
Once the file is loaded, information will appear in the elements below. | ||
First tab you can see the broker configuration where you can choose to which broker you want to connect to. | ||
|
||
![Broker Selection](images/AsyncApiComponent-ComboBroker.png) | ||
|
||
Once the broker has been choose the data will be loaded. By default the first server configuration will be selected | ||
|
||
![Development Broker](images/AsyncApiComponent-FileLoaded.png) | ||
|
||
In order to choose which payload you want to use for the test just move to the second tab and use the combo to select which topic you want to use. | ||
As for in AsyncApi specification channel/topic contains the payload will be transmitted. | ||
|
||
![Payload configuration](images/AsyncApiComponent-SchemaLoaded.png) | ||
|
||
Data generation use the same engine that the rest of the samplers so information from [schemas page](schemas.md) apply. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
|
||
<artifactId>kloadgen</artifactId> | ||
|
||
<version>5.6.10</version> | ||
<version>5.7.0</version> | ||
|
||
<name>KLoadGen</name> | ||
<description>Load Generation Jmeter plugin for Kafka Cluster. Supporting AVRO, JSON Schema and Protobuf schema types. Generate Artificial | ||
|
@@ -225,24 +225,24 @@ | |
<timezone>Europe/Madrid</timezone> | ||
</developer> | ||
<developer> | ||
<id>nuriaricorf</id> | ||
<name>Nuria Rico Freire</name> | ||
<email>nuria.rico@sngular.com</email> | ||
<id>rabad-sng</id> | ||
<name>Raúl Abad</name> | ||
<email>raul.abad@sngular.com</email> | ||
<organization>Sngular</organization> | ||
<organizationUrl>https://sngular.github.io/</organizationUrl> | ||
<organizationUrl>https://www.sngular.com</organizationUrl> | ||
<roles> | ||
<role>Junior Developer</role> | ||
<role>Senior Backend Developer</role> | ||
</roles> | ||
<timezone>Europe/Madrid</timezone> | ||
</developer> | ||
<developer> | ||
<id>rabad-sng</id> | ||
<name>Raúl Abad</name> | ||
<email>raul.abad@sngular.com</email> | ||
<id>nuriaricorf</id> | ||
<name>Nuria Rico Freire</name> | ||
<email>nuria.rico@sngular.com</email> | ||
<organization>Sngular</organization> | ||
<organizationUrl>https://www.sngular.com</organizationUrl> | ||
<organizationUrl>https://sngular.github.io/</organizationUrl> | ||
<roles> | ||
<role>Senior Backend Developer</role> | ||
<role>Junior Developer</role> | ||
</roles> | ||
<timezone>Europe/Madrid</timezone> | ||
</developer> | ||
|
@@ -306,6 +306,27 @@ | |
<name>Roberto Riveira Veiga</name> | ||
<email>[email protected]</email> | ||
<organization>Sngular</organization> | ||
<organizationUrl>https://www.sngular.com</organizationUrl> | ||
<roles> | ||
<role>Trainee Backend Developer</role> | ||
</roles> | ||
</developer> | ||
<developer> | ||
<id>GraciMndzSNG</id> | ||
<name>Graciela Méndez Olmos</name> | ||
<email>[email protected]</email> | ||
<organization>Sngular</organization> | ||
<organizationUrl>https://sngular.github.io/</organizationUrl> | ||
<roles> | ||
<role>Backend Developer</role> | ||
</roles> | ||
<timezone>Europe/Madrid</timezone> | ||
</developer> | ||
<developer> | ||
<id>pablorodriguez-sngular</id> | ||
<name>Pablo Rodríguez Pérez</name> | ||
<email>[email protected]</email> | ||
<organization>Sngular</organization> | ||
<organizationUrl>https://sngular.github.io/</organizationUrl> | ||
<roles> | ||
<role>Backend Developer</role> | ||
|
@@ -335,7 +356,7 @@ | |
<assertj-core.version>3.24.2</assertj-core.version> | ||
<assertj-json.version>1.2.0</assertj-json.version> | ||
<jsonassert.version>1.5.1</jsonassert.version> | ||
<avro.version>1.11.2</avro.version> | ||
<avro.version>1.11.3</avro.version> | ||
<commons-beanutils.version>1.9.4</commons-beanutils.version> | ||
<commons-collections4.version>4.4</commons-collections4.version> | ||
<commons-lang3.version>3.12.0</commons-lang3.version> | ||
|
@@ -358,6 +379,8 @@ | |
<slf4j-api.version>2.0.0-alpha1</slf4j-api.version> | ||
<wiremock-junit5.version>1.3.1</wiremock-junit5.version> | ||
<wiremock.version>2.35.1</wiremock.version> | ||
<jackson-annotations.version>2.15.2</jackson-annotations.version> | ||
<jackson-dataformat-yaml.version>2.15.3</jackson-dataformat-yaml.version> | ||
</properties> | ||
|
||
<dependencies> | ||
|
@@ -395,19 +418,24 @@ | |
<dependency> | ||
<groupId>com.fasterxml.jackson.core</groupId> | ||
<artifactId>jackson-core</artifactId> | ||
<version>2.15.2</version> | ||
<version>${jackson-annotations.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.fasterxml.jackson.core</groupId> | ||
<artifactId>jackson-annotations</artifactId> | ||
<version>2.15.2</version> | ||
<version>${jackson-annotations.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.projectlombok</groupId> | ||
<artifactId>lombok</artifactId> | ||
<version>${lombok.version}</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.fasterxml.jackson.dataformat</groupId> | ||
<artifactId>jackson-dataformat-yaml</artifactId> | ||
<version>${jackson-dataformat-yaml.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.commons</groupId> | ||
<artifactId>commons-lang3</artifactId> | ||
|
@@ -686,6 +714,7 @@ | |
<artifactId>maven-checkstyle-plugin</artifactId> | ||
<configuration> | ||
<configLocation>checkstyle.xml</configLocation> | ||
<encoding>UTF-8</encoding> | ||
<consoleOutput>true</consoleOutput> | ||
<failsOnError>true</failsOnError> | ||
<linkXRef>false</linkXRef> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe Include a comment about we currently support the 2.X.X version of AsyncAPI, since they will release the 3.0.0 and in theory they will give a tool to update the yml files into the new standard without any effort.